jetson-screencasts-sources
jetson-screencasts-sources copied to clipboard
At running of "9-cv-stereo-calibrate", There is runtime error.
Hi, Itseez
At running of "9-cv-stereo-calibrate"
There is runtime error.
What'w wrong with me?
My error message is here:
sgi:9-cv-stereo-calibrate sgi$ ./build/cv_stereo_calibrate WARNING: Couldn't read movie file left%02d.jpg WARNING: Couldn't read movie file right%02d.jpg OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /tmp/opencv-20160626-26273-1a7s2xo/opencv-2.4.13/modules/imgproc/src/color.cpp, line 3739 libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /tmp/opencv-20160626-26273-1a7s2xo/opencv-2.4.13/modules/imgproc/src/color.cpp:3739: error: (-215) scn == 3 || scn == 4 in function cvtColor
Hey, @bemoregt !
My guess would be that highgui module in your OpenCV build can't read the .jpg images. Can you double-check that?
Thanks
I will check it
나의 iPhone에서 보냄
-
-
- 오후 6:27 Sergei Nosov [email protected] 작성:
-
Hey, @bemoregt !
My guess would be that highgui module in your OpenCV build can't read the .jpg images. Can you double-check that?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
I've solved image reading problems, may be.
But, there is another error occurs.
like this:
OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /tmp/opencv-20160626-26273-1a7s2xo/opencv-2.4.13/modules/imgproc/src/color.cpp, line 3739 libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /tmp/opencv-20160626-26273-1a7s2xo/opencv-2.4.13/modules/imgproc/src/color.cpp:3739: error: (-215) scn == 3 || scn == 4 in function cvtColor
Abort trap: 6
What's wrong with me? Jetson TX1, Ubuntu 14.04 x64
I've solved image reading problems, may be.
I suggest to figure it out for sure =) It still looks like the input image to cvtColor is empty. You can, probably, check that by inserting
cv::imshow("image[0]", image[0]);
cv::imshow("image[1]", image[1]);
cv::waitKey(0);
prior to cvtColor calls.