Ask Your Question
-1

can anybody please help me how to count our face in face detection

asked 2015-03-08 16:39:36 -0600

please help me to solve it....

edit retag flag offensive close merge delete

Comments

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.

Spark gravatar imageSpark ( 2015-03-09 02:51:54 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-09 07:38:04 -0600

-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!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-03-08 16:39:36 -0600

Seen: 199 times

Last updated: Mar 09 '15