Skip to content

Commit

Permalink
Merge pull request #88 from luxonis/calib_model_update
Browse files Browse the repository at this point in the history
Added all W models to be tilted
  • Loading branch information
CenekAlbl authored May 23, 2024
2 parents 9ca5a6b + c209ce8 commit dcf628c
Show file tree
Hide file tree
Showing 13 changed files with 43 additions and 10 deletions.
5 changes: 4 additions & 1 deletion boards/OAK-D-POE-W-97.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
"CAM_A": {
"name": "rgb",
"hfov": 127.0,
"type": "color"
"type": "color",
"calib_model": "perspective_TILTED"
},
"CAM_B": {
"name": "left",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_C",
"specTranslation": {
Expand All @@ -29,6 +31,7 @@
"name": "right",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_A",
"specTranslation": {
Expand Down
5 changes: 4 additions & 1 deletion boards/OAK-D-POE-W-C12.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
"CAM_A": {
"name": "rgb",
"hfov": 127.0,
"type": "color"
"type": "color",
"calib_model": "perspective_TILTED"
},
"CAM_B": {
"name": "left",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_C",
"specTranslation": {
Expand All @@ -31,6 +33,7 @@
"name": "right",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_A",
"specTranslation": {
Expand Down
2 changes: 2 additions & 0 deletions boards/OAK-D-POE-W.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"name": "left",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_C",
"specTranslation": {
Expand All @@ -31,6 +32,7 @@
"name": "right",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_A",
"specTranslation": {
Expand Down
5 changes: 4 additions & 1 deletion boards/OAK-D-PRO-W-97.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
"CAM_A": {
"name": "rgb",
"hfov": 127.0,
"type": "color"
"type": "color",
"calib_model": "perspective_TILTED"
},
"CAM_B": {
"name": "left",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_C",
"specTranslation": {
Expand All @@ -29,6 +31,7 @@
"name": "right",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_A",
"specTranslation": {
Expand Down
5 changes: 4 additions & 1 deletion boards/OAK-D-PRO-W-CUSTOM.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
"CAM_A": {
"name": "rgb",
"hfov": 127.0,
"type": "color"
"type": "color",
"calib_model": "perspective_TILTED"
},
"CAM_B": {
"name": "left",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_C",
"specTranslation": {
Expand All @@ -31,6 +33,7 @@
"name": "right",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_A",
"specTranslation": {
Expand Down
5 changes: 4 additions & 1 deletion boards/OAK-D-PRO-W-DEV.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
"CAM_A": {
"name": "rgb",
"hfov": 127.0,
"type": "color"
"type": "color",
"calib_model": "perspective_TILTED"
},
"CAM_B": {
"name": "left",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_C",
"specTranslation": {
Expand All @@ -31,6 +33,7 @@
"name": "right",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_A",
"specTranslation": {
Expand Down
5 changes: 4 additions & 1 deletion boards/OAK-D-PRO-W-POE-97.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"CAM_A": {
"name": "rgb",
"hfov": 127.0,
"type": "color"
"type": "color",
"calib_model": "perspective_TILTED"
},
"CAM_B": {
"name": "left",
"hfov": 127.0,
"calib_model": "perspective_TILTED",
"type": "mono",
"extrinsics": {
"to_cam": "CAM_C",
Expand All @@ -29,6 +31,7 @@
"name": "right",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_A",
"specTranslation": {
Expand Down
5 changes: 4 additions & 1 deletion boards/OAK-D-PRO-W-POE-C01.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
"CAM_A": {
"name": "rgb",
"hfov": 127.0,
"type": "color"
"type": "color",
"calib_model": "perspective_TILTED"
},
"CAM_B": {
"name": "left",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_C",
"specTranslation": {
Expand All @@ -31,6 +33,7 @@
"name": "right",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_A",
"specTranslation": {
Expand Down
5 changes: 4 additions & 1 deletion boards/OAK-D-PRO-W-POE-CUSTOM.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
"CAM_A": {
"name": "rgb",
"hfov": 127.0,
"type": "color"
"type": "color",
"calib_model": "perspective_TILTED"
},
"CAM_B": {
"name": "left",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_C",
"specTranslation": {
Expand All @@ -31,6 +33,7 @@
"name": "right",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_A",
"specTranslation": {
Expand Down
2 changes: 2 additions & 0 deletions boards/OAK-D-PRO-W-POE.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"name": "left",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_C",
"specTranslation": {
Expand All @@ -31,6 +32,7 @@
"name": "right",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_A",
"specTranslation": {
Expand Down
5 changes: 4 additions & 1 deletion boards/OAK-D-W-97.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
"CAM_A": {
"name": "rgb",
"hfov": 127.0,
"type": "color"
"type": "color",
"calib_model": "perspective_TILTED"
},
"CAM_B": {
"name": "left",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_C",
"specTranslation": {
Expand All @@ -31,6 +33,7 @@
"name": "right",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_A",
"specTranslation": {
Expand Down
2 changes: 2 additions & 0 deletions boards/OAK-D-W.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"name": "left",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_C",
"specTranslation": {
Expand All @@ -31,6 +32,7 @@
"name": "right",
"hfov": 127.0,
"type": "mono",
"calib_model": "perspective_TILTED",
"extrinsics": {
"to_cam": "CAM_A",
"specTranslation": {
Expand Down
2 changes: 1 addition & 1 deletion boards_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class CameraInfo(BaseModel):
hfov: float = 0.0
type: str = ""
camera_model: str = "perspective"
calib_model: str = "perspective_DEFAULT"
calib_model: str = "perspective_NORMAL"
""" Camera model can be either 'perspective' or 'fisheye'. """
extrinsics: Optional[Extrinsics] = None
sensor_name: str = ""
Expand Down

0 comments on commit dcf628c

Please sign in to comment.