This repository is an OpenCV implementation of camera calibration.
- Run the following:
python3 camera_calibration.py --devID <cam device id> --imgPath <images path> --calibrateOnly <True or False> --config_file calibConfig.yamlNOTE: Modify calibConfig.yaml for your specific checkboard and camera configuration.
Example Img:
Checkout perform_calibration_2.py and perform_calibration.py for hand-eye calibration abstracted usage.
calibration.py has the implementations to collect, and perform hand-eye calibration + camera camera calibration for variours targets like checkerboard and aruco board.
image_capture.pyis used to capture images from live feed.
image_data\folder have sample chessboard images with patternsize = (3,6).
opencv_camera_calibration.pyhas the main opencv camera calibration script.
References:: https://docs.opencv.org/4.x/dc/dbb/tutorial_py_calibration.html
