I am trying to re-calibrate my OAK-D Pro Wide but not able to successfully complete the calibration process, it would be great if you could advise what I have probably done wrong:
Printed the charuco pattern and pasted on the cardboard. I ran the calibration script with "python3 calibrate.py -s 2.473 -db -brd OAK-D-PRO-W -c 1"
Datasets from the calibration process (Left):
There are high chances that the calibration.py
script exit and throw an exception with:
Device closed in exception..
division by zero
Traceback (most recent call last):
File "/home/nelson/depthai/calibrate.py", line 955, in calibrate
status, result_config = stereo_calib.calibrate(
File "/home/nelson/depthai/depthai_helpers/calibration_utils.py", line 179, in calibrate
left_cam_info['extrinsics']['epipolar_error'] = self.test_epipolar_charuco(
File "/home/nelson/depthai/depthai_helpers/calibration_utils.py", line 1050, in test_epipolar_charuco
avg_epipolar = epi_error_sum / len(imgpoints_r)
ZeroDivisionError: division by zero
Out of a few tries, sometimes I manage to see the calibrated result for the left camera(attached some of the image here):
Is this how the result should looks like for a wide camera?
rgb camera normally ends up with high Reprojection Error:
Is this the correct calibration script/mode to run with OAK-D Pro Wide?