Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  1. please do not try to modify the #include like that. you'll have to use #include "opencv2/face.hpp" and the path to the containing folder has to go into the "Additional Include Paths" of your VS project. it also should point to where you installed your opencv libs (which is probably like: c:/somewhere/opencv/build/install/include), not to the src repository

  2. you have to use the cv::face namespace: Ptr<face::FaceRecognizer> model = face::createFisherFaceRecognizer();

  3. look at tutorials , (before asking, probably)

  1. please do not try to modify the #include like that. you'll have to use #include "opencv2/face.hpp" and the path to the containing folder has to go into the "Additional Include Paths" of your VS project. it also should point to where you installed your opencv libs (which is probably like: c:/somewhere/opencv/build/install/include), not to the src repository

  2. you have to use the cv::face namespace: Ptr<face::FaceRecognizer> model = face::createFisherFaceRecognizer();

  3. look at tutorials , (before asking, probably)

  1. please do not try to modify the #include like that. you'll have to use #include "opencv2/face.hpp" and the path to the containing folder has to go into the "Additional Include Paths" of your VS project. it also should point to where you installed your opencv libs (which is probably like: c:/somewhere/opencv/build/install/include), not to the src repository

  2. you have to use the cv::face namespace: Ptr<face::FaceRecognizer> model = face::createFisherFaceRecognizer();

  3. look at tutorials

  1. please do not try to modify the #include like that. you'll have to use #include "opencv2/face.hpp" and the path to the containing folder has to go into the "Additional Include Paths" of your VS project. it also should point to where you installed your opencv libs (which is probably like: c:/somewhere/opencv/build/install/include), not to the src repository

  2. you have to use the cv::face namespace: Ptr<face::FaceRecognizer> model = face::createFisherFaceRecognizer();

  3. look at tutorials

  1. please do not try to modify the #include like that. you'll have to use #include "opencv2/face.hpp" and the path to the containing folder has to go into the "Additional Include Paths" of your VS project. it also should point to where you installed your opencv libs (which is probably like: c:/somewhere/opencv/build/install/include), not to the src repository

  2. [edit:] you have to use the cv::face namespace: Ptr<face::FaceRecognizer> model = face::createFisherFaceRecognizer();face::FisherFaceRecognizer::create(); (sorry, had that wrong initially !)

  3. look at tutorials

  1. please do not try to modify the #include like that. you'll have to use #include "opencv2/face.hpp" and the path to the containing folder has to go into the "Additional Include Paths" of your VS project. it also should point to where you installed your opencv libs (which is probably like: c:/somewhere/opencv/build/install/include), not to the src repository

  2. [edit:] you have to use the cv::face namespace: Ptr<face::FaceRecognizer> model = face::FisherFaceRecognizer::create(); (sorry, had that wrong initially !)

  3. look at tutorials and samples