agrobot_base/Python/raspi/calibration/sensor_calibration.json

430 lines
8.1 KiB
JSON
Raw Normal View History

{
"schema": "multispec_camera_params_v1",
"saved_at": "2026-04-24 13:44:56",
"pi_host": "192.168.105.6",
"pc_host": "192.168.105.5",
"stream_port": 6001,
"frame_type": "RAW_BRUTO",
"capture_mode_requested": "AUTO",
"capture_mode_effective": "AUTO",
"raw_policy": "allow_single",
"sensor_width": 640,
"sensor_height": 480,
"bayer_pattern": "GBRG",
"camera_settings": {
"cam0": {
"ae_enable": false,
"awb_enable": false,
"exposure_time_us": 15000,
"analogue_gain": 1.0,
"colour_gains": null
},
"cam1": {
"ae_enable": false,
"awb_enable": false,
"exposure_time_us": 15000,
"analogue_gain": 1.0,
"colour_gains": null
},
"cam2": {
"ae_enable": true,
"awb_enable": true,
"exposure_time_us": 15000,
"analogue_gain": 1.0,
"colour_gains": [
1.0,
1.0
]
}
},
"rois": {
"cam2": [
{
"name": "pessoa",
"type": "polygon",
"points": [
[
331,
3
],
[
351,
78
],
[
353,
122
],
[
390,
156
],
[
419,
177
],
[
495,
178
],
[
567,
148
],
[
584,
105
],
[
588,
70
],
[
600,
52
],
[
592,
4
]
],
"color": [
0,
255,
255
]
},
{
"name": "parede",
"type": "polygon",
"points": [
[
35,
187
],
[
48,
79
],
[
133,
98
],
[
131,
205
]
],
"color": [
0,
255,
0
]
}
],
"cam0": [
{
"name": "pessoa",
"type": "polygon",
"points": [
[
3,
309
],
[
11,
10
],
[
116,
63
],
[
193,
161
],
[
206,
235
],
[
186,
293
],
[
126,
338
],
[
54,
336
]
],
"color": [
0,
255,
255
]
},
{
"name": "teto",
"type": "polygon",
"points": [
[
262,
124
],
[
270,
268
],
[
371,
269
],
[
371,
125
]
],
"color": [
0,
255,
0
]
}
],
"cam1": []
},
"snapshots": [
{
"timestamp": "2026-04-24 13:44:41",
"camera": "cam2",
"camera_settings": {
"ae_enable": true,
"awb_enable": true,
"exposure_time_us": 15000,
"analogue_gain": 1.0,
"colour_gains": [
1.0,
1.0
]
},
"scene_health": {
"mean": 0.4009036719799042,
"std": 0.3026207685470581,
"p05": 0.003921568859368563,
"p95": 0.8666666746139526,
"pct_saturated": 1.8621961805555556,
"pct_dark": 7.487955729166666,
"comment": "ok"
},
"rois": [
{
"name": "pessoa",
"type": "polygon",
"metrics": {
"valid": true,
"mean": 0.2285451740026474,
"std": 0.1853915899991989,
"min": 0.0,
"max": 0.9215686321258545,
"p05": 0.0313725508749485,
"p95": 0.7568627595901489,
"pct_saturated": 0.0,
"pct_dark": 2.340194455937112,
"pixels": 116016
},
"points": [
[
331,
3
],
[
351,
78
],
[
353,
122
],
[
390,
156
],
[
419,
177
],
[
495,
178
],
[
567,
148
],
[
584,
105
],
[
588,
70
],
[
600,
52
],
[
592,
4
]
]
},
{
"name": "parede",
"type": "polygon",
"metrics": {
"valid": true,
"mean": 0.7700283527374268,
"std": 0.04279294237494469,
"min": 0.6470588445663452,
"max": 0.8784313797950745,
"p05": 0.6980392336845398,
"p95": 0.8470588326454163,
"pct_saturated": 0.0,
"pct_dark": 0.0,
"pixels": 30192
},
"points": [
[
35,
187
],
[
48,
79
],
[
133,
98
],
[
131,
205
]
]
}
]
},
{
"timestamp": "2026-04-24 13:44:45",
"camera": "cam0",
"camera_settings": {
"ae_enable": false,
"awb_enable": false,
"exposure_time_us": 15000,
"analogue_gain": 1.0,
"colour_gains": null
},
"scene_health": {
"mean": 0.030308637768030167,
"std": 0.009111250750720501,
"p05": 0.015640273690223694,
"p95": 0.045943304896354675,
"pct_saturated": 0.0,
"pct_dark": 17.569986979166664,
"comment": "baixo contraste"
},
"rois": [
{
"name": "pessoa",
"type": "polygon",
"metrics": {
"valid": true,
"mean": 0.017233407124876976,
"std": 0.0033262341748923063,
"min": 0.01173020526766777,
"max": 0.04496578872203827,
"p05": 0.014662756584584713,
"p95": 0.022482894361019135,
"pct_saturated": 0.0,
"pct_dark": 89.6567197666592,
"pixels": 49027
},
"points": [
[
3,
309
],
[
11,
10
],
[
116,
63
],
[
193,
161
],
[
206,
235
],
[
186,
293
],
[
126,
338
],
[
54,
336
]
]
},
{
"name": "teto",
"type": "polygon",
"metrics": {
"valid": true,
"mean": 0.03869995102286339,
"std": 0.005530648864805698,
"min": 0.026392962783575058,
"max": 0.050830889493227005,
"p05": 0.03128054738044739,
"p95": 0.04692082107067108,
"pct_saturated": 0.0,
"pct_dark": 0.0,
"pixels": 15370
},
"points": [
[
262,
124
],
[
270,
268
],
[
371,
269
],
[
371,
125
]
]
}
]
}
],
"notes": "",
"calibration_guidance_log": []
}