You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
********** WELCOME MENU **********
[1] Check Camera
[2] Capture Faces
[3] Train Images
[4] Recognize & Attendance
[5] Auto Mail
[6] Quit
Enter Choice: 4
Traceback (most recent call last):
File "main.py", line 101, in
mainMenu()
File "main.py", line 47, in mainMenu
RecognizeFaces()
File "main.py", line 95, in RecognizeFaces
Recognize.recognize_attendence()
File "/Users/shreyasmore/Downloads/OpenSourceRepo/Face-Recognition-Attendance-System/FRAS/Recognize.py", line 30, in recognize_attendence
gray = cv2.cvtColor(im, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.5.1) /private/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/pip-req-build-yvyj7qlp/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
The text was updated successfully, but these errors were encountered:
Do things in a list:
install/upgrade opencv/opencv-contrib package
create env and install the dependencies accordingly and rerun
check your camera and recheck the images generated in TrainingImageLabel folder
********** WELCOME MENU **********
[1] Check Camera
[2] Capture Faces
[3] Train Images
[4] Recognize & Attendance
[5] Auto Mail
[6] Quit
Enter Choice: 4
Traceback (most recent call last):
File "main.py", line 101, in
mainMenu()
File "main.py", line 47, in mainMenu
RecognizeFaces()
File "main.py", line 95, in RecognizeFaces
Recognize.recognize_attendence()
File "/Users/shreyasmore/Downloads/OpenSourceRepo/Face-Recognition-Attendance-System/FRAS/Recognize.py", line 30, in recognize_attendence
gray = cv2.cvtColor(im, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.5.1) /private/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/pip-req-build-yvyj7qlp/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
The text was updated successfully, but these errors were encountered: