Ask Your Question

andrei.mihajlovic's profile - activity

2017-01-05 06:00:52 -0600 received badge  Taxonomist
2014-10-13 07:31:13 -0600 answered a question How to compile the example "facerec_video.cpp"?

I solve the problem by making a clean up. The problem was that i installed opencv from repo and than from source (cmake/make/make install). So i solve by removing the 'form source version' of opencv.

To compile (facerec_video.cpp v2.4.9 here) i use opencv from repo and run:

g++ `pkg-config --cflags opencv` -o facerec_video facerec_video.cpp `pkg-config --libs opencv`

Thanks for help!

2014-10-05 21:30:37 -0600 asked a question 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!