The function returns whether the number of objects identified with the specified object class.
The project detects the number of faces detected on the stage.
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


























