Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

with opencv3, the face reco module was moved to opencv_contrib , you probably don't have it yet.

so, you will have to rebuild your cv2.so from src , it's also recommended, that you use latest master branch from both repos.

then, syntax has changed slightly, too, you'll have to use:

recognizer1 = cv2.face.EigenFaceRecognizer_create()

good luck !

with opencv3, the face reco module was moved to opencv_contrib , you probably don't have it yet.

so, you will have to rebuild your cv2.so from src , it's also recommended, that you use latest master branch from both repos.

then, syntax has changed slightly, too, you'll have to use:

recognizer1 = cv2.face.EigenFaceRecognizer_create()
cv2.face.createEigenFaceRecognizer() ## opencv3.1

or:

recognizer1 = cv2.face.EigenFaceRecognizer_create() ## opencv3.3

good luck !