43 lines
911 B
JSON
43 lines
911 B
JSON
{
|
|
"camera": {
|
|
"device": "/dev/video5",
|
|
"width": 1920,
|
|
"height": 1536,
|
|
"fps": 30,
|
|
"buffers": 4,
|
|
"timeout_ms": 2000
|
|
},
|
|
"inference": {
|
|
"engine_directory": "../orin/engines",
|
|
"detector_confidence": 0.3,
|
|
"max_people": 3,
|
|
"queue_capacity": 2
|
|
},
|
|
"door": {
|
|
"mask": "door_mask.json",
|
|
"warning_relative": 0.3,
|
|
"release_relative": 0.45,
|
|
"calibration_verified": false
|
|
},
|
|
"brightness_gate": {
|
|
"enabled": true,
|
|
"roi": [0.02, 0.05, 0.88, 0.98],
|
|
"dark_pixel_luma": 40.0,
|
|
"enter_median_luma": 18.0,
|
|
"enter_dark_ratio": 0.85,
|
|
"enter_dark_tile_ratio": 0.75,
|
|
"exit_median_luma": 24.0,
|
|
"exit_dark_ratio": 0.80,
|
|
"exit_dark_tile_ratio": 0.70,
|
|
"startup_frames": 5,
|
|
"enter_frames": 15,
|
|
"exit_frames": 15
|
|
},
|
|
"can": {
|
|
"enabled": true,
|
|
"device_index": 0,
|
|
"timeout_ms": 1000,
|
|
"termination": true
|
|
}
|
|
}
|