Skip to content

thanhhoangvan/Parking-Spot-Tracking

Repository files navigation

Parking Spot Tracking

Use AI to track parking time. Number of parking spaces

2022-04-28.07-56-41.mp4

Requirements

  • keras==2.8.0
  • numpy==1.22.3
  • opencv-python==4.5.5.64
  • scipy==1.8.0
  • tensorflow==2.8.0

How to run:

  • create virtualenv and activate
$ python3 -m vỉrtualenv venv
$ source venv/bin/activate
  • install all package in requirements.txt
(venv) $ pip install -r requirements.txt
  • run main.py script
(venv) $ python main.py

Other dataset:

Step 1: Marking parking area positions

Screenshot from 2022-04-23 02-07-49

Step 2: Crop all parking slot image from frame of video to dataset

run script: ParkingAreaPosition2CSV.py

Step 3: Tranning model to classification beweent car nan non_car in parking slot

run script: trainning.py

Step 4: Predict

run script main.py

Releases

No releases published

Packages

No packages published