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

Issue #4

Open
ammu11 opened this issue Jul 3, 2018 · 1 comment
Open

Issue #4

ammu11 opened this issue Jul 3, 2018 · 1 comment

Comments

@ammu11
Copy link

ammu11 commented Jul 3, 2018

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

@vamshireddyp
Copy link

For the Assertion failed (scn == 3 || scn == 4) in cv::cvtColor,

Can you check whether you are reading the image or not

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