Skip to content

ParkEase is a computer vision project designed to automatically detect free parking spaces in video recordings. It leverages OpenCV libraries to process video frames and identify designated parking areas.

Notifications You must be signed in to change notification settings

SatyamDevv/ParkEase-Parking-Space-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Park Ease

ParkEase is a computer vision project designed to automatically detect free parking spaces in video recordings. It leverages OpenCV libraries to process video frames and identify designated parking areas.

Features

  • Video Input: Processes video files to analyze parking space occupancy over time.
  • Pre-defined ROIs: Utilizes pre-defined regions of interest (ROIs) to focus on specific parking space locations within the frame.
  • Image Preprocessing: Applies grayscale conversion, Gaussian blur, adaptive thresholding, and median blur for noise reduction and image segmentation.
  • Parking Space Analysis: Iterates through ROIs, extracts cropped images for each space, and analyzes pixel intensity to determine occupancy. A user-defined threshold is used to classify empty (green) and occupied (red) spaces.
  • Visualization: Overlays text on the processed frame to display parking space numbers and occupancy status.
  • MongoDB: Mongodb added to store the parking Space Data on Cloud.

Installation

Import these Library Before Running

pip install opencv-python
pip install pickle
pip install cvzone
pip install pyqt5

How to Run

Change Video and casPos file path to Your Local Video Path

Run the mainwithui.py file

python mainwithui.py

Screenshots

Basic UI to run Program

Basic UI

Detecting Spaces in Video

Space Detection

Creating Frames for every Spaces

Make Frames

UI for User can see Free, Occupied, Total Spaces, and Free Space Location

User UI

MongoDB Structure of storing data

User UI

Known Issues

  1. Running create frame and detecting Spaces Crash the Program.
  2. We can Open User UI without Detecting Spaces.

Future Plans

  1. Add a Database so we get real time parking space data any where any time. (Done ✅)
  2. Add a way to represent the Available, Occupied, Total Spaces in userui with its location and path to go there. (Done ✅)
  3. Improve overall ui and Clean the code.

About

ParkEase is a computer vision project designed to automatically detect free parking spaces in video recordings. It leverages OpenCV libraries to process video frames and identify designated parking areas.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages