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:

  1. Real-Time vehicle detection and tracking
  2. Traffic volume monitoring
  3. Warning for high traffic volume

PREREQUISITES:

  1. Python 3.8.5
  2. OpenCV library (cv2)
  3. NumPy library (numpy)

Installation:

  1. Install Python 3.8.5 from [https://python.org] (https://www.python.org/downloads/)
  2. Install required libraries: pip install opencv-python numpy

Usage:

  1. Clone or download the repository.
  2. Place your video file named video.mp4 in the same directory as the program.
  3. Run the program: python vehicle_detection.py
  4. The program will display the original video stream with vehicle detection and traffic volume monitoring.

Configuration:

  1. 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:

  1. Make sure to adjust the parameters according to your specific requirements and video characteristics.
  2. 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