Ask Your Question

Revision history [back]

For OpenCV, FaceRecognizer class is not found on Ubuntu.

I am using java for this but FaceRecognizer class is not detected.
I got some hint for this, in ubuntu when we use cmake command for building opencv-contrib it generates java folder but in ubuntu, there is no java folder in module directory. is that where something going wrong??
If it is the reason, somewhere someone has posted a solution for that
https://github.com/opencv/opencv_contrib/blob/master/modules/face/CMakeLists.txt#L2

In this link, CMakeLists.txt is added with some lines and running the cmake command and compiling it is also not working.
Could you please post the solution.
Thank you.