neha01 / FaceRecognition

Face Recognition using OpenCV in Python
163 stars 146 forks source link

AttributeError #7

Open Anirudhpsr opened 5 years ago

Anirudhpsr commented 5 years ago

module 'cv2.cv2' has no attribute 'face'

in line---> "face_recognizer=cv2.face.LBPHFaceRecognizer_create()"

JChris246 commented 4 years ago

If you installed with 'pip install opencv-python' try installing with 'pip install opencv-contrib-python' worked for me ... with the first command some modules are not installed