Ask Your Question

Update method in Face Recognizer

asked 2012-10-24 12:23:50 -0500

Ashok gravatar image

I have updated my build to use opencv2.4.2. I am looking to use Face Recognizer update method but I could not find it. In the api, it has been mentioned though. I can find void predict method with confidence score included with this version. Can someone help me what I am missing.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2012-10-24 13:39:01 -0500

I have added cv::FaceRecognizer::update with commit]">62a8f678, which was some weeks after OpenCV 2.4.2 was officially released and its branch created. So these changes aren't included in the OpenCV 2.4.2 sources, but only available through the master branch in the git repository:

  • git://
  • git://

I have updated the documentation for cv::FaceRecognizer accordingly, and it shouldn't be noted in the documentation coming with your OpenCV download. I think these changes are already available in, which might cause the confusion.

edit flag offensive delete link more


I added the modified files and built it again. Now I can find it. Thank you for the immediate response.

Ashok gravatar imageAshok ( 2012-10-24 15:59:29 -0500 )edit

AttributeError: 'module' object has no attribute 'createLBPHFaceRecognizer'

I am using opencv 3.0.0, python 2.7. maybe any method for solve it ?

Mahbub Zulkarnain gravatar imageMahbub Zulkarnain ( 2015-06-17 01:42:07 -0500 )edit

answered 2014-04-19 21:14:13 -0500

rainNight gravatar image

I am using opencv 2.4.8 for recognize face, but I can't find the method createLBPHFaceRecognizer(), could you help me ,thanks

edit flag offensive delete link more

Question Tools


Asked: 2012-10-24 12:23:50 -0500

Seen: 551 times

Last updated: Apr 19 '14