Config gains source.transport (tcp/udp), timeout_seconds and low_latency; build_ffmpeg_options assembles OPENCV_FFMPEG_CAPTURE_OPTIONS and app.py sets it into the environment before opening the stream, so tuning lives in config/settings instead of a launch script. Settings tab exposes a dropdown/number/checkbox rather than the raw option string. 64 tests pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
26 lines
612 B
JSON
26 lines
612 B
JSON
{
|
|
"source": {
|
|
"id": "lobby-camera-01",
|
|
"rtsp_url_env": "SILVER_POSE_RTSP_URL",
|
|
"mode": "stream",
|
|
"transport": "tcp",
|
|
"timeout_seconds": 5.0,
|
|
"low_latency": true
|
|
},
|
|
"model": {
|
|
"path": "models/best.pt",
|
|
"sha256": "0000000000000000000000000000000000000000000000000000000000000000",
|
|
"confidence_threshold": 0.25
|
|
},
|
|
"event": {
|
|
"keypoint_confidence_threshold": 0.4,
|
|
"suspect_window_seconds": 0.5,
|
|
"confirm_window_seconds": 1.8,
|
|
"recovery_window_seconds": 2.0,
|
|
"cooldown_seconds": 10.0
|
|
},
|
|
"artifacts": {
|
|
"event_dir": "../artifacts/events"
|
|
}
|
|
}
|