shun-iwasawa d9416c
This folder is for the camera calibration feature in "Camera Capture" popup,
shun-iwasawa d9416c
which undistort the captured images by using OpenCV's calibration feature.
shun-iwasawa d9416c
shun-iwasawa d9416c
### How to calibrate camera
shun-iwasawa d9416c
shun-iwasawa d9416c
1. Prepare the checkerboard
shun-iwasawa d9416c
shun-iwasawa d9416c
- Print out "checkerboard.tif" to A4 sized paper.
shun-iwasawa d9416c
- It would be better to paste the checkerboard pattern on some flat panel like cardboard.
shun-iwasawa d9416c
shun-iwasawa d9416c
2. Capture the pattern
shun-iwasawa d9416c
shun-iwasawa d9416c
- In the Camera Capture popup, enable "Camera Calibration" box.
shun-iwasawa d9416c
- Click "Start calibration".
shun-iwasawa d9416c
- Take 10 snapshots of the checkerboard pattern in various positions and angles.
shun-iwasawa d9416c
- Once the capturing is done, calibration will be automatically applied.
shun-iwasawa d9416c
shun-iwasawa d9416c
3. Export & load calibration settings
shun-iwasawa d9416c
shun-iwasawa d9416c
- Calibration settings will be saved under this folder with name
shun-iwasawa d9416c
  "[MACHINENAME]_[CAMERANAME]_[RESOLUTION].xml"
shun-iwasawa d9416c
- The settings file will be overwritten after finishing the new calibration.
shun-iwasawa d9416c
- You can export the file for backup, or load it afterwards.