-
Notifications
You must be signed in to change notification settings - Fork 132
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
Comments
It's not getting frame, that's the error.
…On Mon, Jun 8, 2020 at 10:11 PM Hojeah2663 ***@***.***> wrote:
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKA3TJDPMPQSQ64KP4LAFGLRVUIEJANCNFSM4NYSQGTQ>
.
|
Yes so how do we fix it ? Because the camera is open and the video is captured
On Tuesday, June 9, 2020, 02:36:55 PM GMT+8, Kushal Bhavsar <notifications@github.com> wrote:
It's not getting frame, that's the error.
On Mon, Jun 8, 2020 at 10:11 PM Hojeah2663 ***@***.***> wrote:
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKA3TJDPMPQSQ64KP4LAFGLRVUIEJANCNFSM4NYSQGTQ>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
How do we fix it? |
I can't say about it, because i haven't seen your code and error. Send me
some SC.
…On Tue, Jun 9, 2020 at 12:27 PM Hojeah2663 ***@***.***> wrote:
How do we fix it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKA3TJADHTXJ773NVABMLUTRVXMMPANCNFSM4NYSQGTQ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: