This project uses YOLOv8, a CNN-based object detection model, to detect vehicles from traffic images and dynamically allocate green signal timings based on lane-wise vehicle density.
- Vehicle Detection using YOLOv8
- Lane-wise Vehicle Counting
- Traffic Density Estimation
- Dynamic Signal Timing
Traffic Vehicle Object Detection Dataset (Kaggle)
- Train YOLOv8 on traffic images.
- Detect vehicles from road images.
- Divide image into three lanes.
- Count vehicles in each lane.
- Assign green signal duration.
Formula:
Green Time = 15 + 2 × Number of Vehicles
- Precision: 0.847
- Recall: 0.953
- mAP50: 0.942
- mAP50-95: 0.617
- Python
- YOLOv8
- OpenCV
- PyTorch
- Ultralytics
Swaroop Mudholkar