Hi @mzxuan
This file you are using is for creating a new calibration. If you want to flash/load it, it has to be in a different format like:
{
"batchName": "Maxwell",
"batchTime": 1661922568,
"boardConf": "IR-C00M01-00",
"boardCustom": "",
"boardName": "DM9098",
"boardOptions": 4,
"boardRev": "R6M2E6",
"cameraData": [
[
1,
{
"cameraType": 0,
"distortionCoeff": [
1.3491767644882202,
-0.6472944617271423,
-0.0003214032622054219,
-0.00026899701333604753,
-0.11306139826774597,
1.6996172666549683,
-0.3353101909160614,
-0.343086838722229,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
],
"extrinsics": {
"rotationMatrix": [
[
0.9996675848960876,
-0.007145098876208067,
-0.024772122502326965
],
[
0.007253172807395458,
0.9999645352363586,
0.004275628365576267
],
[
0.02474069595336914,
-0.00445388350635767,
0.9996839761734009
]
],
"specTranslation": {
"x": -7.5,
"y": 0.0,
"z": 0.0
},
"toCameraSocket": 2,
"translation": {
"x": -7.45899772644043,
"y": -0.004676362499594688,
"z": -0.05268814414739609
}
},
"height": 800,
"intrinsicMatrix": [
[
572.8335571289063,
0.0,
638.2142333984375
],
[
0.0,
579.6009521484375,
402.4336242675781
],
[
0.0,
0.0,
1.0
]
],
"lensPosition": 0,
"specHfovDeg": 127.0,
"width": 1280
}
],
[
0,
{
"cameraType": 0,
"distortionCoeff": [
11.929496765136719,
5.324101448059082,
0.0006734236376360059,
0.00023127286112867296,
-2.448516368865967,
11.926140785217285,
8.862100601196289,
-2.871063232421875,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
],
"extrinsics": {
"rotationMatrix": [
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
]
],
"specTranslation": {
"x": -0.0,
"y": -0.0,
"z": -0.0
},
"toCameraSocket": -1,
"translation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"height": 2160,
"intrinsicMatrix": [
[
2291.908203125,
0.0,
1933.5531005859375
],
[
0.0,
2318.239501953125,
1104.982177734375
],
[
0.0,
0.0,
1.0
]
],
"lensPosition": 135,
"specHfovDeg": 108.0,
"width": 3840
}
],
[
2,
{
"cameraType": 0,
"distortionCoeff": [
1.192952275276184,
-1.071612000465393,
-0.0005390957230702043,
-0.00031230473541654646,
-0.14656832814216614,
1.5467944145202637,
-0.8172252178192139,
-0.48655834794044495,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
],
"extrinsics": {
"rotationMatrix": [
[
0.9998841881752014,
0.0014908812008798122,
0.015145557001233101
],
[
-0.0014644562033936381,
0.9999973773956299,
-0.0017556807724758983
],
[
-0.015148134902119637,
0.0017332973657175899,
0.999883770942688
]
],
"specTranslation": {
"x": 3.75,
"y": 0.0,
"z": 0.0
},
"toCameraSocket": 0,
"translation": {
"x": 3.720426321029663,
"y": 0.01809576340019703,
"z": -0.1284922957420349
}
},
"height": 800,
"intrinsicMatrix": [
[
574.79052734375,
0.0,
631.9149780273438
],
[
0.0,
581.6693115234375,
397.7646484375
],
[
0.0,
0.0,
1.0
]
],
"lensPosition": 0,
"specHfovDeg": 127.0,
"width": 1280
}
]
],
"hardwareConf": "F1-FV01-BC001",
"imuExtrinsics": {
"rotationMatrix": [
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
]
],
"specTranslation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"toCameraSocket": -1,
"translation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"miscellaneousData": [],
"productName": "OAK-D Pro W",
"stereoRectificationData": {
"leftCameraSocket": 1,
"rectifiedRotationLeft": [
[
0.9998217821121216,
-0.006549474783241749,
-0.017707526683807373
],
[
0.006587952841073275,
0.9999760389328003,
0.002115522511303425
],
[
0.01769324764609337,
-0.002231801627203822,
0.9998409748077393
]
],
"rectifiedRotationRight": [
[
0.9999748468399048,
0.0006269267178140581,
0.007063525263220072
],
[
-0.0006115707219578326,
0.9999974370002747,
-0.002175932517275214
],
[
-0.0070648714900016785,
0.0021715580951422453,
0.9999727010726929
]
],
"rightCameraSocket": 2
},
"version": 7
}
You have to complete the https://docs.luxonis.com/projects/hardware/en/latest/pages/guides/calibration/#creating-custom-configuration-for-modular-oak-devices first.
Thanks,
Jaka