AI-Powered parking spot detection based on CCTV footage
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
static
templates
.gitignore
README.md
README_PL.md
add_spot.py
api.py
cctv.py
config.py
model.py
utils.py

README.md

PARQ

AI-Powered parking spot detection based on CCTV footage

🇺🇸 English | 🇵🇱 Click here to see Polish readme

About

The main idea behind the project was to solve one of the most important issues in almost every modern city in the world - parking issue. You may think that parking sensors are the solution, but they also can get pretty expensive. Meanwhile, above all those parking spots, live CCTV footage from the security cameras is frequently transmitted to some WWW websites. This solution aims to use those kinds of cameras - that are open for public.

Technology

In order to solve the issue, PARQ uses Deep Learning approach - Applying Convolutional Neural Networks to each parking spot, it is able to predict with 95% of accuracy (depending on the camera angle), which spot is occupied and which one is empty. Keras model (with TensorFlow backend) was trained on dataset retrieved from Polish open CCTV footage on shopping mall parking in Inowrocław. The server is based on Python Flask.

Current progress

Data about all parking spots is saved in local database (currently updated manually by requesting /update page) and then loaded directly with HTML files or fetched by JS scripts. PARQ can display each spot in columns to let users know the exact location of empty spot. Each spot location has to be added with add_spot.py.

Real parking imagePARQ representation

Future

As of now, PARQ is limited to web service, but in the future it will also be available as iOS/Android app. Besides target platform, PARQ should be able to automatically detect each parking spot itself (currently coordinates of each one have to be added in add_spot.py).