feat(v2): add safe runtime configuration

This commit is contained in:
ila
2026-07-22 21:13:03 +08:00
parent 8aa36c508a
commit 70d9c5c73e
7 changed files with 457 additions and 5 deletions
+32
View File
@@ -0,0 +1,32 @@
{
"source": {
"id": "lobby-camera-01",
"rtsp_url_env": "SILVER_POSE_RTSP_URL",
"transport": "tcp",
"timeout_seconds": 5.0,
"low_latency": true
},
"model": {
"onnx": "runtime/best.onnx",
"sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"ort_dll": "runtime/onnxruntime.dll",
"confidence_threshold": 0.25
},
"tools": {
"ffmpeg": "runtime/ffmpeg.exe",
"ffprobe": "runtime/ffprobe.exe"
},
"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,
"require_rapid_drop": false,
"require_lower_body": false,
"horizontal_angle_threshold_degrees": 45.0
},
"artifacts": {
"event_dir": "../artifacts/events"
}
}