Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cv2.face.createLBPHFaceRecognizer()

is the correct invocation for opencv3. but most likely, you do not have the face submodule, because your cv2.pyd was built without opencv_contrib

there's a couple of options:

  • rebuild from src with opencv_contrib (see readme there) you need a c++ compiler and cmake for this.
  • fall back to opencv2.4 and use cv2.createLBPHFaceRecognizer()
  • use an entirely independant implementation