Computer vision · Real-time systems
2025
Intelligent Traffic Monitoring
Vehicle detection, tracking, plate capture and homography-based speed estimation from video.
Problem
A speed measured in pixels is not a speed, and detection alone loses a vehicle the moment it passes behind a larger one. Without identity across frames and a mapping from the camera view to real distance, none of the numbers a traffic operator needs can be trusted.
Contribution
I built the pipeline end to end: YOLOv8 detects vehicles, ByteTrack holds their identity across frames, a second YOLOv8 model finds plates inside each vehicle crop, and a nine-point homography converts pixel positions into real-world coordinates so speed becomes an actual measurement. Violations are then flagged against limits that differ per vehicle type.
- FPS sustained
- 0FPS sustained
- speed estimation accuracy
- 98.6%speed estimation accuracy
- point homography calibration
- 0point homography calibration
- YOLOv8
- ByteTrack
- Supervision
- FastAPI
- WebSocket
- Redis
- Celery
- Streamlit
- Prometheus
- Grafana
- MLflow
- Docker
- pytest
Architecture
- video upload
- FastAPI
- Redis queue
- Celery workers
- YOLOv8 vehicles
- ByteTrack
- YOLOv8 plate detector
- quality assessor
- best-shot storage
- 9-point homography
- outlier rejection
- per-class speed limits
- Prometheus
- Grafana
- MLflow
- Streamlit
- WebSocket updates
