vehicle detection
To create a system to identify and count vehicles using images and video streams using computer vision techniques
VEHICLE DETECTION AND TRAFFIC MONITORING SYSTEM
This Python program detects vehicles in a video stream and monitors traffic volume using computer vision techniques. It utilizes OpenCV for video processing and vehicle detection.
FEATURES:
- Real-Time vehicle detection and tracking
- Traffic volume monitoring
- Warning for high traffic volume
PREREQUISITES:
- Python 3.8.5
- OpenCV library (cv2)
- NumPy library (numpy)
Installation:
- Install Python 3.8.5 from [https://python.org] (https://www.python.org/downloads/)
- Install required libraries: pip install opencv-python numpy
Usage:
- Clone or download the repository.
- Place your video file named video.mp4 in the same directory as the program.
- Run the program: python vehicle_detection.py
- The program will display the original video stream with vehicle detection and traffic volume monitoring.
Configuration:
- You can adjust parameters such as minimum width and height of detected rectangles, count line position, and offset for vehicle detection in the program code.
Additional Notes:
- Make sure to adjust the parameters according to your specific requirements and video characteristics.
- This program assumes a constant camera angle and relatively stable lighting conditions for accurate detection.
Fazeela _Fazila
Fazeelamol S
Vrinda Vavachan
Project created by Fazeela _Fazila
2 March 2024