This is a tool to calibrate your camera's intrinsics using a ChArUco board.
$ git clone https://github.com/TheHolyCows/cowlibration-field
$ pip install -r requirements.txt
- Prepare a ChArUco board with 5x5 1000 ArUco markers
- Record a video of the calibration board
- Run camerea calibrator
$ python calibrate.py \
[input video] \
[output camera model] \
--square [square size in inches] \
--marker [marker size in inches] \
--width [board width] \
--height [board height]
$ python calibrate.py \
[input video path] \
[output camera model path] \
--square 0.709 \
--marker 0.551 \
--width 12 \
--height 8