1 | initial version |
To launch this sample, you need to specify the number of corners of your image:
./stereo_calib -w=4 -h=6 stereo_image_list.xml
from your sample images. If you launch the program without the right XML file or with a corner width or a corner height higher than in your image, the detection can't find the pattern and is returning this message. So, to ensure everything is working fine, launch the default OpenCV stereo file (I'm assuming you are launching the executable from the sample/data directory):
../cpp/stereo_calib -w=9 -h=6 ./stereo_calib.xml
This should show you the sample images of OpenCV with the correct corners detection.
Depending how you have generated your XML list of images, it may require that you are in the same folder as the images (relative or absolute path to images).