Open appucharan21 opened 1 year ago
Here is the corrected version of the text:
To solve the error, you can try the following steps in your command prompt or terminal:
pip install --upgrade pip
pip install --force-reinstall opencv-contrib-python
pip install --no-cache --force-reinstall opencv-contrib-python
If the error persists, you can try restarting your computer.
@Pragya9ps
Creating a repository is not enough. We must address any underlying issues.
what will be the Front end tool and back end tool using in this?
Traceback (most recent call last):
File "D:\FRBAS\testing.py", line 4, in
pls help me to slove this problem
Traceback (most recent call last): File "D:\FRBAS\testing.py", line 4, in recognizer = cv2.createLBPHFaceRecognizer() AttributeError: module 'cv2' has no attribute 'createLBPHFaceRecognizer'
pls help me to slove this problem
python -m pip install --user opencv-contrib-python
Hey there i am getting this error while training images Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\Hp\AppData\Local\Programs\Python\Python39\lib\tkinter__init.py", line 1892, in call__ return self.func(*args) File "C:\Users\Hp\Downloads\Face-Recognition-Attendance-System-main\Face-Recognition-Attendance-System-main\AMS_Run.py", line 627, in trainimg recognizer = cv2.face.LBPHFaceRecognizer_create() AttributeError: module 'cv2' has no attribute 'face'
I tried the above given methods and none of them seem to work any other fixes available please let me know
Exception in Tkinter callback Traceback (most recent call last): File "C:\Program Files\Python311\Lib\tkinter__init.py", line 1948, in call__ return self.func(*args) ^^^^^^^^^^^^^^^^ File "F:\Project\Face-Recognition-Attendance-System-main\Face-Recognition-Attendance-System-main\AMS_Run.py", line 627, in trainimg recognizer = cv2.face.LBPHFaceRecognizer_create() ^^^^^^^^ AttributeError: module 'cv2' has no attribute 'face'
pls help me to solve this problem