To perform accurate pose estimation, each camera must be calibrated. To calibrate the camera, OpenCV ships with a tool to assist.
The resulting calibration file can be passed into a zoloto.cameras.camera.Camera
.
Note: Occasionally on Linux, the tool will fail to open the camera. This happens as it uses gstreamer backend by default, whereas Zoloto uses v4l2. To disable gstreamer, set the OPENCV_VIDEOIO_PRIORITY_GSTREAMER=0
environment variable.
zoloto.calibration.CalibrationParameters