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

How to read and convert the image to match the one on database to mark the attendance #4

Open
Hojeah2663 opened this issue Jun 8, 2020 · 4 comments

Comments

@Hojeah2663
Copy link

Now I have this specific error at which the image from the cam can’t be converted to gray image so it brings this error

File "AMS_Run.py", line 347, in Fillattendances
gray = cv2.cvtColor(im, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
Please help

@Spidy20
Copy link
Owner

Spidy20 commented Jun 9, 2020 via email

@Hojeah2663
Copy link
Author

Hojeah2663 commented Jun 9, 2020 via email

@Hojeah2663
Copy link
Author

How do we fix it?

@Spidy20
Copy link
Owner

Spidy20 commented Jun 9, 2020 via email

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

2 participants