Zaehllinie persistent speichern (ueberlebt Neustart)

- Linie wird beim Setzen atomar in counting_line.json gespeichert
- beim Start geladen -> Default fuer Session UND Webcam-Grabber
- Pfad per LINE_FILE-Env ueberschreibbar, Datei via .gitignore ausgeschlossen
- set_line-Route nutzt jetzt _valid_line (weniger Doppelcode)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-01 14:41:29 +02:00
parent 394c72d6d9
commit b20f4c582c
2 changed files with 50 additions and 11 deletions

3
.gitignore vendored
View File

@@ -4,6 +4,9 @@
# Hochgeladene Videos
uploads/
# Persistierte Zaehllinie (maschinenspezifisch)
counting_line.json
# Python
__pycache__/
*.py[cod]