(Face Recognizer) error 0020: Identifier problems
I am still quite new to OpenCV and i don't really know what functions am i suppose to call. Anyone can help by telling me what i should define? Thanks.
Error i got is:
identifier "createFisherFaceRecognizer" is undefined
'createFisherFaceRecognizer'identifier not found
facerecognizer.cpp:
#include "opencv2/core.hpp"
#include "C:/OpenCV/build/include/opencv2/face.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/objdetect.hpp"
#include <iostream>
#include <fstream>
#include <sstream>
using namespace cv;
using namespace cv::face;
using namespace std;
... line which got error:
// Create a FaceRecognizer and train it on the given images:
Ptr<FaceRecognizer> model = createFisherFaceRecognizer();