Skip to content

attribute error in project #9

@yash463github

Description

@yash463github

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Yash Dhumal\AppData\Local\Programs\Python\Python311\Lib\tkinter_init_.py", line 1948, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\Users\Yash Dhumal\Desktop\FRBAS\main.py", line 259, in TrackImages
recognizer = cv2.face.LBPHFaceRecognizer_create() # cv2.createLBPHFaceRecognizer()
^^^^^^^^
AttributeError: module 'cv2' has no attribute 'face'

i am getting this error and it is not taking attendance , pls help me fix this error
pbl issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions