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 -1
View File
@@ -12,6 +12,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- run: pip install numpy python-dotenv pytest
- run: pip install numpy python-dotenv pytest pyyaml
- run: python -m pytest tests/ -q
- run: python -m compileall -q src/ counter_dashboard.py