Calibration terminates with error KeyError: 'left_to_right_distance_cm'
File "C:\Users\gstern\AppData\Local\Programs\DepthAI\depthai\calibrate.py", line 570, in calibrate
- self.board_config['board_config']['left_to_right_distance_cm'], 0.0, 0.0]
What are some likely causes?
Is there a way change the board rectangle to a different color than black? It is often difficult to see in the black and white image preview.
Thank you.
Using 2, OV9282-M12s on left/right B/C and an AR0234-M12 on CAM_A.
python3 calibrate.py -s 14.81 -brd bdcfg.txt -db -drgb
bdcfg.txt:
{
"board_config":
{
"cameras":{
"CAM_A": {
"name": "rgb",
"hfov": 90,
"type": "color"
},
"CAM_B": {
"name": "left",
"hfov": 75,
"type": "mono",
"extrinsics": {
"to_cam": "CAM_A",
"specTranslation": {
"x": -14.0,
"y": 0,
"z": 0
},
"rotation":{
"r": 0,
"p": 0,
"y": 0
}
}
},
"CAM_C": {
"name": "right",
"hfov": 75,
"type": "mono",
"extrinsics": {
"to_cam": "CAM_A",
"specTranslation": {
"x": 49,
"y": 0,
"z": 0
},
"rotation":{
"r": 0,
"p": 0,
"y": 0
}
}
}
},
"stereo_config":{
"left_cam": "CAM_B",
"right_cam": "CAM_C"
}
}
}