Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

"I installed opencv-2.4.9. Is this the problem?" - yes, it seems the samply you're trying is for 3.0..

for 2.4.9, use(this example) and:

 #include "opencv2/contrib/contrib.hpp"

if you use 3.0, get the opencv_contrib repo, and

 #include "opencv2/face.hpp"

"I installed opencv-2.4.9. Is this the problem?" - yes, it seems the samply sample you're trying is for 3.0..

for 2.4.9, use(this example) and:

 #include "opencv2/contrib/contrib.hpp"

if you use 3.0, get the opencv_contrib repo, and

 #include "opencv2/face.hpp"