67 lines
1.5 KiB
JSON
67 lines
1.5 KiB
JSON
{
|
|
"camera": {
|
|
"device_id": 0,
|
|
"width": 1920,
|
|
"height": 1080,
|
|
"fps": 30,
|
|
"format": "MJPG",
|
|
"backend": "opencv",
|
|
"auto_exposure": true,
|
|
"exposure_time": 0,
|
|
"gain": 0,
|
|
"white_balance": "auto",
|
|
"focus_mode": "auto",
|
|
"buffer_size": 3,
|
|
"threading": {
|
|
"enabled": true,
|
|
"num_threads": 2,
|
|
"queue_size": 10
|
|
},
|
|
"calibration": {
|
|
"intrinsics_file": "calibration/camera_intrinsics.json",
|
|
"distortion_file": "calibration/camera_distortion.json",
|
|
"extrinsics_file": "calibration/camera_extrinsics.json"
|
|
},
|
|
"gstreamer": {
|
|
"enabled": false,
|
|
"pipeline": "v4l2src device=/dev/video0 ! video/x-raw,width=1920,height=1080,framerate=30/1 ! videoconvert ! appsink"
|
|
}
|
|
},
|
|
"multi_camera": {
|
|
"enabled": false,
|
|
"cameras": [
|
|
{
|
|
"id": 0,
|
|
"device_id": 0,
|
|
"name": "left_camera"
|
|
},
|
|
{
|
|
"id": 1,
|
|
"device_id": 1,
|
|
"name": "right_camera"
|
|
}
|
|
],
|
|
"synchronization": {
|
|
"enabled": true,
|
|
"method": "hardware_trigger",
|
|
"trigger_delay_ms": 0
|
|
}
|
|
},
|
|
"recording": {
|
|
"enabled": false,
|
|
"output_dir": "data/camera",
|
|
"format": "mp4",
|
|
"codec": "h264",
|
|
"quality": "high",
|
|
"max_duration_minutes": 60,
|
|
"auto_split": true
|
|
},
|
|
"processing": {
|
|
"undistort": true,
|
|
"resize": false,
|
|
"target_width": 1920,
|
|
"target_height": 1080,
|
|
"denoise": false,
|
|
"stabilization": false
|
|
}
|
|
} |