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
Hi @kmhmubin
I'm facing some problems with the cv2 error on option 1,2,4 and I couldn't solve it.
Here the error: gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
Thanks
The text was updated successfully, but these errors were encountered:
This is a simple error that means the picture you're attempting to process did not load and was empty.
If you took the image dara from the camera, it signifies the camera connection failed or was incorrectly configured. If you loaded an image file, the loading process failed.
Hi @kmhmubin
I'm facing some problems with the cv2 error on option 1,2,4 and I couldn't solve it.
Here the error:
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.7.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
Thanks
The text was updated successfully, but these errors were encountered: