Skip to content

Parking spot detection system using openCV image processing to detect vehicles in a parking spot.

Notifications You must be signed in to change notification settings

mujtaba-farooq/Parking-Spot-Detection-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Parking Spot Detection System

Parking spot detection system using openCV image processing to detect vehicles in a parking spot.

How does it works

  • A prerecorded video file
  • A yaml file with all the coordinates of the parking spots
  • openCV library used to detect a vehicle in a parking spot
  • If vehicle found, the parking spot is booked i.e. red, otherwise available i.e. green

Installation

Installing the required packages

pip install -r requirements.txt

To run this program locally:

python main.py

Working

As soon as the program starts, a video starts running with the predefined spots. These spots are imported from the video.yml file with contains the coordinates on the screen.

The model detects which spots are booked and with spots are available and color codes it with red for booked and green for available.

As soon as a vehicle is parked at an available spot, the models detects its and changes the color of that spot from green to red, identifying it as booked.

About

Parking spot detection system using openCV image processing to detect vehicles in a parking spot.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages