Skip to content

Instantly share code, notes, and snippets.

@alex-luxonis
Created March 17, 2023 16:24
Show Gist options
  • Save alex-luxonis/096cc88560f77842022e6c60acf6f8a3 to your computer and use it in GitHub Desktop.
Save alex-luxonis/096cc88560f77842022e6c60acf6f8a3 to your computer and use it in GitHub Desktop.
Custom calib data from https://github.com/luxonis/depthai-python/issues/788 - missing boardName/productName
{
"batchName": "",
"batchTime": 0,
"boardConf": "",
"boardCustom": "",
"boardName": "",
"boardOptions": 0,
"boardRev": "",
"cameraData": [
[
2,
{
"cameraType": 0,
"distortionCoeff": [
0.7016456723213196,
0.09789543598890305,
-2.0482420950429514e-05,
-8.167795022018254e-05,
0.0013215143699198961,
1.0600999593734741,
0.26497378945350647,
0.012843688949942589,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
],
"extrinsics": {
"rotationMatrix": [
[
0.9998937249183655,
0.014151704497635365,
0.003498660633340478
],
[
-0.014156349934637547,
0.9998989105224609,
0.0013065891107544303
],
[
-0.0034798167180269957,
-0.001355978543870151,
0.9999930262565613
]
],
"specTranslation": {
"x": 4.0,
"y": 0.0,
"z": 0.0
},
"toCameraSocket": 0,
"translation": {
"x": 3.989010810852051,
"y": -0.5054824352264404,
"z": -0.10272972285747528
}
},
"height": 1200,
"intrinsicMatrix": [
[
628.2872924804688,
0.0,
1041.1187744140625
],
[
0.0,
628.2872924804688,
549.2280883789062
],
[
0.0,
0.0,
1.0
]
],
"lensPosition": 0,
"specHfovDeg": 120.0,
"width": 1920
}
],
[
0,
{
"cameraType": 0,
"distortionCoeff": [
8.938774108886719,
14.074850082397461,
-0.000195886314031668,
-0.00023015693295747042,
10.906084060668945,
8.955772399902344,
13.584248542785645,
11.580068588256836,
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": 1200,
"intrinsicMatrix": [
[
1145.1165771484375,
0.0,
969.6947631835938
],
[
0.0,
1145.1165771484375,
582.4027099609375
],
[
0.0,
0.0,
1.0
]
],
"lensPosition": 0,
"specHfovDeg": 90.0,
"width": 1920
}
],
[
1,
{
"cameraType": 0,
"distortionCoeff": [
1.0231025218963623,
0.17135770618915558,
-3.523820123518817e-05,
-3.414222737774253e-05,
0.0023694520350545645,
1.3884692192077637,
0.44181621074676514,
0.02262495830655098,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
],
"extrinsics": {
"rotationMatrix": [
[
0.9999569058418274,
0.003983873408287764,
-0.008386572822928429
],
[
-0.003977048210799694,
0.999991774559021,
0.0008303489303216338
],
[
0.008389811962842941,
-0.0007969593279995024,
0.9999644756317139
]
],
"specTranslation": {
"x": -8.0,
"y": 0.0,
"z": 0.0
},
"toCameraSocket": 2,
"translation": {
"x": -7.940205097198486,
"y": 0.0541897714138031,
"z": 0.07038317620754242
}
},
"height": 1200,
"intrinsicMatrix": [
[
634.196044921875,
0.0,
987.4623413085938
],
[
0.0,
634.196044921875,
575.157958984375
],
[
0.0,
0.0,
1.0
]
],
"lensPosition": 0,
"specHfovDeg": 120.0,
"width": 1920
}
]
],
"hardwareConf": "",
"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": "",
"stereoRectificationData": {
"leftCameraSocket": 1,
"rectifiedRotationLeft": [
[
0.9998471140861511,
-0.0028335603419691324,
-0.017254995182156563
],
[
0.002840181114152074,
0.9999958872795105,
0.000359206780558452
],
[
0.017253907397389412,
-0.000408159161452204,
0.9998510479927063
]
],
"rectifiedRotationRight": [
[
0.9999374151229858,
-0.006824304815381765,
-0.008863596245646477
],
[
0.006820903159677982,
0.999976634979248,
-0.0004139334487263113
],
[
0.00886621419340372,
0.00035344981006346643,
0.9999606609344482
]
],
"rightCameraSocket": 2
},
"version": 7
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment