/Vehicle-Detection-Classification-and-Counting

Project on Vehicle Detection, Classification, and Counting. Done in python using OpenCV.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Vehicle-Detection

Vehicle tracking is the process of locating a moving vehicle using a camera. Capturing vehicles in video sequences from surveillance cameras is a demanding application to improve tracking performance. This technology is increasing the number of applications such as traffic control, traffic monitoring, traffic flow, security, etc. The estimated cost of using this technology will be very less. Video and image processing has been used for traffic surveillance, analysis, and monitoring of traffic conditions in many cities and urban areas. Vehicle detection aims to provide information assisting vehicle counting, vehicle speed measurement, identification of traffic accidents, traffic flow prediction, etc.

MODULES :

  1. Vehicle Detetction
  2. Vehicle Classification
  3. Vehicle Counting

FILES:

  • PROGRAMS/
    • Main.py : The main program to run the file
    • Vehicle.py : Contain the class Vehicle
    • fgbgMOG2.py : Simple program to show the backgound subracted video
    • thresholding.py : Program to binarize the subracted grayscale video ,basically done after background subtraction
    • Opening.py : Program to perform morphological opening operation
    • Closing.py : Program to perform morphological closing operation
  • VIDEOS/ : Contains the input video for vehicle detection
  • DETECTED VEHICLES/ : Contains the images of vehicles detected from the video