Mimir/config/sensor-fusion.example.json
2026-05-21 18:41:02 +01:00

103 lines
2.4 KiB
JSON

{
"fusion": {
"max_pair_dt_ns": 25000000,
"max_reprojection_error_px": 4.0,
"min_confidence": 0.1,
"cache_ttl_ns": 500000000
},
"render_bridge": {
"spout_sender_name": "Mimir Point Cloud",
"target_width": 1920,
"target_height": 1080,
"visual_delay_ns": 250000000,
"audio_alignment_delay_ns": 250000000,
"default_point_radius_m": 0.025
},
"cameras": [
{
"id": "ps3eye_left",
"role": "tracking",
"capture": {
"adapter": "ffmpeg-dshow-raw-bgr",
"device_name": "PS3 Eye Universal",
"width": 320,
"height": 240,
"fps": 60
},
"intrinsics": {
"width": 320,
"height": 240,
"camera_matrix": [
[260.0, 0.0, 160.0],
[0.0, 260.0, 120.0],
[0.0, 0.0, 1.0]
],
"dist_coeffs": [0.0, 0.0, 0.0, 0.0, 0.0]
},
"world_from_sensor": [
[1.0, 0.0, 0.0, -0.25],
[0.0, 1.0, 0.0, 0.0],
[0.0, 0.0, 1.0, 0.0],
[0.0, 0.0, 0.0, 1.0]
],
"latency_ms": 25.0
},
{
"id": "ps3eye_right",
"role": "tracking",
"capture": {
"adapter": "ffmpeg-dshow-raw-bgr",
"device_name": "PS3 Eye Universal2",
"width": 320,
"height": 240,
"fps": 60
},
"intrinsics": {
"width": 320,
"height": 240,
"camera_matrix": [
[260.0, 0.0, 160.0],
[0.0, 260.0, 120.0],
[0.0, 0.0, 1.0]
],
"dist_coeffs": [0.0, 0.0, 0.0, 0.0, 0.0]
},
"world_from_sensor": [
[1.0, 0.0, 0.0, 0.25],
[0.0, 1.0, 0.0, 0.0],
[0.0, 0.0, 1.0, 0.0],
[0.0, 0.0, 0.0, 1.0]
],
"latency_ms": 25.0
},
{
"id": "kiyo_rgb",
"role": "rgb_projection",
"capture": {
"adapter": "native-driver",
"driver": "media-foundation-or-directshow",
"device_name": "Razer Kiyo",
"width": 640,
"height": 480,
"fps": 30
},
"intrinsics": {
"width": 640,
"height": 480,
"camera_matrix": [
[520.0, 0.0, 320.0],
[0.0, 520.0, 240.0],
[0.0, 0.0, 1.0]
],
"dist_coeffs": [0.0, 0.0, 0.0, 0.0, 0.0]
},
"world_from_sensor": [
[1.0, 0.0, 0.0, 0.0],
[0.0, 1.0, 0.0, -0.5],
[0.0, 0.0, 1.0, 0.2],
[0.0, 0.0, 0.0, 1.0]
],
"latency_ms": 45.0
}
]
}