opencv-face-recognition-python
opencv-face-recognition-python copied to clipboard
Error no attribute 'face'
face_recognizer = cv2.face.LBPHFaceRecognizer_create()
AttributeError: module 'cv2.cv2' has no attribute 'face'
I've had a similar issue. What version of OpenCV are you using?
I switched from the standard OpenCV-Python package to OpenCV-Contrib Python. It fixed my problem regarding the lack of a 'face' attribute.