Traceback (most recent call last):
File "C:\Users\Ankan\AppData\Local\Programs\Python\Python311\Lib\tkinter\__init__.py", line 1948, in __call__
return self.func(*args)
^^^^^^^^^^^^^^^^
File "C:\VS Code Projects\Attendace_management_system\AMS_Run.py", line 565, in trainimg
recognizer = cv2.face.LBPHFaceRecognizer.create()
^^^^^^^^
AttributeError: module 'cv2' has no attribute 'face'
I have installed opencv properly but still getting this error.