Ask Your Question

Revision history [back]

unable to detect face using example code (objectDetection.cpp) give in opencv 2.4.9

I am using opencv 2.4.9 and visual studio 2010. I have pasted haarcascade_eye_tree_eyeglasses.xml and haarcascade_frontalface_alt.xml in project directory. The program builds successfully, webcam turns ON but an empty output window appears when I run the code. I even tried giving full path of xml files but that dint help.