Skip to content

arjiomega/CarPark_ComputerVision

Repository files navigation

Parking Lot Availability Counter (Computer Vision Project)

output

This is a computer vision project that detects location of available parking slots and total available slots available as shown in the upper left of the gif above.

How it works

pixels The availability of a slot is detected by counting the number of nonzeros in each box for each slot.

slotpixels we can see here that the white pixels indicating that there is something in the slot. The number of nonzero pixels is counted for each slot and compare it to a threshold to decide if it is available or not.

SETUP

setup environment using venv

python3.10 -m venv .env

load project environment (windows)

.\.env\Scripts\activate

install required libraries

pip install -e .

prepare data

python load_data.py

run

cv_carpark

press 'q' key to stop

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages