We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cv::cvtColor, file C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp, line 11111 Traceback (most recent call last): File "C:\advanced_lane_detection-master\calibrate_camera.py", line 80, in mtx, dist = calibrate_camera() File "C:\advanced_lane_detection-master\calibrate_camera.py", line 52, in calibrate_camera gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) cv2.error: C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:11111: error: (-215) scn == 3 || scn == 4 in function cv::cvtColor
The text was updated successfully, but these errors were encountered:
For the Assertion failed (scn == 3 || scn == 4) in cv::cvtColor,
Can you check whether you are reading the image or not
Sorry, something went wrong.
No branches or pull requests
OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cv::cvtColor, file C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp, line 11111
Traceback (most recent call last):
File "C:\advanced_lane_detection-master\calibrate_camera.py", line 80, in
mtx, dist = calibrate_camera()
File "C:\advanced_lane_detection-master\calibrate_camera.py", line 52, in calibrate_camera
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
cv2.error: C:\projects\opencv-python\opencv\modules\imgproc\src\color.cpp:11111: error: (-215) scn == 3 || scn == 4 in function cv::cvtColor
The text was updated successfully, but these errors were encountered: