Professional Documents
Culture Documents
INTELLIGENT
PARKING LOT
By,
2. Introduction 4
3. Software Used 5
4. Proposed System 6
7. Code 10
9. Conclusion 16
10. References 17
2
ABSTRACT
A parking lot would be simulated in our program. The proposed
system assigns the vacant spots efficiently and displays the parking
fee based on the time spent in the lot. The project aims at reducing
human intervention. We have incorporated a provision for the
authorities to get the summary of the parked vehicles in the lot.
3
1. INTRODUCTION
1.1 Problem statement
Drivers waste a lot of time driving aimlessly around a
parking lot searching for a vacant parking spot to park in.
During busy days, this would cause traffic congestion at the
lot, making the problem worse. Having different types of
parking spot for vehicles of different sizes and weights
would lower the chances of a jam while making it easier for
drivers to find parking spots suitable for them. But using the
traditional method makes this difficult to manage. More
human resources would be needed in order collect fees and
to keep track of the vehicles at the lot.
1.2 Solutions
An algorithm will manage this simulated parking lot. The
lot has different types of parking spots for vehicles of
different types (car/truck/motorcycle). A core feature of our
system is to assign the vehicles entering this lot a vacant
parking spot suitable for them. The spot is chosen in a way
that maximizes efficiency and reduces the time the driver
must spend in the lot. A fee would be charged on exit.
4
2. SOFTWARE USED
We have used Python for the logic and algorithm, and HTML 5
and a module named Django in Python for the user interface.
2.1 Python
Python is an interpreted, object-oriented, high-level
programming language with dynamic semantics. It is easy
to develop any sort of application in it. For our purposes,
it had premade libraries suitable for this project. It would
be simple and straight forward to add any features in the
project in the future by using this language.
2.2 HTML 5
HTML5 is a markup language used for structuring and
presenting content on the World Wide Web. We have used
it in combination with Django to provide a user interface
for the simulation.
5
3. PROPOSED SYSTEM
3.1 Entering the Details of the Vehicle
The program would ask the driver for the plate number and the type
of vehicles he is driving (car/truck/motorcycle). The program would
then check if the plate number given is a duplicate or not. If not, then
it would throw an error and then ask the driver for the correct info
once again.
3.2 Getting the best suited parking spot for the vehicle
A list of available vacant parking spots is maintained, and the
algorithm picks a vacant spot for the vehicle according to its type.
6
4. ALGORITHM AND FLOWCHART
4.1 Entering the lot
Step 1 => Plate number received from the entry box
• If the plate number turns out to be a duplicate, you will be returned to
the main menu
Step 2 => Vehicle type selected from the dropdown
Step 3 => The first spot in the list of available vacant spots is assigned
to the vehicle to park in
Step 4 => Plate number, vehicle type, entry time and the spot
assigned to the vehicle are stored in a local database
7
4.3 Finding a vehicle
Step 1 => Plate number of the wanted vehicle will be entered in the
entry box
• If the plate number doesn’t match any of those in the database,
you would be returned to the main menu
Step 2 => Get the information of that vehicle from the database
Step 3 => Information will be displayed to the user
8
5. ADVANTAGES AND FUTURE SCOPE
5.1 Advantages
Implementing this system would nearly eliminate the need for human
intervention and reduce the chances for congestion in the lot. The
authorities could keep track of the events happening at the parking lot
and that data could be used for further improvements. And adding new
features and upgrades will be easier since would not need to retrain staff
members.
9
6. CODE
11
3 admin.py
12
4 veiw.py
13
5 helpers.py
14
7. RESULTS AND DISCUSSION
7.1 Result
7.1.1 Playthrough Video
7.2 Discussion
All features and functions that were proposed are now implemented and
are working as intended. The web interface provides a mean for user to
give inputs to the simulation and the authorities to get data.
15
8. CONCLUSION
16
References
• https://docs.python.org/3/
=> Python 3 Documentation
• https://docs.djangoproject.com/en/4.1/
=> Django Documentation
17