This project demonstrates how to perform vehicle detection in images or video using the YOLOv3 (You Only Look Once) object detection model and OpenCV in Python.
Before running the code, ensure you have the following dependencies installed:
- Python 3.x
- OpenCV (cv2)
- numpy
You'll also need the YOLOv3 files:
yolov3.weights
: Pre-trained weights fileyolov3.cfg
: Configuration filecoco.names
: Class names file
You can download these files from the official YOLO website or repository.
- Clone this repository:
git clone https://github.com/yourusername/vehicle-detection.git cd vehicle-detection
Customization You can customize the project by adjusting the confidence threshold, tweaking parameters, or using different pre-trained models for object detection.
Author-- Ayush singh sikarwar