Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you have to keep an instance of LBPHFaceRecognizer , to access LBPH specific member functions, FaceRecognizer is only the more general base class.

so, you in your program you need a :

Ptr<LBPHFaceRecognizer> LBPHModel;