I get an error during the camera callibration
This is the error I get when I run the sample calibration code from the official documentation link samples/cpp/tutorial_code/calib3d/camera_calibration/
what(): /home/manohar/opencv-3.1.0/modules/core/src/convert.cpp:5475: error: (-215) src.size == dst.size && src.channels() == dst.channels() in function cvConvertScale
I entered the correct number of squares and other required details. Please help me with this, Thanks in advance.
You have to provide at least stack trace, OpenCV version and platform, or add some console messages to the program to find function causing this error. BTW, you can try new
interactive-calibration
tool: https://github.com/opencv/opencv/tree...@mshabunin Thanks a lot for the link. There are too many files and I am new to coding. If it's not too much to ask ,could you please give me onstructions as to how to use it. There are too many files and I don't know which one to use.
To use interactive-calibration tool, you can simply build OpenCV library with opencv_contrib, the application will be located here: <build>/bin/opencv_interactive-calibration.
If you choose to debug camera_calibration tutorial, you should build OpenCV with
-DCMAKE_BUILD_TYPE=Debug -DBUILD_EXAMPLES=ON
cmake option, then run <build>/bin/tutorial_camera_calibration under debugger and wait until it crash, then check stacktrace to see what happened.