Ask Your Question

Revision history [back]

Can anyone compile this very simple OpenCV C++ script?

I am playing with face detection in OpenCV. I found this very simple Windows command line program someone coded:

http://www.semanticmetadata.net/2012/03/13/face-detection-convenience-command-line-utility-for-windows/

You just run a command like "facedetect.exe myimage.jpg" and it spits out the coordinates and dimensions of every found face.

The executable works fine, but I have been unable to get the source code to compile. I'd like to be able to adjust which Haar Cascade XML files it looks at.

As I said, it's a very simple script -- just one CXX file. I would not be surprised if there was little trouble in compiling it. I would very much appreciate it if someone knows how to adjust the XMLs and compile it for me! (I have been unable to contact the author.)

Thanks a lot!