Ask Your Question

cv2.face_LBPHFaceRecognizer object has no attribute setdouble

asked 2017-02-12 11:52:29 -0500

flash gravatar image

cv2.face_LBPHFaceRecognizer object has no attribute setdouble i am getting this error while trying to do face recognition in opencv3.. anyone knows whats the problem ? I had problem with "" and got a simple solution by using "cv2.CASCADE_SCALE_IMAGE" . Likewise is there any ?

edit retag flag offensive close merge delete


Were you able to figure out any simple solutions to this as well?

Grounded gravatar imageGrounded ( 2017-04-20 17:49:56 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-02-13 02:26:15 -0500

berak gravatar image

the api has changed a bit in opencv3, is gone entirely, and you'd have to use methods like:


try :

>>> help(cv2.face.createLBPHFaceRecognizer())

to see it's methods.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-02-12 11:52:29 -0500

Seen: 817 times

Last updated: Feb 13 '17