Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
winnk23 opened this issue Feb 12, 2023 · 0 comments
Open

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

winnk23 opened this issue Feb 12, 2023 · 0 comments

Comments

@winnk23
Copy link

winnk23 commented Feb 12, 2023

Hi @vishalverma116 ,

the system is working well for every function, but just the 'train dataset' & 'mark attendance' could not function.

The error was same:
File "E:\New folder\Face_Recognition_Attendance_System-master\Face_recognition_system\training_dataset.py", line 5, in
recognizer = cv2.face.createLBPHFaceRecognizer()
AttributeError: module 'cv2' has no attribute 'face'

File "E:\New folder\Face_Recognition_Attendance_System-master\Face_recognition_system\recognizer.py", line 15, in
recognizer = cv2.face.createLBPHFaceRecognizer()
AttributeError: module 'cv2' has no attribute 'face'

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant