Ask Your Question

Revision history [back]

How to compile the example "facerec_video.cpp"?

Hello. I got some problems to compile the example "Face Recognition in Videos with OpenCV" (problem with facerec_video.cpp). The problem is that i don't understand where is the "include files"

#include "opencv2/core.hpp"
#include "opencv2/face.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/objdetect.hpp"

I installed opencv-2.4.9. Is this the problem? In /usr/local/include i found the opencv2 folder with all the header files. Really there was some differences: core.hpp was in opencv2/core/core.hpp, highgui.hpp in opencv2/highgui/highgui.hpp and so on but can't find face.hpp.

Help me please!