A: PoseAdapter.set_confidence_threshold is applied on start, so the
settings model-confidence field actually affects inference.
B: config source.mode ('stream'|'replay') is explicit; app no longer
guesses the source type from the URL prefix.
C: FallStateMachine takes a session_id and from_config generates a
unique one per run, so event ids never collide across restarts
(no screenshot overwrite or duplicate JSONL identity in a day).
51 tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
23 lines
535 B
JSON
23 lines
535 B
JSON
{
|
|
"source": {
|
|
"id": "lobby-camera-01",
|
|
"rtsp_url_env": "SILVER_POSE_RTSP_URL",
|
|
"mode": "stream"
|
|
},
|
|
"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"
|
|
}
|
|
}
|