Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cascade Classifier example not working

Hi all, Im new to Opencv and was trying to run the object detection tutorial using cascade classifier. link here to tutorial link text

I can get the project to compile and run perfectly except it does not show the circles when going into the detectAndDisplay function.

When I use breakpoints to find out why. It shows that the vector<rect> faces is empty. So the for loops never execute and they dont draw the circles around a face.

I wonder if there is something missing here? Im trying to figure out how use detectMultiScale() but cant find examples.

Any help would be much appreciated. Sonny