I am testing it out right now. My camera is capturing 13 images instead of 39. Is that okay?
From the 13 images, it captured all 13 and did exactly the example video did. Here are my results:
Using dataset path: dataset
Starting image processing
<------------Calibrating left ------------>
INTRINSIC CALIBRATION
Reprojection error of left: 0.8412142644266325
<------------Calibrating right ------------>
INTRINSIC CALIBRATION
Reprojection error of right: 0.8775394613415113
<------------Calibrating tof ------------>
INTRINSIC CALIBRATION
Reprojection error of tof: 0.5492520139036353
<-------------Extrinsics calibration of left and right ------------>
Reprojection error is 0.8740851772773527
<-------------Epipolar error of left and right ------------>
Original intrinsics ....
L [[842.68376755 0. 673.13407279]
[ 0. 851.86743982 412.48182057]
[ 0. 0. 1. ]]
R: [[836.24616608 0. 656.428313 ]
[ 0. 845.62659357 439.05911096]
[ 0. 0. 1. ]]
Intrinsics from the getOptimalNewCameraMatrix/Original ....
L: [[836.24616608 0. 656.428313 ]
[ 0. 845.62659357 439.05911096]
[ 0. 0. 1. ]]
R: [[836.24616608 0. 656.428313 ]
[ 0. 845.62659357 439.05911096]
[ 0. 0. 1. ]]
Average Epipolar Error is : 0.20598603925134382
Displaying Stereo Pair for visual inspection. Press the [ESC] key to exit.
<-------------Extrinsics calibration of right and tof ------------>
Reprojection error is 1.1929608204958633
<-------------Epipolar error of right and tof ------------>
Original intrinsics ....
L [[418.12308304 0. 328.2141565 ]
[ 0. 422.81329678 219.52955548]
[ 0. 0. 1. ]]
R: [[494.35192765 0. 321.84779556]
[ 0. 499.48351759 218.30442303]
[ 0. 0. 1. ]]
Intrinsics from the getOptimalNewCameraMatrix/Original ....
L: [[494.35192765 0. 321.84779556]
[ 0. 499.48351759 218.30442303]
[ 0. 0. 1. ]]
R: [[494.35192765 0. 321.84779556]
[ 0. 499.48351759 218.30442303]
S:test_run\depthai\calibrate.py:1066: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
calibration_handler.setDistortionCoefficients(stringToCam[camera], cam_info['dist_coeff'])
S:test_run\depthai\calibrate.py:1105: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
calibration_handler.setCameraExtrinsics(stringToCam[camera], stringToCam[cam_info['extrinsics']['to_cam']], cam_info['extrinsics']['rotation_matrix'], cam_info['extrinsics']['translation'], specTranslation)Reprojection error threshold -> 1.1111111111111112
right Reprojection Error: 0.877539
Reprojection error threshold -> 1.0
tof Reprojection Error: 0.549252
Flashing Calibration data into
EEPROM VERSION being flashed is -> 7
EEPROM VERSION being flashed is -> 7
This screen was prompted at the end
I printed the board out and stamped it a flat surface, as of right now I would assume my question about the affect of having a printed version of the board works. Correct me if I wrong.
If the steps that I completed are correct then I am able to move forward with point cloud configurations, correct? Now that I have the camera calibrated, I can now add the correct extrinsic values to my code?