Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

"F:\opencv\modules\contrib\src\facerec.cpp:903:65: error: cannot allocate an object of abstract type 'cv::LBPH'F:\opencv\modules\contrib\src\facerec.cpp:219:7: note: because the following virtual functions are pure within 'cv::LBPH':" This error may be due to using pure virtual function ie. equating to zero which will make the virtual function pure. just keep "const" alone and try.