feat: unified config.yaml with extensible model presets (A-D data-driven, E/F ready)
ci / smoke (push) Canceled after 0s

- config.yaml canonical for stream/models/counting/batch/output/camera
- models.modes hold engines+class filters only; conf/iou/min_bbox in detection_params
- predict.py derives tracker roles structurally (no per-mode branching)
- dashboard mode switch validates + persists atomically to config.yaml
- .env keeps secrets/deployment only; zones.json geometry; tracker.yaml hyperparams
- batch_mode.json keeps manual/auto batch mode; legacy model_mode ignored w/ warning
- src/detection+tracking gain iou param (default 0.7 = no behavior change)
This commit is contained in:
andrew committed 2026-09-17 11:44:45 +07:00
1 parent 630f4bc29e
commit 2d9c66cbb6
14 files changed
+1254 -199

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ files_to_sync = [
("templates/base.html", "/home/jetson/karung/templates/base.html"),
("counter_dashboard.py", "/home/jetson/karung/counter_dashboard.py"),
("predict.py", "/home/jetson/karung/predict.py"),
("config.yaml", "/home/jetson/karung/config.yaml"),
(".env", "/home/jetson/karung/.env"),
] + [
(f"models/{f}", f"/home/jetson/karung/models/{f}") for f in MODEL_ENGINES