Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

identifier "FaceRecognizer" is undefined OpenCV 3.0.0

$
0
0
Hi Friends I need to use the following code via OpenCV 3.0.0 but it's not accepted by compiler and this error appears, In fact, when I use OpenCV 2.4 it doesn't appear and it can be detected. I don't know which header I should include that I didn't! here is an abstract of my code (via opencv 3.0.0): #include "opencv2/core.hpp" #include "stdafx.h" #include "opencv2\imgproc\imgproc.hpp" #include #include #include #include "opencv2\core\core.hpp" #include "opencv2\highgui\highgui.hpp" #include "opencv2\objdetect\objdetect.hpp" #include "opencv2\opencv.hpp" using namespace cv; using namespace std; main() { ... Ptr model = createFisherFaceRecognizer(); //it doesn't detect FaceRecognizer model->train(images, labels); ... }

Viewing all articles
Browse latest Browse all 41027

Trending Articles