First time here? Check out the FAQ!
answered 2016-09-16 08:20:02 -0600
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;