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:

This is where I've copied `opecv_contrib` and how it looks like on my drive:

This is how I configured cmake-gui it build new libraries:

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?
↧