Open SidmoGoesBrrr opened 3 years ago
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.
AttributeError: module 'cv2.cv2' has no attribute 'face'