Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Problem with building opencv_contrib. Cannot find file face.hpp.

$
0
0
I want to use FaceRecognizer class. [As far as I know](http://answers.opencv.org/question/73361/identifier-facerecognizer-is-undefined-opencv-300/), it's not present in OpenCV 3.* versions, so I need to build [opencv_contrib](https://github.com/opencv/opencv_contrib) repository to be able to use it in my projects. Unfortunately something went wrong, I've built it, but I still can't find `face.hpp` file in libraries folder. Here is what I've done to build it: This is where I installed OpenCV and how it looks like: ![image description](/upfiles/14836463204096384.png) This is where I've copied `opecv_contrib` and how it looks like on my drive: ![image description](/upfiles/1483646151327577.png) This is how I configured cmake-gui it build new libraries: ![image description](/upfiles/1483646287669208.png) When I try to include face.hpp in my code: `#include "opencv2/face.hpp"` I see: `cannot open source file "opencv2/face.hpp"` and `identifier "FaceRecognizer" is undefined`. Am I doing something wrong?

Viewing all articles
Browse latest Browse all 19555

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>