installing extra modules
Hi there, I am facing the same problem. But i am little confused with the instructions.
$ cd <opencv_build_directory>
$ cmake -DOPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules <opencv_source_directory>
$ make -j5
which is build directory, opencv contrib and opencv source directoy. As far as i am able to get it
build_directory:- is directory in which i made the build folder while installing opencV. in my case it will be "Downloads/opencv-3.0.0-rc1/build"
opencv_contrib :- is the folder which i downloaded from git. in my case "Downloads/opencv_contrib-master"
source_directory :- i am not getting any clue here,my guess is its in "usr/local/include/opencv2" ??
I have tried options but nothing seem to solve my problem.
Please help me out here. Thank you
guidance or explanation of what exactly is happening would be also of great help. thank you
I installed the modules successfully. But still i am getting the same error.. ie:It have not solved the problem i was originally facing,which is error: ‘FaceRecognizer’ was not declared in this scope cv::Ptr<facerecognizer> model, mouthModel;
To which i was suggested to install the extra modules. But that doesnt seem to help either.
Ptr<face::FaceRecognizer> reco = face::createLBPHFaceRecognizer();
I actually tried that, but i get the following error.
error: ‘face’ cannot appear in a constant-expression cv::Ptr<face::facerecognizer> model, mouthModel;
rather start a new question for that, and show the relevant code ?
Ok....I was thinking of the same. Thank you. Appreciate your prompt reply :-)
@berak No extra modules found in folder: /Downloads/opencv_contrib-master/modules . What has happened ??