Description
Currently all tracks share the same global tracker max_age.
However, different surveillance zones require different persistence behavior.
Example:
- tracks in
restricted_door should persist longer
- tracks in
safe_corridor should expire faster
Implement configurable per-zone max_age overrides.
YAML Extension
Extend:
with:
zones:
- name: restricted_door
max_age_override: 60
- name: safe_corridor
max_age_override: 15
Expected Behavior
- LOST tracks in sensitive zones remain alive longer
- safe zones expire aggressively
- fallback to global value when override absent
Files to Touch
config/zones.yaml
services/tracking/tracker.py
tests/test_tracker.py
Requirements
- Read override from zone config
- Apply dynamically during LOST handling
- Maintain backward compatibility
- Preserve existing tracker behavior if override missing
Acceptance Criteria
Helpful Context
Relevant modules:
services/tracking/tracker.py
services/detection/zones.py
libs/config/zone_loader.py
Description
Currently all tracks share the same global tracker
max_age.However, different surveillance zones require different persistence behavior.
Example:
restricted_doorshould persist longersafe_corridorshould expire fasterImplement configurable per-zone
max_ageoverrides.YAML Extension
Extend:
with:
Expected Behavior
Files to Touch
Requirements
Acceptance Criteria
max_ageapplied correctlyHelpful Context
Relevant modules: