Skip to content

mzhirko/convenient-parking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Convenient Parking

Steps to run

  1. Clone repo & cd to it
cd convenient-parking/
  1. Create venv & activate
python3 -m venv /path/to/new/virtual/environment
source /path/to/new/virtual/environment/bin/activate
  1. Install requirements
pip3 install -r requirements.txt
  1. Install weights file from M-RCNN
git clone https://github.com/matterport/Mask_RCNN/releases/download/v2.1/mask_rcnn_balloon.h5
  1. Run the program
python parking.py
  1. Don't forget to deactivate venv Checkout to the Dockerized branch if there are any problems with requirements.

Description

An application for recognizing free parking spaces. Mask R-CNN (model for object detection and instance segmentation on Keras and TensorFlow) was used in the implementation. I recommend to read its documentation, download weights file and move it to the project folder. No manual segmentation of the parking lot is required to detect available parking spaces, the space will be marked as free after the car mask disappears from there. Due to certain difficulties when running the program on different devices, it was decided to make a Dockerized version (located in a separate branch).

Demo

Parking - Animated gif output I hope i will add the version that works with 2nd TF, usage of TF v.1 causes too much warnings. That's about all...