In this repository, we provide:
- Codes to reproduce all of our results
- Project report that describes all the methods used in the developement of this project
- Links for the ACPDS dataset
- Links for the Custom dataset
With the increasing number of vehicles on the road, parking spaces have become scarce resources in urban areas, and it can be challenging to find available spots, especially for people with disabilities. Automatic parking space detection can not only facilitate the process of looking for an available parking spot but also help drivers save time and effectively reduce emissions as well as traffic congestion by navigating directly to the pre-suggested spot.
In parking lots, there are some spaces allocated to people with disabilities to improve their accessibility to the spots. To help them automatically find those spaces, we proposed an image-based smart parking system that looks for available regular and accessible parking spots. Thus, this project highlights the importance of developing automatic parking systems with special attention to accessible parking spots in order to create a more equitable and accessible urban environment.
We split the project into three main tasks.
-
Parking space detection
- Detects the location of each parking spot in a parking lot
- Classifies the occupancy of each spot
-
Handicap mark detection
- Finds the location of the painted handicap marks on the ground
-
Final detector
- Combines outputs of parking space and handicap mark detectors
- Outputs regular and accessible parking spot along with their occupancy
-
ACPDS: The dataset contains 293 images captured at a roughly 10-meter height using a GoPro Hero 6 camera (paper and repo).
Here is a sample from the dataset:
-
Custom dataset: Combination of ACPDS and online resourses.
Here is a sample from the dataset:
- Parking Space Detector
Metric | IoU | Valid Box IoU | Valid Segm IoU | Test Box IoU | Test Segm IoU |
---|---|---|---|---|---|
mAP | 0.5 | 0.622 | 0.563 | 0.537 | 0.473 |
mAP | 0.5:0.95 | 0.334 | 0.300 | 0.260 | 0.229 |
mAR | 0.5:0.95 | 0.421 | 0.368 | 0.339 | 0.291 |
- Handicap Mark Detector
Metric | IoU | Valid Box IoU | Test Box IoU |
---|---|---|---|
mAP | 0.5 | 0.830 | 0.732 |
mAP | 0.5:0.95 | 0.617 | 0.501 |
mAR | 0.5:0.95 | 0.702 | 0.573 |
To run inference on the trained model and get the prediction, run main.py. It gets the model predictions given an image and draw predictions on the images to visualize the outputs.
To reproduce our full results or further improve the models performance, please refer to the modules README.md files.
@misc{kimiayuchen2023imagebased,
title={Image-Based Parking Space Detection and Occupancy Classification},
authors={Kimia Afshari, Yuchen Hou},
year={2023}
}