I switched to the new sdk version 2.21.2 and now the rectified streams of the depth node look like they have an undistortion error.
This is how the rectified streams look:
I tried recalibrating the camera, and got calibration numbers that look reasonable and that used to work before:
"distortionCoeff": [
-8.933034896850586,
77.59778594970703,
-0.0017588274786248803,
0.0015303785912692547,
-85.58924102783203,
-9.001920700073242,
77.50651550292969,
-85.17313385009766,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
],
"extrinsics": {
"rotationMatrix": [
[
0.9999570250511169,
-0.009076806716620922,
0.0019016165751963854
],
[
0.008980450220406055,
0.9989150762557983,
0.04569495469331741
],
[
-0.002314317738637328,
-0.045675911009311676,
0.998953640460968
]
],
"specTranslation": {
"x": -7.5,
"y": 0.0,
"z": 0.0
},
"toCameraSocket": 2,
"translation": {
"x": -7.489298343658447,
"y": -0.08138903975486755,
"z": 0.0009566023363731802
}
},
"height": 800,
"intrinsicMatrix": [
[
805.7501831054688,
0.0,
641.7357788085938
],
[
0.0,
805.892578125,
397.3677978515625
],
[
0.0,
0.0,
1.0
]
],
Is this a bug in the SDK or did I do something wrong? I have tried running calibrate.py and depthai_demo.py in the latest depthai github repo and got the same error.
I am using the OAK-D camera.