Parking Space Monitoring A LoRa Based Approach
Parking Space Monitoring A LoRa Based Approach
2023 11th International Conference on Internet of Everything, Microwave Engineering, Communication and Networks (IEMECON) | 978-1-6654-7512-9/23/$31.00 ©2023 IEEE | DOI: 10.1109/IEMECON56962.2023.10092339
Approach
Mallikarjun B.C. Anantha Krishna G Mahantesha B.V.
Dept. of ETE Dept. of ETE Dept. of ETE
Siddaganga Institute of Technology Siddaganga Institute of Technology Siddaganga Institute of Technology
Tumkur, Karnataka state, India Tumkur, Karnataka state, India Tumkur, Karnataka state, India
mallikarjun_bc@sit.ac.in 1si18te003@sit.ac.in 1si18te022@sit.ac.in
Abstract— A huge growth of big cities, the number of be the value set else it will be set to 0. In computer vision, this
vehicles are increased significantly and large buildings and method of thresholding is executed on grayscale images. So to
parking lots have been built. Smarter parking systems need to begin with, the photo has to be converted in grayscale shade
be developed to assist drivers in finding nearby parking spaces space [3].
available. Various research efforts have been shown in
developed countries in such system implementation. There are The authors in [4], discuss the technique used for
four main types of systems of parking management: wired improving the detection of vehicle is by making use of
sensor based, image based, counter based, and based on wireless background subtraction algorithms. This procedure
sensors. This paper combines computer vision and LoRa eliminates unwanted parts and more accurately distinguishes
wireless technology and worked on image-based system to find the vehicle. Next, it tracks the vehicle in every frame
empty slot in the parking lot. Following the first edge detection depending upon the information fetched from the earlier
category, includes front/rear pixel rate, closed contour density,
and edge density. For all car parks to determine if the vehicle
frame. The results of experimentation are obtained in
exists or not and to update this information to the user using OpenCV, shows that the accuracy rate reaches nearly 97%
wireless technology in a way that saves power and performance for detecting objects and 98% for tracking objects.
offline while minimizing system maintenance costs.
It is also, vehicles travelling towards the same point in
Keywords—Vacant Parking Space Detection, Image either light or dark areas, or in other way around, may have
Processing, LoRa , OpenCV, Node to Node the same color because the background remains more
difficult to detect the vehicle. Yes, this is observed to lead to
I. INTRODUCTION
vehicle lead count errors [5]. The solutions to this was to use
Nowadays vehicles usage are increasing rapidly so much a background subtraction technique to register as a vehicle
so that search for an empty parking space is a challenge when the specified threshold was exceeded.
especially in big parking lots such as shopping, airports and
railway stations areas. some parking regions may be heavily A Parking slot will be considered as occupied when the
used while others may have more vacant slots. rectangle of that slot has high threshold pixels almost
Due to the heavy traffic and time required to find a parking throughout the outline. This indicates that there is a vehicle in
space, there is a need of a parking management system. that particular space, rectangle of that parking slot will be
Regularly there are two methods used for empty space turned to red colour. Each and every frame of video will
detection: image-based sensor supported systems. Image undergo grayscale and thresholding such that the parking lot
based systems have proven are cost effective and highly is been monitored constantly [6].
durable than sensor based parking systems[1]. The photo Mochamad Mobed Bachitar[7] developed parking
based parking space detection system can notify the driver
information system which delivers the information of free
directly through a separate display panel on the door of each
parking lot location using modern navigation system and also
parking slot or via a mobile phone [2].
used Haar cascade classifiers which is effective for object
Parking detection process tells how many free parking detection based on machine learning. The various input
slots are available or how many are occupied. The parking image cascading features will be in the form of both positive
detection operation is achieved by the image processing and negative images. The positive images are the target
concept called “thresholding”. Thresholding is a totally objects which are need to be detected. Negative images are
famous segmentation approach, used to distinct an object other objects which are not to be considered for detection.
taken into consideration as a foreground from its background. The HAAR Wavelet is compared to the average of two pixels.
A threshold is a number which has two domain on its either The compared value of average intensity is greater than the
aspect i.e. above or below the threshold. In thresholding, the threshold, then it is concluded that the target object is
threshold value is compared with each pixel value. If value of
occupied.
the pixel is greater than the required threshold, then 255 will
Authorized licensed use limited to: SIDDAGANGA INSTITUTE OF TECHNOLOGY. Downloaded on July 16,2024 at 04:34:05 UTC from IEEE Xplore. Restrictions apply.
resolution. The system will fail to produce the output if there A. Detection by Edge Pixel Counting
is discrepancy. The resolution setting therefore varies with the We begin with edge detection algorithm using the
adjustment of each camera. 640 x 480 is the recommended Prewitt edge operator, shown in Table 1:
resolution for raspberry pi camera module to get optimal
performance. even higher resolution like 1080p and 720p are Z1 Z2 Z3 -1 -1 -1 -1 0 1
supported. Z4 Z5 Z6 0 0 0 -1 0 1
Z7 Z8 Z9 1 1 1 -1 0 1
Image Neighborhood Mask of Gx Mask of Gy
Authorized licensed use limited to: SIDDAGANGA INSTITUTE OF TECHNOLOGY. Downloaded on July 16,2024 at 04:34:05 UTC from IEEE Xplore. Restrictions apply.
The LoRa module will serial communicate with the raspberry We extract the edge information for each parking slot the
pi and sends the data to receiver node without internet over a result of the edge detection is shown in Table 2.
long distance through unlicensed radio frequency (868 MHz)
whose range is nearly 5kms in urban and 15kms in suburban Table 2 results of Edge detection technique
areas. Space1 Space2 Space3 Space4 Space5
The receiver node receives the information and using Edge 381 280 559 703 315
internet the results are updated to could through which the user pixel
Decision occupied free occupied occupied free
can view the data in mobile application.
From many iteration we carried on fully busy parking area,
the result showed us the threshold of 336 for the edge
IV. RESULTS
counting technique.
From experimental analysis, the proposed system was
tested on a bypath background. The recording were taken For identifying the background pixels, we use histogram
with bird view type of camera adjustment covering 5 to 7 as shown in figure 7.
parking spaces. An example of the parking view is shown in
Figure 4.
Authorized licensed use limited to: SIDDAGANGA INSTITUTE OF TECHNOLOGY. Downloaded on July 16,2024 at 04:34:05 UTC from IEEE Xplore. Restrictions apply.
V. CONCLUSIONS [6] Parking Space Detection in OpenCV: May 29, 2018 [Online].
Available: Parking Space Detection in OpenCV | ParkingLot
We developed and tested a economical vigorous vision (olgarose.github.io), 2018
based parking space monitoring system. The parking state is [7] Mochamad Mobed Bachtiar,Adnan Rachmat Anom Besari,Atikah
determined in real-time using fast and robust image-based Putri Lestari-Parking Management by Means of Computer Vision.The
third International Conference on Vocational Education and Electrical
classifiers. Which could be installed in different parking Engineering (ICVEE) 2020.
layouts. The results attained from testing the image (video [8] Karim Hammoudi,Halim Benhabiles,Abhishek Jandial-Self-Driven
frames) based parking system, indicates that the likelihood of and Direct Spatio-temporal Mechanisms for the Vision-based Parking
effective utilization of a vision based or image based system Slot Surveillance.SAI Computing Conference ,July 2016.
to monitor vehicles is feasible. [9] Shilpa Devalal and A Karthikeyan, “LoRa Technology -An Overview”.
However, there are some drawbacks of this system. When Second International Conference Electronics, communication and
Aerospace Technology (ICECA), 29-31, Coimbatore, India, March,
the color of the background and vehicle are similar, detection 2018.
of foreground/background becomes difficult. Usage of [10] Umber Noreen, Ahcène Bounceur and Laurent Clavier “A study of
raspberry pi camera module shows some limitations in terms LoRa low power and wide area network technology” International
of precision and detection. In order to overcome this Conference on Advanced Technologies for Signal and Image
limitation observed in development phase, raspberry pi Processing (ATSIP) , 22-24 May 2017.
camera module can be replaced with much upgraded cameras [11] LoRa Modulation Basics. Accessed: Sep. 3, 2017. [Online].
Available:http://www.semtech.com/images/datasheet/an1200.22.pdf,
like CCTV camera or other superior cameras. By using a Lora 2017.
gateway many parking area in around area of 5km radius can [12] Spreading Factor affects LoRaWAN® device battery life [online]
be monitored and use this information a smart city can available: https://www.thethingsnetwork.org/article/how-spreading-
manage the parking problem well. factor-affects-lorawan-device-battery-life
[13] M. Centenaro, L. Vangelista, A. Zanella, and M. Zorzi, “Long-range
REFERENCES communications in unlicensed bands: The rising stars in the IoT and
smart city scenarios,” IEEE Wireless Commun., vol. 23, no. 5, Oct.
2016.
[1] S. Kaplan, S. Bekhor, S. Kaplan, and S. Bekhor, “Exploring En-route
Parking Type and Parking-search Route Choice‖,” Proc. 2nd Int. [14] Huang-Chen Lee,Kai-Hsiang Ke-Monitoring of Large-Area IoT
Choice Model. Conf., 2011. Sensors Using a LoRa Wireless Mesh Network System: Design and
Evaluation.IEEE TRANSACTIONS ON INSTRUMENTATION
[2] K. Blumer, H. R. Halaseh, M. U. Ahsan, H. Dong, and N. Mavridis, AND MEASUREMENT, 2018.
“Cost-Effective Single-camera Multi-car Parking Monitoring and
Vacancy Detection Towards Real-world Parking Statistics and Real- [15] Smangaliso Mnguni, Pragasen Mudali, Adnan M. Abu-Mahfouz &
time Reporting‖,” in Proceedings of the 19th international conference Matthew Adigun “Performance Evaluation of Spreading Factors in
on Neural Information Processing - Volume Part V, Berlin, Heidelberg, LoRa Networks”, December 2-4, 2020.
pp 506–515, 2012.
[3] Junzho Liu, Mohamed Mohandes, Mohamed Deriche – Multi-
Classifier Image Based Vacant Parking Detection System, IEEE 2013
[4] K apeksha P Kulkarni, Vishwanath P Baligar,- Real Time Vehicle
Detection, Tracking and Counting Using Raspberry-pi,Proceedings of
the Secound Internatinal Conference on Innovative Mechanisms for
Industry Applications, ICIMIA, 2020.
[5] Robert,K (2009). Video-based traffic monitoring at day andnight
vehicle features detection tracking. 12th International IEEE Conference
on Intelligent Transportation system, 2009.
Authorized licensed use limited to: SIDDAGANGA INSTITUTE OF TECHNOLOGY. Downloaded on July 16,2024 at 04:34:05 UTC from IEEE Xplore. Restrictions apply.