opencv_contrib icon indicating copy to clipboard operation
opencv_contrib copied to clipboard

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

Open ldhl103 opened this issue 7 years ago • 2 comments

Hi everyone,

I am new to python. After I finished the installing steps of the opencv_contrib, I still got the error message as following:

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

I tried to run this repo: https://github.com/kitsook/face.git I think it may not correctly link to my extra library... is there anyting wrong?

System information (version)

ldhl103 avatar Jan 30 '18 13:01 ldhl103

api has changed, you have to use:

fr = cv2.face.FisherFaceRecognizer_create()

(it's not even an opencv problem, the repo you're trying to to use is simply outdated) would you be so kind, to close this issue ? it is not about a library bug, and further questions should go to http://answers.opencv.org

berak avatar Jan 30 '18 15:01 berak

fishface = cv2.face.FisherFaceRecognizer_create()

AttributeError: module 'cv2' has no attribute 'face'

dudhaniss avatar May 19 '22 08:05 dudhaniss