ofxFaceRecognizer icon indicating copy to clipboard operation
ofxFaceRecognizer copied to clipboard

Unknown type name 'FaceRecognizer'

Open cyphunk opened this issue 10 years ago • 1 comments

Getting error on compile. Something to do with not finding the FaceRecognizer class. This is a OSX 10.10 machine with opencv 2.4.10 installed via homebrew. Is the ofxOpenCV2461 library an absolute requirement?

ofxFaceRecognizer.h:54:9: Unknown type name 'FaceRecognizer'; did you mean 'ofxFaceRecognizer'?

many thanks for the code and any help

cyphunk avatar Oct 26 '15 11:10 cyphunk

cv::FaceRecognizer is part of opencv. http://docs.opencv.org/modules/contrib/doc/facerec/facerec_tutorial.html

i am guessing is not needed when you have opencv 2.4.10. search your opencv 2.4.10 folder for the FaceRecognizer class and see if it there too. maybe just a linking problem in your Xcode project.

antimodular avatar Oct 26 '15 13:10 antimodular