🚧 Issue: Improve Vehicle Counting Logic to Count Each Vehicle Once Per Hour
🧠 Problem
Currently, the system detects and counts vehicles for each frame, resulting in multiple counts for the same vehicle. This causes inflated and inaccurate vehicle counts.
✅ Expected Behavior
- Each vehicle should be counted only once per hour, even if it appears in multiple frames.
- The final count should reflect the number of unique vehicles per hour.
🛠 Proposed Solution
- Implement vehicle tracking (e.g., using DeepSORT, SORT, or BYTETrack).
- Assign a unique ID to each detected vehicle.
- Use a buffer or dictionary to store and track counted IDs.
- Reset the ID buffer every hour to allow for fresh counting.
- Ensure tracking is robust enough to handle occlusions and re-identification.
📌 Acceptance Criteria
💡 References
📂 Project: AI Based Traffic Management System
🏷️ Type: Feature Enhancement
🕓 Priority: High
🚧 Issue: Improve Vehicle Counting Logic to Count Each Vehicle Once Per Hour
🧠 Problem
Currently, the system detects and counts vehicles for each frame, resulting in multiple counts for the same vehicle. This causes inflated and inaccurate vehicle counts.
✅ Expected Behavior
🛠 Proposed Solution
📌 Acceptance Criteria
💡 References
📂 Project: AI Based Traffic Management System
🏷️ Type: Feature Enhancement
🕓 Priority: High