A real-time video-analysis system that detects and tracks pedestrians and vehicles, evaluates their position against a user-defined region, and counts passing vehicles.
- Python
- YOLOv8
- OpenCV
- ByteTrack
- PyTorch
Project details
The system combines YOLOv8 detection with ByteTrack tracking so objects retain consistent identities across video frames. Users define a four-corner region of interest, allowing the application to distinguish pedestrians inside and outside the area and count vehicles without repeated detections.
It supports webcam, single-video, and batch processing, with configurable model settings, color-coded overlays, tracking IDs, vehicle counts, and FPS monitoring.