This project performs real-time vehicle detection and speed estimation using the YOLOv8 object detection model. It analyzes video frames, tracks vehicle movement, and estimates their speed using calibrated distances and time-based calculations.
- Vehicle detection using YOLOv8 (Ultralytics)
- Speed estimation based on real-world distance and frame time
- Real-time or video file input support
- Annotated output with bounding boxes, labels, and estimated speed
- Vehicle counting across a virtual line
- Python 3.8+
- Ultralytics YOLOv8
- OpenCV
- NumPy
**vehicle-speed-estimation-yolov8/ │ ├── yolov8_vehicle_speed.py # Main script ├── utils.py # Helper functions ├── videos/ # Input videos ├── outputs/ # Output videos ├── requirements.txt # Python dependencies └── README.md # This file
**