-
Notifications
You must be signed in to change notification settings - Fork 0
Camera Calibration
It is necessary to determine the camera intrinsic and extrinsic parameters using a calibration in order to properly transform camera plane information into world coordinates. This must be done for each camera individually.
-
Print the 9x6 vertex checkerboard called
checkboard.png
in the calibration directory. -
Take 10 or more images of the checkerboard in different positions and orientations with the camera that you are calibrating and put them in the
calibration/calib_images
directory.
Note: if you're doing this on a raspberry pi raspistill -o output.jpg
will take an image named output.jpg
and save it to the home directory.
-
Switch to the calibration directory
cd calibration
then run the calibration scriptpython calibration/camera_calib.py
which detects the vertices of the checkerboard and determines the camera calibration parameters and writes them to a YAML file called
calibration.yaml
for later access.