Normalize French plates, filter invalid lengths, reduce frame rate

- Add _normalize_plate(): strips non-alphanumeric, rejects < 6 or
  > 8 chars, formats standard new French plates as AB-123-CD
- Applied after PlateRecognizer and local LPR results
- CAPTURE_DURATION 15→20s, CAPTURE_FPS 5→2fps (40 frames vs 75)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
perco
2026-06-03 09:18:56 +02:00
co-authored by Claude Sonnet 4.6
parent 30561c44de
commit 9b3720c424
2 changed files with 23 additions and 4 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ services:
- SNAPSHOTS_DIR=/data/snapshots
- EVENTS_DIR=/data/events
- POLL_INTERVAL=2
- CAPTURE_DURATION=15
- CAPTURE_FPS=5
- CAPTURE_DURATION=20
- CAPTURE_FPS=2
- COOLDOWN=60
- PLATERECOGNIZER_API_KEY=c1127284b5ef06b49ade33f1dfc0f50169b88c1d
labels: