Amanjeet05 / attendance_system

32 stars 30 forks source link

Error while using application #1

Open sriram317 opened 4 years ago

sriram317 commented 4 years ago

File ".../attendance.py", line 183, in TrackImages recognizer = cv2.face.LBPHFaceRecognizer_create()#cv2.createLBPHFaceRecognizer() AttributeError: module 'cv2.cv2' has no attribute 'face'

Deepak-Jaiswal138 commented 3 years ago

bro using pip command pip install opencv-contrib-python

it should work

rahul-patel143 commented 3 years ago

Go to comment prompt and install this script then it will work perfectly

python -m pip install --user opencv-contrib-python