can anybody please help me how to count our face in face detection
please help me to solve it....
-1 downvote because this really is one of the worst questions ever seen, read the faq on how to improve your questions in the near feature!
As to your problem. The facedetection software in OpenCV is the cascade classifier approach by Viola and Jones. If you used that than on a certain moment, you supply a vector<Rect> objects
element to contain the detections. The total amount of face detections can be retrieved by calling int detection_number = objects.size()
.
Good luck!
Asked: 2015-03-08 16:39:36 -0600
Seen: 202 times
Last updated: Mar 09 '15
Could you elaborate your task and edit you question? Do you want to count number of faces in a scene? or Do you want to count occurrence of your face from a video of specific duration? Be detail while posting question in order to provide better replies.