In this article we review how to use our Calibration App to capture calibration frames, perform calibration and save the results to the device. Below we go through the steps of getting a proper calibration and testing. A proper calibration is critical stereo vision algorithms, make sure to follow the steps below to assure you get best results. Also make sure you have the latest DUO Software from our downloads page.
The Calibration application provides a process for calibrating the images using a 9x9 grid that is included in the SDK. You can find a file called DUOCalibrationGrid.pdf
in the Dashboard/Calibration
folder. Alternatively you can download the PDF from the web. To calibrate you will need to print this grid pattern and put it on a stable surface.
Start Capture
button to begin capturing. If needed use the Clear Frames
button.Frame Count
parameter.Start Calibration
button and you should see the results of the process after.* Tip - If you use more frames you can achieve higher accuracy.
You can toggle the Show Epipoles
option to give you a comparison of the two cameras, also the Show Calibrated
option will toggle in between processed and non-processed image data. After a successful calibration you should see the following files created in the Dashboard/Calibration
folder:
stereo_R[CURRENT_WIDTH]x[CURRENT_HEIGHT]_[CURRENT_BINNING].yml
extrinsics_R[CURRENT_WIDTH]x[CURRENT_HEIGHT]_CURRENT_BINNING.yml
intrinsics_R[CURRENT_WIDTH]x[CURRENT_HEIGHT]_CURRENT_BINNING.yml
rectifyMap_R[CURRENT_WIDTH]x[CURRENT_HEIGHT]_CURRENT_BINNING.yml
The following parameters are used in the calibration process:
Also these specific actions are exposed: