Code
sprite = Sprite('Tobi')
fd = FaceDetection()
# Enable Bounding Box on the stage
fd.enablebox()
# Set Theshold of the stage
fd.setthreshold(0.9)
fd.analysestage()
sprite.say(str(fd.count()) + " Faces Detected")
Output


Programming Mode: Python Coding
Extensions/Library Used:
Publish Date: July 24, 2022
sprite = Sprite('Tobi')
fd = FaceDetection()
# Enable Bounding Box on the stage
fd.enablebox()
# Set Theshold of the stage
fd.setthreshold(0.9)
fd.analysestage()
sprite.say(str(fd.count()) + " Faces Detected")


Copyright 2025 – Agilo Research Pvt. Ltd. All rights reserved – Terms & Condition | Privacy Policy