1 | initial version |
-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!