Automatic parking slots detection using Python

In summary: I have a Deep Machine Learning course and would like to do my course project about "Available Parking Slots Detection using Deep Machine Learning Based on Image Processing".So it sounds like you have some flexibility in your project definition then? In that case, it would probably help the success of your project (and your grade) if you could pick a practical application to apply your program to.I'd suggest doing some more research on practical parking space applications, and then chosing one of those or focusing on the airport parking lot application with fixed security cameras. Airport parking lots will typically have lots of cameras for security monitoring, so piggybacking on that infrastructure to add a big customer convenience application like available parking spot identification
  • #1
falyusuf
35
3
TL;DR Summary: How to automatically detect the parking slots using Python?

I have a Deep Machine Learning course and would like to do my course project about "Available Parking Slots Detection using Deep Machine Learning Based on Image Processing".
My plan is to split the project into two parts: selector part and detector part.

For the selector part; how to automatically select the parking slots in the parking area? using what algorithms?
 
Last edited:
Technology news on Phys.org
  • #2
falyusuf said:
TL;DR Summary: How to automatically detect the parking slots using Python?

I have a Deep Machine Learning course and would like to do my course project about "Available Parking Slots Detection using Deep Machine Learning Based on Image Processing".
My plan is to split the project into two parts: selector part and detector part.

For the selector part; how to automatically select the parking slots in the parking area? using what algorithms?
Since this is for a schoolwork project, please tell us what you have found so far. Also, how are you going to be given the input data? Will it be some video file that is recorded while driving around a parking lot or something? What are the constraints on that video input? Time of day/night, lighting, shadows, parking stall markings, backgrounds, etc.?

What is your experience so far with Python?
 
  • #3
Several related works have manually selected parking slots using different methods, such as selecting the region of interest (ROI) through mouse clicks or determining the coordinates of each parking slot through trials and errors (which I used in my previous course project). However, these methods are not practical for large-scale parking areas and are challenging to use when selecting parallel parking spaces. Therefore, I am searching for automatic parking slot detection and updating my previous project.

I have prior experience with Python in a project that involved detecting parking slot availability through image processing. In that project, I took a picture of the parking area and manually selected the slots, as previously mentioned. I then segmented the image into five images, each representing a parking slot. The next step involved converting each image from RGB to grayscale, using the Canny function to obtain edges, counting the white pixels in each edge image, and determining if the number of white pixels was large enough to classify the parking slot as occupied (if there was a car) or free.

Challenges: Manually selection of parking slots. The challenge is that rain spots on the parking slots themselves may be detected as white pixels in the edge image, leading to incorrect detection.

My new idea is: Record a video from a high vantage point of the parking area using a laptop webcam. Use algorithms to automatically detect the parking slots and load a large dataset of images of free and occupied parking slots in Python to train a predictive model. The model will determine whether the parking slot is free or busy, and the border color of the slot will change to green or red, respectively, to indicate its status.
 
  • Like
Likes berkeman
  • #4
I understand that this is a school project, but is there a projected application in mind? For example, for fixed cameras in an airport parking lot to be able to identify available empty slots to direct airport customers to? Or fixed cameras in a parking structure to direct customers to?

Any example pictures or videos that you can post will help this discussion.
 
  • #5
berkeman said:
but is there a projected application in mind?
Not yet.
I searched for projects in this topic but still did not get any.
 
  • #6
falyusuf said:
Not yet.
I searched for projects in this topic but still did not get any.
falyusuf said:
I have a Deep Machine Learning course and would like to do my course project about "Available Parking Slots Detection using Deep Machine Learning Based on Image Processing".
So it sounds like you have some flexibility in your project definition then? In that case, it would probably help the success of your project (and your grade) if you could pick a practical application to apply your program to.

I'd suggest doing some more research on practical parking space applications, and then chosing one of those or focusing on the airport parking lot application with fixed security cameras. Airport parking lots will typically have lots of cameras for security monitoring, so piggybacking on that infrastructure to add a big customer convenience application like available parking spot identification would be a good thing.

Maybe check out typical airport parking lot video monitoring setups (if you can get security clearance for that) to see what the coverage and video artifacts look like.
 
  • #7
berkeman said:
So it sounds like you have some flexibility in your project definition then?
Yes, we can choose any topics related to Deep Machine Learning. I can redo my previous project in a different way; by training a model using deep ML. However, I want to improve it even more by selecting the slots automatically and that's what I am looking for.
Here's some of the results from my previous project.
selection.png

detection.png
 

1. What is automatic parking slots detection?

Automatic parking slots detection is a technology that uses computer vision and image processing techniques to identify and locate available parking spaces in a parking lot or garage. This is typically done using cameras mounted in strategic locations that capture images of the parking lot and analyze them to detect empty parking spaces.

2. How does Python play a role in automatic parking slots detection?

Python is a popular programming language that is used in many fields, including computer vision and image processing. In the context of automatic parking slots detection, Python can be used to develop algorithms and code that can analyze images from cameras and identify parking spaces. It can also be used to integrate the detection system with other components, such as a user interface or a database.

3. What are the benefits of using automatic parking slots detection?

Automatic parking slots detection offers several benefits, including improved efficiency and convenience for drivers. By accurately identifying available parking spaces, it can save drivers time and frustration by directing them to open spots more quickly. It can also help parking lot operators optimize space usage and potentially reduce the need for human attendants.

4. Are there any limitations to automatic parking slots detection using Python?

While automatic parking slots detection can be a useful tool, there are some limitations to consider. For example, the accuracy of the system may be affected by factors such as lighting conditions, weather, and obstructions in the parking lot. Additionally, the system may not be able to detect small or unconventional parking spaces, such as motorcycle or compact car spots.

5. Can automatic parking slots detection using Python be integrated with other technologies?

Yes, automatic parking slots detection using Python can be integrated with other technologies to create a more comprehensive parking management system. For example, it can be connected to a mobile app that allows users to view available parking spaces in real-time and reserve a spot. It can also be integrated with sensors or RFID technology to track the occupancy of parking spaces and provide more accurate data for the detection system.

Similar threads

  • Programming and Computer Science
Replies
1
Views
1K
  • Programming and Computer Science
Replies
17
Views
1K
  • Programming and Computer Science
Replies
1
Views
732
  • Programming and Computer Science
Replies
13
Views
3K
  • Programming and Computer Science
Replies
3
Views
1K
  • Programming and Computer Science
Replies
13
Views
4K
  • Programming and Computer Science
Replies
17
Views
2K
  • Programming and Computer Science
Replies
6
Views
3K
  • Programming and Computer Science
Replies
1
Views
597
Replies
7
Views
243
Back
Top