An Effective Approach for Smart Parking Management
An Effective Approach for Smart Parking Management
net/publication/365830133
CITATIONS READS
2 378
4 authors:
All content following this page was uploaded by Ahmed Alsheikhy on 13 December 2022.
https://doi.org/10.18280/isi.270511 ABSTRACT
Received: 2 June 2022 Drivers and motorists get annoyed when it takes a long time to find a vacant space in a
Accepted: 31 August 2022 parking lot. Looking for parking has become a headache as the number of vehicles in urban
cities and the cost of land concurrently increase. There is an urgent need for innovation in
Keywords: smart parking systems. Currently, investors and contractors pay laborers to operate and
smart management system, smart cities, maintain smart parking systems. Staff duties may include opening and closing gates, giving
efficient method, image segmentation, directions to drivers and motorists, and managing payments associated with the lot. This
digital services, automatic services article proposes a feasible, dependable, and smart algorithm for managing a parking system.
This algorithm utilizes image processing techniques to provide real-time data. No labor is
required to operate and handle the system. The system itself automatically handles all
operations except maintenance. Furthermore, this algorithm is more cost-effective than
other similar systems and equally effective. Numerous simulation scenarios were carried
out on MATLAB to verify its developed approach. A comparison evaluation juxtaposes the
proposed approach with other solutions in the literature. This evaluation clearly indicates
that the presented method outperforms other solutions in terms of technologies being used,
devices being utilized, and cost.
783
4) Provide numerous municipal services through different proposed method. The discussion and results are presented in
technologies. Section 4, and Section 5 concludes the paper.
2. RELATED WORK
784
perform the desired functions. One of its drawbacks was that addition, these operations are fully automated. Furthermore,
since its services depended on the internet, the system could several filters are utilized as well to either remove the noise or
be completely off if no internet connection was detected by the improve the quality of captured images or video frames from
system. Our presented system requires no internet service as live video streams. Figure 4 illustrates components of the
the captured images or video streams are fed directly to a host proposed and presented system.
machine through a direct connection media.
Satyanarayana et al. [13] developed an advanced smart
parking system using an IoT technology. The technology
identified vehicles and showed the number of vacant spaces at
an entrance gate of the parking lot. In addition, it provided a
shortest path from the entrance gate to a vacant space and gave
directions to users through a display media. An Optical
Character Reader (OCR) and IR sensors were used to capture
vehicle plate numbers. This approach is similar to our
proposed system. However, the presented method herein is
more cost-effective compared to the implemented system
proposed by Satyanarayana et al. given the use of the single
camera instead of sensors. Interested readers can refer to
Satyanarayana et al. for additional information.
Mangwani [14] developed a smart parking system based on
an IoT method. This system utilized the IoT approach that
enabled drivers to monitor and book vacant spaces. It used a
sensor in every parking slot to send data to a central controller
Figure 4. Components of the proposed system
in a server. It used the internet service to provide real-time
information to drivers. This system could become very costly
The components in Figure 4 can be added to depending on
if the parking area was huge since every parking designated
the requirements and needs of the user. Additional hardware
space required a sensor to be installed in it. The cost of the
can be easily added upon request.
presented approach, in contrast, can be less than $100 for any
The presented algorithm provides several benefits,
size parking lot.
summarized as follows:
Bhoyar et al. [15] developed a smart parking system based
i. Removes human labor cost.
on an IoT technology and cloud computing as well. This
ii. Reduces air pollution.
system claimed to increase the efficiency of an existing cloud-
iii. Provides a sustainable environment.
based smart parking system by developing a new network
iv. Increases the parking revenues.
architecture using the IoT technology. Using this system,
v. Being environmentally friendly.
drivers could search for vacant spaces by utilizing a paid
vi. Automates all operations.
service. This paid service considered parking lots within a
vii. Enhances drivers’ experiences.
determined radius from a driver and displayed the number of
available vacant spaces near him or her. Wireless sensor
Figure 5 depicts a flowchart of the developed and
networks, IoT technology, and an RFID were utilized in the
implemented system.
implemented system. The authors provided no information
about experiments conducted to test and verify their system.
In addition, their system was costly since numerous WSNs,
RFIDs, and IoT technologies were involved along with a cloud
server and a web application. As stated, the proposed system
only requires one camera. No other tools are used unless there
is a need to integrate this approach with additional features or
systems, such as notification delivery for drivers who parked
their vehicles in the parking lots.
Jawad et al. [16] designed and implemented a smart car
parking system. It sent signals to either open or close gates
according to the status and conditions of a considered parking
lot. In addition, it worked based on a piezoelectric sensor,
which detected the weight of vehicles. An Arduino
microcontroller was used to control all operations along with
a seven-segment display. The proposed algorithm is more
cost-efficient than the developed system proposed by Jawad et
al., given its minimal need for equipment.
785
parking lot since the fiber cable provides more data 1. Scan the parking lot every time a vehicle enters or
transmission in less time. If the camera sends images, then leaves.
these images are processed one by one. Otherwise, video 2. If no vacant spaces are available, then:
streams are processed frame by frame and converted into 3. Display a message to inform drivers and keep gate
frames using a built-in function in MATLAB. closed.
The second step is the preprocessing stage in which noise is 4. Else.
removed and the quality of the captured image or video frames 5. Remove noise from captured image.
is enhanced. Then, this data is converted into grayscale. This 6. Transform the resultant image into a gray image.
process prepares data for the processing and segmentation 7. Determine the dimensions of the parking area.
techniques. 8. End of Preprocessing phase.
The next step performs the utilized processing and 9. Assign the total number of parked vehicles to the
segmentation methods in MATLAB using numerous functions. threshold variable.
These functions require some toolboxes to be already installed 10. Subtract captured image of current parking area from
and run in a host machine. In this stage, the captured images the parking map structure.
or frames are resized based on the size of the parking lot. Then, 11. For i = 1: length of parking area
a matrix of two dimensions dependent on the size of the 12. For j = 1: width of parking area
utilized images or video frames is created. Outputs from this 13. Do the following:
stage are used to determine the number of vacant spaces, the 14. Find resultant image from subtraction process and
number of already parked vehicles, and the lanes where these compare it with the threshold.
vacant spaces are located. The processing and segmentation 15. If result > threshold, then:
techniques detect vehicles in the designated parking area, 16. Place 1 in the current index,
determine the total number of available spaces, and assign it 17. Else.
to a parameter (a). Then, a threshold parameter (b) is assigned 18. Place 0.
to the obtained number of detected vehicles in the parking lot. 19. End // refers to the if statement.
The equation to compute the number of vacant spaces 20. End // refers to the inner loop.
parameter (C) in the parking lot is: 21. End // refers to the outer loop.
22. Check which lanes have vacant spaces to, choose the
C=a–b (1) nearest lane to direct drivers to it.
23. Compute the total number of vacant spaces in the
If the value of C is 0, then, it means the parking lot is full. determined lanes.
In this case, the proposed algorithm keeps the entrance closed 24. Open the entrance gate.
and displays a message to inform drivers or motorists about 25. Display instructions for them to park.
the status and conditions of the parking area. When C is > 0, 26. Decrement the total number of vacant spaces.
then, the system determines which nearest lane has vacant 27. Increment the total number of parked vehicles.
spaces available. This lane is given to drivers or motorists 28. End of algorithm.
along with directions to that lane. The presented system then
opens the entrance gate.
The determination of the lane is performed using the
processing and segmentation approaches. The number of 4. RESULTS AND DISCUSSION
vacant spaces in the determined lane is computed using
processing and segmentation methods that determine how Several simulation experiments were conducted in
many vehicles are parked and the total number of vacant MATLAB to validate all of the operations and verify the
spaces in the determined lane. Both values are assigned to correctness of the workflow of the proposed system. These
variables (d) and (e) respectively. The following equation is experiments were carried out on MATLAB R2017b which
used to compute the total number of vacant spaces (F). runs on any machine that uses Windows as its operating
system. This version of Windows is Windows 11 Pro. This
F=d–e (2) machine’s specifications include an Intel chip of 8th
generation of i7, 2 GHz of the clock pulse, and 16 GB of RAM.
After a vehicle enters and parks, the algorithm decrements In addition, it is a 64-bit based system.
the total number of vacant spaces and increments the total A free built-in software in Windows is utilized to draw the
number of parked vehicles as follows: images for the simulation experiments. In these images, a
vehicle is represented by X, as illustrated in Figure 6, which
F=F–1 (3) shows a general parking lot with 3 lanes and 2 gates, one for
entry and another for exit. This parking lot accommodates a
b=b+1 (4) maximum of 40 vehicles. The presented algorithm produces 3
subgraphs when the parking lot reaches its maximum capacity
The pseudo code of the proposed system is as follows: and 4 subgraphs when vacant spaces are detected.
Two scenarios were conducted using the drawn images
Algorithm: Smart Parking and Management System from the software. Scenario 1 represents the parking lot when
40 vehicles are parked in it, meaning it has reached capacity,
Input: Real-time images or live video streams.
and there is no place for a new vehicle. Scenario 2 refers to the
Output: Number of parked vehicles, nearest lane to the
same parking lot when it holds 24 vehicles.
drivers or motorists, number of vacant spaces and directions
to these spaces.
786
Scenario 2
Figure 8 illustrates the obtained outputs from the proposed
approach. It shows that the parking lot is occupied by 24
vehicles and 16 vacant spaces are available. Figure 9 depicts
the obtained numerical values from the presented method.
For Scenario 3 and Scenario 4, two images of real parking
areas were downloaded from Google, links for which are
available in [17, 18]. Scenarios 3 and 4 demonstrate the
system’s usage in real parking areas with vacant spaces.
Scenario 1
Figure 7 depicts the parking lot at full capacity with no
vacant spaces. In this scenario, drivers are instructed to look
for alternative parking areas. This Figure includes 3 subgraphs
that represent the obtained outputs from the proposed system.
The display message is also included in the Figure.
787
Table 1. Comparative evaluation results
Evaluation criteria
Works
Methodology Accuracy Utilized equipment The cost
Dhamane et al. Not Arduino, Radar, GSM sensors, cloud server, Android
IoT costly
[2] mentioned application and Wi-Fi module
Image segmentation and Not
Waqas et al. [3] Camera, web server, DB server, and internet service costly
preprocessing mentioned
Sulthana & Badu Not GPS, GSM, WI-FI module, Raspberry Pi, IR sensors,
IoT costly
[5] mentioned ultrasonic sensors, LED lights
The Proposed Image segmentation and very
> 96% One camera only
System preprocessing cheap
Scenario 3
A real parking lot with an 18-vehicle capacity is depicted in
Figure 10. Two vacant spaces are shown available. The
obtained results from the presented system are included.
Figure 11 shows the obtained numerical results after applying
the presented algorithm.
Scenario 4
Another real parking lot is shown in Figure 12, Figure 13
refers to the obtained numerical results of Scenario 4.
5. CONCLUSION
788
[5] Sulthana, S., Badu, N. (2020). Smart parking system. parking system using IoT. International Journal of
International Journal of Engineering Science and Advance Research, Ideas, and Innovations in
Computing, 10(5): 26069-26075. Technology (IJARIIT), 5(2): 463-466.
[6] Mani, R.M., Bhat, V.V. (2020). Smart parking system. A [14] Mangwani, P. (2018). Smart parking system based on
project report, Visvesvaraya Technological University. Internet of Things. International Journal of Applied
[7] Chougula, B., Tigadi, A., Jadhav, S., Rudrappa, G. Engineering Research, 13(12): 10281-10285.
(2020). Automatic smart parking and reservation system [15] Bhoyar, K., Avatade, M., Gavhane, S.V., Bhoyar, K.
using IoT. Bioscience Biotechnology Research (2018). Smart parking system using IoT and cloud
Communications (BBRC), 13(13): 107-113. computing. International Journal of Creative Research
http://dx.doi.org/10.21786/bbrc/13.13/15 Thoughts (IJCRT), 6(2): 1317-1320.
[8] Elsonbaty, A.A., Shams, M. (2020). The smart parking [16] Jawad, A.A.A., Hassan, M.F., Muhsen, Z.H. (2016).
management system. International Journal of Computer Design and implementation of smart car parking system.
Science and Information Technology (IJCSIT), 12(4): Bachelor Thesis, Al-Mustaqbal University College.
55-60. https://doi.org/10.5121/ijcsit.2020.12405 https://www.researchgate.net/publication/320356747_D
[9] Al Qaidhi, W.Z., Sohail, M. (2019). Smart parking esign_and_Implementation_of_Smart_Car_Parking_Sys
system using IoT. Journal of Student Research, pp. 1-6. tem.
https://doi.org/10.47611/jsr.vi.881 [17] https://www.freepik.com/premium-photo/top-down-
[10] http://smartparking-systems.com/katalog/SmartParking- aerial-view-many-cars-parking-lot-supermarket-sale-
EN-WIROMET-SA.pdf, accessed on July 11, 2022. car-dealer-
[11] https://www.rli.uk.com/neom-sets-sight-on-ambitious- market_12308050.htm#&position=8&from_view=detail
goal/, accessed on July 12, 2022. #&position=8&from_view=detail, accessed on July 13,
[12] https://www.mokosmart.com/smart-parking-system- 2022.
using-iot/, accessed on July 12, 2022. [18] https://www.smh.com.au/world/womenonly-parking-
[13] Satyanarayana, D., Dulla, M., Giduturi, A.A., Chandra, bays-sexist-or-not-they-exist-in-germany-20150811-
D.S., Prathap, S. (2019). Developing an advanced smart giw3rn.html, accessed on July 13, 2022.
789