poc(zone-anpr): passage-confirmation prototype run on park-lab
A standalone prototype of passage confirmation, tried on park-lab against the real lane, relays and barrier (wiki: concepts/zone-anpr-poc.md). - zone_anpr.py: vehicle detection on the camera stream, a drawn zone and crossing line, and the zone flow: nothing is decided while the zone is busy; when it is free the last crossing decides (A -> B passed, otherwise abandoned -> close relay). Relays follow read-then-fire with an online probe and a check before every datagram; disarmed by default. Plates are read from hi-res stills and stream frames into one consensus. - test_flow.py: 65 offline checks of the flow, the relay rules against a mock board, and the plate reads. No camera, model or relay needed. - recordings/ + replay_recordings.py: the followed car's boxes for 48 real entry visits of 2026-11-21/22, replayed through the judging code. - trial_report.py: per-visit report of a drive, run on park-lab. The detector model, local config and outputs are not committed (.gitignore). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RZgP5oZdzvo92Eouc9eRv5
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"cameras": [
|
||||
{
|
||||
"name": "entry",
|
||||
"url": "rtsp://${CAM_USER}:${CAM_PASS}@10.0.10.6:554/Streaming/Channels/101",
|
||||
"zone": []
|
||||
},
|
||||
{
|
||||
"name": "exit",
|
||||
"url": "rtsp://${CAM_USER}:${CAM_PASS}@10.0.10.7:554/Streaming/Channels/101",
|
||||
"zone": []
|
||||
}
|
||||
],
|
||||
"vehicle_model": "models/yolox_tiny.onnx",
|
||||
"detect_fps": 5,
|
||||
"min_plate_conf": 0.9,
|
||||
"visit_gap_s": 3,
|
||||
"threads": 2,
|
||||
"metrics_s": 10,
|
||||
"http_port": 8090,
|
||||
"out_dir": "out"
|
||||
}
|
||||
Reference in New Issue
Block a user