Ask Your Question

Revision history [back]

Face Detection using CascadeClassifier

I have been looking up a tutorial using the cascadeClassifier class for detecting faces through a webcam, but I would like to modify it to detect faces in an image

The Tutorial is here: http://docs.opencv.org/2.4/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html

Should I be using this class? Is there something better that OpenCV offers I can use? How can I modify this code to be compatible with 2D images? I would like to use Viola and Jones boosted cascade approach