Ask Your Question

meg123's profile - activity

2015-08-02 12:36:56 -0600 received badge  Enthusiast
2015-08-01 12:03:23 -0600 commented question Unable to include modules from opencv_contrib. fatal error: opencv2/face.hpp

yes I ran a make install

2015-08-01 11:35:49 -0600 asked a question Unable to include modules from opencv_contrib. fatal error: opencv2/face.hpp

I installed the latest version of opencv (OpenCv 3.0.0 Beta). I downloaded the opencv_contrib module and built it with opencv by doing a cmake (by following the instructions in the readme https://github.com/itseez/opencv_contrib). The build happened successfully. I wrote a simple program which uses creates a BasicFaceRecognizer model. However, when I compile my program I get the following error message fatal error: opencv2/face.hpp: No such file or directory #include"opencv2/face.hpp"

2015-06-19 21:42:35 -0600 commented question I am encounterring an error with the opencv contrib.hpp

Looks like that was the problem. It was one installation but the files got copied in two places. So I deleted them from one place and now the problem is resolved. Thanks.

2015-06-18 01:00:40 -0600 asked a question I am encounterring an error with the opencv contrib.hpp

Whenever I do an #include "opencv2/contrib/contrib.hpp", I am unable to compile my program. I get errors like

In file included from /usr/local/include/opencv2/imgproc/imgproc.hpp:48:0, from /usr/include/opencv2/contrib/contrib.hpp:47, from /home/user1/opencv_practice/DisplayVideo.cpp:6: /usr/local/include/opencv2/imgproc.hpp:3740:5: note: previous declaration ‘cv::ColormapTypes COLORMAP_WINTER’ COLORMAP_WINTER = 3, //!< winter ^

This is related to http://answers.opencv.org/questions/5.... Please help.