You are currently viewing a new version of our website. To view the old version click .
Sensors
  • Article
  • Open Access

29 March 2025

Resource-Efficient Design and Implementation of Real-Time Parking Monitoring System with Edge Device

,
,
and
1
Department of IT Convergence Engineering, Gachon University, Seongnam 13120, Republic of Korea
2
PCT Co., Ltd., Seongnam 13449, Republic of Korea
3
Department of Computer Engineering, Gachon University, Seongnam 13120, Republic of Korea
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue AI-Enhanced Sensor Technologies for Traffic Safety and Intelligent Transportation Systems

Abstract

Parking management systems play a crucial role in addressing parking shortages and operational challenges; however, high initial costs and infrastructure requirements often hinder their implementation. Edge computing offers a promising solution by reducing latency and network traffic, thus optimizing operational costs. Nonetheless, the limited computational resources of edge devices remain a significant challenge. This study developed a real-time vehicle occupancy detection system utilizing SSD-MobileNetv2 on edge devices to process video streams from multiple IP cameras. The system incorporates a dual-trigger mechanism, combining periodic triggers and parking space mask triggers, to optimize computational efficiency and resource usage while maintaining high accuracy and reliability. Experimental results demonstrated that the parking space mask trigger significantly reduced unnecessary AI model executions compared to periodic triggers, while the dual-trigger mechanism ensured consistent updates even under unstable network conditions. The SSD-MobileNetv2 model achieved a frame processing time of 0.32 s and maintained robust detection performance with an F1-score of 0.9848 during a four-month field validation. These findings validate the suitability of the system for real-time parking management in resource-constrained environments. Thus, the proposed smart parking system offers an economical, viable, and practical solution that can significantly contribute to developing smart cities.

1. Introduction

Urbanization and the increase in the number of vehicles have caused a shortage of parking spaces, making parking management issues a significant societal challenge worldwide. According to the automotive industry research firm Hedges & Company, the number of cars has reached approximately 1.47 billion globally, with an annual growth rate of 4% [1], resulting in a severe shortage of parking spaces. Towne Park, a North American parking management provider, has reported that an average American commuter spends 17 h annually searching for parking spaces, costing USD 345 per driver in wasted time, fuel, and emissions [2].
To solve these problems, parking monitoring systems have been proposed to monitor the availability of parking spaces and provide drivers with information on empty parking spaces, thereby reducing parking time and alleviating traffic congestion. However, existing systems have high initial installation costs and require technical infrastructure, such as installing sensors and cameras and building data processing servers, as well as many limitations, especially when applied to existing parking lots. In addition to high initial costs, limitations in terms of scalability and maintenance have been noted.
Edge computing has emerged as an effective technology for overcoming these challenges. By processing data locally, edge computing reduces latency and network traffic, thereby offering cost savings and the benefits of real-time processing [3]. For instance, the processing of data on edge devices can reduce the delays and traffic that occur during transmission to the cloud. However, due to the limited computing resources of edge devices, efficient resource utilization is crucial. Research conducted by the Association for Computing Machinery (ACM) highlights that the limited resources of edge devices remain a challenge [4].
This study focused on designing and implementing a real-time parking monitoring system that can be quickly realized at low cost, focusing on improving the reliability and efficiency of parking occupancy in resource-constrained environments. To this end, this study developed an efficient framework that combines low-cost infrastructure, low computational requirements, real-time performance, and a state-sensitive trigger algorithm. The system seeks to overcome the limitations of existing systems, while efficiently utilizing the limited resources of edge devices, and providing economical and reliable real-time information to end users. The main contributions of this study are as follows:
  • Modular design of the proposed system: The proposed system entails three general modules that are compatible with all AI-based architectures rather than relying on specific use cases. The first module, the IP camera frame capture thread, implements stable and reliable image quality management and data capture through FFmpeg-based data processing, ensuring real-time performance. The second module determines whether a vehicle is occupied by a parking space by using an AI model. It can simultaneously determine the status of multiple parking spaces with a single image and is compatible with various AI models so as to ensure flexibility and scalability. The last module transmits data to the central server only when there exists a difference between the previous state of the parking space and its recognized current state, thereby reducing the network load and minimizing transmission costs.
  • Efficient data processing and reduced computational load: We devised a novel dual-trigger algorithm that combines the parking lot mask trigger and periodic trigger to efficiently use computing resources. Through the parking lot mask trigger, parking lot status changes can be sensitively detected in real-time, thereby reducing the frequency of AI model calls and effectively reducing the computational load on edge devices.
  • Field verification and performance evaluation: The proposed system was operated for 4 months in an actual parking lot with a total of 12 parking spaces, exhibiting stable performance in various scenarios.
  • Economical and scalable solution: The aforementioned contributions have significant implications in real-world parking management scenarios, demonstrating the economic effectiveness and practicality of the system. The proposed system, built using only edge devices and IP cameras, has remarkably reduced initial installation costs and can be deployed faster than traditional sensor-based solutions, demonstrating real scalability for smart city implementations.
The rest of the paper is organized as follows. Section 2 reviews the related studies, highlighting their methodologies and limitations. Section 3 presents the proposed system architecture, including the trigger algorithms and parking decision module. Section 4 describes the experimental setup, detailing the edge device, testing environment, and configuration. Section 5 provides an in-depth evaluation and discussion of the system’s performance, covering trigger algorithms, edge model efficiency, and real-world validation. Finally, Section 6 concludes this study with key findings and potential future improvements.

3. Proposed System Design

The parking monitoring system proposed in this study is designed to provide real-time performance and high accuracy even in a limited resource environment. The proposed system is largely composed of four major modules: the IP camera frame capture thread, trigger algorithm, parking occupancy judgment module, and data transmission module. Each module is designed for efficient data processing, reduced computational load, and real-time information provision while being optimized to ensure reliability and stability even in an edge device environment. The proposed method is illustrated in Figure 2.
Figure 2. Overview of the system design and methodology.
The system operates under the scenario depicted in Figure 3. Its components are divided into four primary parts: the IP camera frame capture thread, trigger algorithm, parking decision module, and data transmission module. The first component, the IP camera frame capture thread, is essential for maintaining the system’s real-time capability and holds the base images used when subsequent computer vision algorithms detect changes in parking spaces. The second component involves a dual-trigger system, which includes a parking space mask trigger to efficiently utilize the limited computational power of IoT devices, and a periodic trigger to ensure the system’s reliability and consistency. When a change in the parking space is detected by the trigger algorithm, the image at that moment is cropped based on predefined parking space coordinates and saved in the trigger folder. The third component is the parking decision module. When the file scan thread detects a new file within the trigger folder, the system proceeds to utilize the AI-based algorithm sequentially to determine the presence of license plates and ascertain whether a vehicle occupies the parking space. Subsequently, the processed files are relocated to the detected folder with modified filenames in accordance with the recognition outcomes. The final component is the data transmission module, which transmits the detected results to the central server. It identifies the creation of a new file in the detect folder and a change in the parking space status. Subsequently, the system transmits the vehicle parking space information and file details to the central server.
Figure 3. Scenario illustrating the proposed system.

3.1. IP Camera Frame Capture Thread

In this study, we designed an IP camera frame capture thread to stably and efficiently capture data even in resource-limited environments. This thread integrates various optimization techniques to efficiently utilize network bandwidth, reduce computational load, and ensure real-time performance. To collect real-time data from IP cameras, we used FFmpeg to capture frames via the RTSP protocol. FFmpeg is a lightweight, high-performance multimedia framework that guarantees the stability of RTSP streams and can effectively process real-time data. The default capture rate of FFmpeg is set to a fixed FPS. However, the proposed system automatically adjusts the capture rate according to the network status and resource usage by using a dynamic FPS adjustment algorithm.
F P S = min   ( R n e t w o r k S f r a m e ,   F P S m a x ) .
Here, Rnetwork represents the current network bandwidth (bps); Sframe indicates the size of the frame (bytes); and FPSmax represents the maximum fps allowed by the camera.
Equation (1) yields the frame transmission limit according to the network bandwidth and determines the optimal FPS. On this basis, the FFmpeg command is dynamically updated to adjust the capture speed and is designed not to process more data than necessary. This minimizes the network load and computational amount, enabling efficient data processing even in a resource-limited environment.
The frame capture thread is designed asynchronously so that data capture and subsequent tasks are executed independently. By using Python 3.8’s threading library, capture and inference tasks are processed in separate threads, thereby preventing bottlenecks between tasks. This asynchronous processing structure contributed to maintaining real-time performance and maximizing system performance.
In addition, image validation was additionally implemented to increase the reliability of captured image data. The end marker of the image file was checked to determine whether data were corrupted, an error log was recorded in case of network connection problems or capture errors, and the camera was automatically restarted when a certain error occurrence threshold was exceeded to ensure stability.
The proposed IP camera frame capture thread enables stable and efficient data collection even in a resource-constrained environment and greatly improves the reliability and performance of the entire parking monitoring system. FFmpeg-based capture, dynamic FPS adjustment, asynchronous processing, and error recovery functions serve as an effective solution for real-time data processing in edge device environments.

3.2. Trigger Algorithm

The preprocessing methods implemented at the system edge comprise two types of triggers: a parking space mask and periodic trigger. The parking space mask trigger, designed for efficiently utilizing the system resources, is aimed at detecting the status of parking spaces in real-time and reducing unnecessary computations. The underlying concept of the parking space mask trigger is to monitor the change in parking space status and call the AI model only when a state transition such as parking or emptying occurs.
The parking space mask trigger detects instances of vehicle parking or space departure by segmenting predefined parking space areas into mask units and monitoring the status change of each mask. The masks are generated based on user-defined rows and columns, and their sizes are determined by the image size and the number of masks set. As shown in Figure 4, the proposed method segments parking spaces (I1, I2, …, In) based on predefined parking space area coordinates (P1, P2, …, Pm). Each parking space In is defined by its boundary coordinates I n = { P 2 n 1 , P 2 n , P 2 n + 1 , P 2 n + 2 } , which represent the vertices of a quadrilateral. To facilitate mask-based analysis, parking spaces are further divided into smaller masks (m01, m02, …, m15). The default configuration for vertical parking spaces consists of five rows and three columns, while for horizontal parking spaces, the configuration is three rows and five columns (Figure 5).
Figure 4. Defining the parking space area.
Figure 5. Parking space mask area definition.
Once the parking space masks are configured, a mask state detection queue process runs to detect changes to each mask. As described in Equation (2), this process includes a pixel change detection process to ensure the accuracy and stability of the system.
P m i ,   j = 1 N m i ,   j x , y     m i , j F t x ,   y F t 1 x , y .
P m i ,   j : average pixel change in mask j of parking space i. This value serves as a critical metric for detecting state changes in the parking space.
m i , j : a specific mask j within parking space i, which defines the localized region for detecting pixel changes.
F t ( x , y ) : luminance value of the pixel (x, y) within the region of interest in the current frame t.
F t 1 ( x , y ) : luminance value of pixel (x, y) within the region of interest in the previous frame t − 1.
N m i , j : total number of pixels within the mask; m i , j represents the number of all pixels contained in a single mask area.
The workflow of Algorithm 1 shows a multi-step process for detecting changes in the status of a parking space. First, a mask is constructed based on the coordinates of the parking space, and the pixel changes in the mask are measured for each frame. In this process, the amount of pixel change is calculated using Equation (2), and, on this basis, a trigger is determined through a verification queue and a stabilization queue. The verification queue checks whether the pixel change exceeds the threshold, and the stabilization queue evaluates whether the change is consistent in consecutive frames. Finally, the stabilized results are synthesized to determine whether the final trigger is generated, and this value indicates whether the status of the parking space has changed. This method increases the trigger occurrence accuracy, ensures system reliability, and provides a solution suitable for real-time parking management.
Figure 6 illustrates the process of detecting a single mask state change through the step 1 and step 2 process of Algorithm 1 for the data collected during the parking process of an actual parked vehicle. The state of the parking space mask during the Parking Space Mask Trigger Process is visually represented in Figure 7. The change occurrence state is shown in red, which indicates that the data are unstable before detecting a continuous change, which may be a potential noise or a temporary change. The state during data verification is shown in yellow, which indicates that the current data are being filled in the stabilization queue. In the case of stable verification, it is shown in green, which indicates that the data are stably stored in the stabilization queue, the time-based verification is completed, and the trigger is generated. Finally, when the parking occupancy judgment module determines the state and completes processing through the final trigger decision process, it is shown in black so that the state after the trigger occurrence can be clearly distinguished visually.
Figure 6. Real-world application of the single mask state detection queue process.
Figure 7. Intuitive implementation of the parking lot mask trigger process; (a) change occurrence and data validation; (b) trigger occurrence and data validation; and (c) determination completion.
Algorithm 1: Parking Space Mask Trigger Process
Require: Streaming frame S , Parking space I i = { P 2 i 1 , P 2 i , P 2 i + 1 , P 2 i + 2 } , User-defined thresholds T , T m , Stabilization frames n s
1. Input: Streaming frame S
2. Initial setup: Configure parking lot masks m i , j based on I n
3. Step 1: Verification Queue
4. For each parking space ( I i ):
5.        For each mask ( m i , j ):
6.             V m i , j = 1 if P m i , j > T else V m i , j = 0
7. Step 2: Stabilization Queue
8. For each parking space ( I i ):
9.        For each mask ( m i , j ):
10.           S m i , j = 1 if k = 1 n s V m i , j ( t k ) = n s else S m i , j = 0
11. Step 3: Final Trigger Decision
12. For each parking space ( I i ):
13.       T I i = 1 if j = 1 n m S m i , j   T m else T I i = 0
14. Return  T I i
The parking space mask trigger approach minimizes unnecessary computations. However, relying solely on this approach can result in missing real changes, as the parking status is not updated in the absence of a trigger. To address this issue and ensure system resiliency, a periodic trigger is incorporated. The periodic trigger periodically re-evaluates the parking status, ensuring that the system periodically reviews the overall status even when there are no status changes.
Algorithm 2 describes a periodic trigger workflow that triggers status checks at fixed intervals, enabling the system to quickly respond to missing data or abnormal situations, thereby maintaining real-time detection capabilities. Combining the parking space mask-based trigger and the periodic trigger, the dual-trigger system addresses potential gaps in system responsiveness while enabling efficient and robust real-time parking space detection.
Algorithm 2: Periodic Trigger Process
Require: Periodic trigger interval T p
1. Initialize: T l a s t _ t r i g g e r 0 , T p e r i o d i c 0
2. Repeat for every timestamp T c u r r e n t :
3.       if  T c u r r e n t T l a s t _ t r i g g e r T p :
4.           T p e r i o d i c   1                  ▷ Set trigger decision to active
5.           t l a s t _ t r i g g e r t c u r r e n t            ▷ Update the last trigger timestamp
6.       else:
7.           T p e r i o d i c 0
8. Return  T p e r i o d i c

3.3. Parking Decision Module

This module is designed to efficiently determine the occupancy status of a parking space by utilizing a predefined parking area I n and AI-based license plate detection. The status of a parking space is determined by comparing the license plate area detected in the image frame at the time of trigger occurrence with the predefined parking space coordinates. This allows for the simultaneous evaluation of multiple parking space states while minimizing the number of AI model executions, maintaining high accuracy and computational efficiency.
Algorithm 3 can be used to determine the occupancy state based on the relationship between the license plate bounding box B j , parking space I n , and additional conditions T A   a n d   T R . The workflow of the parking decision process begins with the use of the AI model to detect all bounding boxes B j in the triggered image S . For each parking space, the algorithm evaluates whether the detected bounding boxes are completely contained within the parking space I n . Additionally, the bounding boxes are validated based on their area and aspect ratio thresholds, removing small boxes caused by double parking or noise and filtering out vertically elongated boxes to prevent FP values. This approach ensures high accuracy and computational efficiency, maintaining robust condition detection while minimizing unnecessary computations.
Algorithm 3: Parking Decision Process
Require: Triggered image S , Parking spaces I n , Thresholds T A   a n d   T R
1. Input: Triggered image S , Parking spaces I n
2. Detection: Use the AI model to detect all bounding boxes B j in S
3. For each parking space ( I n ):
4.        For each bounding box ( B j ):
5.           if B j   I n   a n d   A B j T A   a n d   R ( B j ) T R :
6.               P s t a t e I n C a r
7.           else:
8.               P s t a t e I n E m p t y
9. Return P s t a t e I n

4. Experimental Setting

The edge device used in this experiment was Odroid N2+ (Hardkernel Co., Ltd., Anyang, Gyeonggi Province, Republic of Korea), which was selected to evaluate real-time computation and data processing capabilities. The main specifications of Odroid N2+ are summarized in Table 2, and this device is designed to maximize system efficiency and operate stably even in limited resource environments.
Table 2. IoT device specifications.
This experiment was conducted in the parking facility of the College of Semiconductor, Gachon University. Before conducting field tests, a dataset of videos and images capturing parking and exits was collected over more than two weeks. We used it to configure the system parameters for the field test and train the AI model.
The field experiment was conducted on a total of 12 parking spaces in the 2nd basement floor parking lot, and four DS-2CD1021-I IP cameras (HiKVISION Co., Ltd., Guangzhou, China) were installed to monitor them. All the cameras were placed in locations where they could clearly observe the parking spaces and were used to evaluate the performance of the parking space detection and trigger generation algorithm. The experimental site is visually represented in Figure 8, including the camera installation scene, camera management interface, and field of view for monitoring the actual parking spaces.
Figure 8. Building a field test environment.

5. Results and Discussion

This section evaluates the performance of the proposed parking monitoring system across three critical areas: model performance on the edge device, trigger algorithm efficiency, and real-world field tests using the dual-trigger mechanism with the SSD-MobileNetv2 model. The experiments were designed to assess accuracy, efficiency, and reliability under various conditions to ensure the system’s applicability in real-time parking management scenarios. Performance metrics were calculated using true-positive (TP), true-negative (TN), false-positive (FP), and false-negative (FN) values, from which accuracy, precision, recall, and F1-score were derived using Equations (3)–(6).
A c c u a c y = T P + T N T P + T N + F P + F N
P r e c i s i o n = T P T P + F P
R e c a l l = T P T P + F N
F 1 - score = 2 · p r e c i s i o n · r e c a l l p r e c i s i o n + r e c a l l .

5.1. Edge Device-Based AI Model Performance Evaluation

To evaluate the suitability of AI models for real-time parking monitoring, three models were tested: YOLOv8n, YOLOv8n (converted to ONNX with FP16 optimization), and SSD-MobileNet v2. The evaluation focused on inference time and performance metrics, including TP, FP, FN, precision, recall, and F1-score. These metrics are essential to determine the balance between accuracy and computational efficiency, which are critical in resource-constrained environments such as parking management systems. The models were tested on a dataset of 20,000 images, reflecting various parking scenarios captured during system development. The results are summarized in Table 3.
Table 3. Performance comparison of edge device-based AI models.
The results show that YOLOv8n achieved the highest precision and recall, demonstrating its superior accuracy in detecting parking status changes. However, its inference time exceeded real-time requirements, making it unsuitable for the dynamic environment of a parking management system. YOLOv8n (ONNX + FP16) slightly improved computational efficiency by reducing model size and floating-point operations. However, its inference time increased compared to the original YOLOv8n. This result is attributed to the additional overhead in handling the ONNX format and FP16 precision optimization, combined with the fact that the edge device used in this study relies solely on the CPU for inference. Without dedicated GPU or specialized hardware support for FP16 operations, the potential benefits of optimization could not be fully realized.
In contrast, SSD-MobileNet v2 demonstrated the fastest inference time, meeting real-time requirements while maintaining competitive performance metrics. Its precision, recall, and F1-score indicate sufficient reliability for field tests, ensuring that the system can detect parking changes accurately within the constraints of limited resources. Given these results, SSD-MobileNet v2 was selected for deployment in the field test to balance real-time processing needs and system reliability effectively.

5.2. Trigger Algorithm Performance Evaluation

The trigger algorithm was evaluated by comparing three configurations: the periodic trigger, parking space mask trigger, and dual trigger. The periodic trigger in the dual-trigger configuration was set to a longer interval (5 min) compared to the standard periodic trigger (5 s), ensuring system reliability while maintaining efficiency. Experiments were conducted under two scenarios: a relatively idle period (weekend, 48 h) and a busy period (weekday, 48 h). The evaluation measured the total number of verification cycles and the accuracy of detecting actual parking and departure events. The results are summarized in Table 4.
Table 4. Performance comparison of trigger algorithms.
One key consideration in the evaluation is the exclusion of true-negatives (TNs). As periodic triggers generate verification cycles regardless of parking space status, a TN is not meaningful in this context. For example, periodic triggers are designed to ensure updates at regular intervals, even when no parking or departure events occur. As a result, the high frequency of periodic triggers makes the TN metric irrelevant for assessing system performance. Instead, metrics such as TP, FP, and FN better indicate the system’s effectiveness in detecting state changes.
The recall metric was selected as the primary measure of accuracy to emphasize the system’s ability to detect actual parking and departure events. Recall is particularly important in this application because missing a state change (i.e., FN) can undermine the reliability of the parking management system. By prioritizing recall, the evaluation highlights the system’s effectiveness in ensuring that no valid parking or departure event is missed.
The parking space mask trigger demonstrated resource efficiency by minimizing unnecessary computations. However, under unstable network conditions, it occasionally failed to generate triggers, resulting in FN values. To mitigate this limitation, the dual-trigger mechanism was introduced, combining the computational efficiency of the parking space mask trigger with the reliability of the periodic trigger.
The dual-trigger approach performed well across all scenarios, leveraging periodic reinforcements at 5 min intervals to address potential network instability. This configuration provides a balanced performance, with higher recall and optimized resource usage, making it a robust solution for real-time parking management.

5.3. Field Validation with Dual Trigger and SSD-MobileNetv2

The field validation was conducted to evaluate the practical applicability of the dual-trigger mechanism combined with the SSD-MobileNet v2 model in a real-world parking management system. The experiment spanned four months and monitored 12 parking spaces using four IP cameras installed in the parking facility of Gachon University’s Semiconductor College. The dual-trigger mechanism, integrating periodic and parking space mask triggers, was designed to enhance detection reliability while minimizing computational overhead. Figure 9 illustrates the sample detection results.
Figure 9. Sample detection results with our proposed system.
During the validation period, the system continuously processed real-time image data to detect parking and departure events. The SSD-MobileNet v2 model was selected for its ability to meet real-time requirements with competitive accuracy, as demonstrated in the previous evaluation.
The results demonstrate that the system maintained a high level of accuracy (99.58%) and recall (99.95%), indicating its capability to detect almost all parking and departure events. The precision (96.99%) and F1-score (98.48%) further confirm the system’s robustness in handling real-world scenarios, including occasional anomalies such as lighting changes, partial occlusions, and network instabilities.
The integration of the dual-trigger mechanism proved effective in balancing reliability and computational efficiency. The periodic trigger addressed scenarios where network instabilities or environmental factors might cause the parking space mask trigger to miss events. By ensuring periodic system checks, the dual-trigger mechanism provided a safety net, enhancing overall system dependability.
These findings validate the proposed system’s feasibility for real-world deployment, highlighting its ability to manage parking spaces efficiently and reliably while adhering to real-time constraints. The combination of SSD-MobileNet v2 and the dual-trigger mechanism demonstrates significant potential for broader adoption in similar parking management scenarios.

5.4. Comparison with Other Research

Table 5 summarizes the existing parking monitoring systems and the system proposed in this study. Ling et al. [36] built a system based on IoT devices using a single video input and adopted a classification method that employed Haar and an F-test as the primary algorithms. However, their study faced limitations in terms of a lack of training datasets and insufficient image processing speed and system accuracy, preventing it from being considered a real-time parking monitoring system. This study leverages SSD-MobileNet, which processes a single image in approximately 0.32 s, thereby enabling real-time parking monitoring. By processing data locally on IoT devices and only transmitting the parking occupancy results to the server, this system minimizes network traffic and latency, distinguishing itself from previous research. Nieto et al. [37] developed a system capable of processing multiple IP camera streams in a desktop environment using faster R-CNN and fusion techniques. While their study shares similarities with the current research in terms of handling multiple video inputs, it does not utilize IoT devices, thereby differing in terms of resource efficiency. The system proposed in this study has been designed to process up to three simultaneous IP camera streams on edge devices.
Table 5. Comparison of the proposed system with existing parking monitoring systems.
Ke et al. [24] employed the SSD and SORT algorithms to detect objects in indoor and outdoor parking lots. They then proceeded to implement a system that integrated IoT devices and servers. However, their study did not consider the efficiency of the resources used for real-time occupancy detection nor did it address the periodic operation of the algorithm. By contrast, this study introduces a trigger-based algorithm that executes occupancy detection only when there is a change in the state of the parking spaces, thereby reducing unnecessary computations. Consequently, this results in the efficient utilization and optimization of system resources. Nguyen et al. [38] constructed an IoT-device-based system utilizing mAlexNet for object classification. This system employs a periodic algorithmic approach and was validated over a three-day period across 24 parking lots. However, the periodic execution method can result in unnecessary computations and inefficiencies in resource usage. By contrast, this study utilizes a trigger-based algorithm and executes occupancy detection only upon state changes in the parking spaces, thereby minimizing unnecessary computations. This approach enables the efficient management of resources and reduces energy consumption in IoT environments.
In conclusion, while previous research has primarily focused on object detection or classification algorithms, this study aimed to optimize resource management and real-time processing. The system was designed to be customizable to the installation environment and the devices that are in use. Following a four-month deployment and validation period in real-world conditions, the system achieved an accuracy rate of 98.48%, surpassing the performance of existing studies and demonstrating its stability and reliability across real-world scenarios. Furthermore, the system can process a single image in approximately 0.32 s, demonstrating faster processing speeds compared with those of the existing system.

6. Conclusions

This study proposed a resource-efficient real-time parking management system integrating a dual-trigger mechanism and the SSD-MobileNet v2 model. The system effectively addresses computational limitations and enhances detection reliability for real-time parking status updates.
The experimental results validate the system’s effectiveness, particularly the dual-trigger mechanism, which combines periodic and parking space mask triggers. This approach demonstrated improved accuracy and robustness, resolving issues such as network instability while optimizing computational efficiency. Field validation over a four-month period confirmed the system’s practical applicability, achieving a recall of 99.95%, an accuracy of 99.58%, and an F1-score of 0.9848. These results highlight the system’s capability to reliably detect parking status changes with minimal computational overhead.
However, some areas for further research remain. To further enhance the system, future research will focus on evaluating its performance in outdoor parking lots, where external factors such as weather conditions and lighting changes can affect detection accuracy. In addition, the system will be tested alongside other parking detection systems under identical conditions to provide a more comprehensive performance comparison.
Another key area of improvement is enhancing system scalability to accommodate larger parking facilities. As the number of parking spaces increases, expanding the system efficiently requires careful consideration of both hardware performance and camera placement strategies. To address this, two potential solutions are being explored:
  • Enhancing Computational Efficiency: As the number of cameras and data volume increase, ensuring real-time processing becomes crucial. This can be achieved through hardware performance enhancement, such as utilizing more powerful AI accelerators or deploying multiple edge devices for distributed processing. Additionally, model optimization techniques, including ONNX conversion and FP16 quantization, can reduce computational load while maintaining high detection accuracy.
  • Vehicle-Based Detection Instead of License Plate Recognition: The current system relies on license plate detection, which requires cameras to be positioned at angles where plates are visible. However, an alternative approach is vehicle-based detection using a top-down perspective, allowing a single camera to monitor multiple parking spaces simultaneously. This method eliminates the dependency on license plate visibility, making the system more scalable and flexible. This approach is currently being explored in ongoing research on outdoor parking monitoring, utilizing top-view cameras to detect vehicles based on their position and movement patterns.
Furthermore, a critical aspect for future work is the detailed analysis of computational overhead and system-wide latency. While this study optimized AI model execution through the dual-trigger mechanism and selected SSD-MobileNet v2 for a balance between accuracy and speed, a comprehensive performance evaluation of processing latency at each stage—including image acquisition, trigger processing, AI inference, and data transmission—will be conducted in follow-up research. Additionally, optimization techniques such as model quantization, hardware acceleration (e.g., TensorRT and OpenVINO), and multi-threaded processing will be explored to further enhance real-time performance.
By addressing these aspects in future work, the system can be refined to achieve higher scalability, lower latency, and increased computational efficiency, making it a more viable solution for large-scale deployment in diverse parking environments, including outdoor settings with varying lighting and weather conditions.
Additionally, improving system accessibility through the development of a web-based user interface is another important direction. This enhancement would provide end users with intuitive monitoring and control capabilities, further broadening the system’s usability. Additionally, creating a centralized management system that integrates and manages multiple IoT devices would enable large-scale smart parking management across multiple facilities. This would pave the way for the seamless implementation of smart city infrastructure.
In conclusion, the proposed system demonstrates high efficiency and reliability, offering a robust solution for real-time parking management in resource-constrained environments. By addressing existing limitations and expanding its capabilities through further research, the system can serve as a cornerstone for future advancements in intelligent parking solutions and smart city applications.

Author Contributions

Conceptualization, J.K., I.J. and J.J.; software, J.K.; validation, J.K.; investigation, J.K.; writing—original draft preparation, J.K. and I.J.; writing—review and editing, J.K.; visualization, J.K.; supervision, J.C.; project administration, J.J.; funding acquisition, J.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (2019R1F1A105775713) and This work was supported by the Gachon University research fund of 2023 (GCU-202400580001).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Acknowledgments

The authors would like to thank the Gachon University Researcher Support Project Number (GCU-202400580001) for supporting this project.

Conflicts of Interest

Jungil Jung was employed by the company PCT. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Hedges & Company. How Many Cars Are There in the World? Hedges & Company Blog. Available online: https://www.whichcar.com.au/news/how-many-cars-are-there-in-the-world (accessed on 31 December 2024).
  2. Towne Park. Parking Statistics. Towne Park. Available online: https://www.townepark.com/parking-statistics/ (accessed on 31 December 2024).
  3. Cao, K.; Liu, Y.; Meng, G.; Sun, Q. An overview on edge computing research. IEEE Access 2020, 8, 85714–85728. [Google Scholar] [CrossRef]
  4. Shi, W.; Cao, J.; Zhang, Q.; Li, Y.; Xu, L. Edge computing: Vision and challenges. IEEE Internet Things J. 2016, 3, 637–646. [Google Scholar] [CrossRef]
  5. Yang, P.A.; Hu, X.; Li, R.; Zhou, Z.; Gui, Y.; Sun, R.; Wu, D.; Wang, X.; Bian, X. Flexible magnetoelectric sensors with enhanced output performance and response time for parking spaces detection systems. Sens. Actuators A Phys. 2025, 382, 116161. [Google Scholar] [CrossRef]
  6. Allbadi, Y.; Shehab, J.N.; Jasim, M.M. The smart parking system using ultrasonic control sensors. In IOP Conference Series: Materials Science and Engineering; IOP Publishing: Bristol, UK, 2021; Volume 1076, p. 012064. [Google Scholar]
  7. Al-Turjman, F.; Malekloo, A. Smart parking in IoT-enabled cities: A survey. Sustain. Cities Soc. 2019, 49, 101608. [Google Scholar] [CrossRef]
  8. Lin, T.; Rivano, H.; Le Mouël, F. A survey of smart parking solutions. IEEE Trans. Intell. Transp. Syst. 2017, 18, 3229–3253. [Google Scholar] [CrossRef]
  9. Zhang, Z.; Li, X.; Yuan, H.; Yu, F. A street parking system using wireless sensor networks. Int. J. Distrib. Sensor Netw. 2013, 9, 107975. [Google Scholar]
  10. Ratti, S.A.; Pirzada, N.; Shah, S.M.A.; Naveed, A. Intelligent Car Parking System Using WSN. In Proceedings of the 2023 Global Conference on Wireless and Optical Technologies (GCWOT), Malaga, Spain, 24–27 January 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 1–9. [Google Scholar]
  11. Zhang, Z.; Tao, M.; Yuan, H. A parking occupancy detection algorithm based on AMR sensor. IEEE Sens. J. 2015, 15, 1261–1269. [Google Scholar] [CrossRef]
  12. Jeon, Y.; Ju, H.-I.; Yoon, S. Design of an LPWAN communication module based on secure element for smart parking application. In Proceedings of the IEEE International Conference on Consumer Electronics (ICCE), Las Vegas, NV, USA, 12–14 January 2018; pp. 1–2. [Google Scholar] [CrossRef]
  13. Lou, L.; Zhang, J.; Xiong, Y.; Jin, Y. An improved roadside parking space occupancy detection method based on magnetic sensors and wireless signal strength. Sensors 2019, 19, 2348. [Google Scholar] [CrossRef]
  14. Yamada, S.; Watanabe, Y.; Kanamori, R.; Sato, K.; Takada, H. Estimation method of parking space conditions using multiple 3D-LiDARs. Int. J. ITS Res. 2022, 20, 422–432. [Google Scholar] [CrossRef]
  15. De Almeida, P.R.; Oliveira, L.S.; Britto, A.S., Jr.; Silva, E.J., Jr.; Koerich, A.L. PKLot–A robust dataset for parking lot classification. Expert Syst. Appl. 2015, 42, 4937–4949. [Google Scholar] [CrossRef]
  16. Baroffio, L.; Bondi, L.; Cesana, M.; Redondi, A.E.; Tagliasacchi, M. A visual sensor network for parking lot occupancy detection in smart cities. In Proceedings of the IEEE 2nd World Forum Internet Things (WF-IoT), Milan, Italy, 14–16 December 2015; pp. 745–750. [Google Scholar] [CrossRef]
  17. Bulan, O.; Loce, R.P.; Wu, W.; Wang, Y.; Bernal, E.A.; Fan, Z. Video-based real-time on-street parking occupancy detection system. J. Electron. Imaging 2013, 22, 041109. [Google Scholar] [CrossRef]
  18. Amato, G.; Carrara, F.; Falchi, F.; Gennaro, C. Vairo Car parking occupancy detection using smart camera networks and deep learning. In Proceedings of the 2016 IEEE Symposium on Computers and Communication, Messina, Italy, 27–30 June 2016; pp. 1212–1217. [Google Scholar] [CrossRef]
  19. AFarley; Ham, H. Real time IP camera parking occupancy detection using deep learning. Procedia Comput. Sci. 2021, 179, 606–614. [Google Scholar] [CrossRef]
  20. Acharya, D.; Yan, W.; Khoshelham, K. Real-time image-based parking occupancy detection using deep learning. Res. Locate 2018, 4, 33–40. [Google Scholar]
  21. Xie, Z.; Wei, X. Automatic parking space detection system based on improved YOLO algorithm. In Proceedings of the 2021 2nd International Conference on Computer Science and Management Technology (ICCSMT), Shanghai, China, 12–14 November 2021; pp. 279–285. [Google Scholar]
  22. Carrasco, D.P.; Rashwan, H.A.; García, M.Á.; Puig, D. T-YOLO: Tiny Vehicle Detection Based on YOLO and Multi-Scale Convolutional Neural Networks. IEEE Access 2023, 11, 22430–22440. [Google Scholar]
  23. Vítek, S.; Melničuk, P. A distributed wireless camera system for the management of parking spaces. Sensors 2017, 18, 69. [Google Scholar] [CrossRef] [PubMed]
  24. Ke, R.; Zhuang, Y.; Pu, Z.; Wang, Y. A smart, efficient, and reliable parking surveillance system with edge artificial intelligence on IoT devices. IEEE Trans. Intell. Transp. Syst. 2020, 22, 4962–4974. [Google Scholar] [CrossRef]
  25. Falaschetti, L.; Manoni, L.; Palma, L.; Pierleoni, P.; Turchetti, C. Embedded Real-Time Vehicle and Pedestrian Detection Using a Compressed Tiny YOLO v3 Architecture. IEEE Trans. Intell. Transp. Syst. 2024, 25, 19399–19414. [Google Scholar]
  26. Ming, P.Y.K.; Khan, N.A.; Asirvatham, D.A.; Tayyab, M.; Balakrishnan, S.A.; Kumar, D. Detecting Street Parking Occupancy Using Image Recognition with Yolo. In Proceedings of the 2024 International Conference on Emerging Trends in Networks and Computer Communications (ETNCC), Windhoek, Namibia, 23–25 July 2024; pp. 1–7. [Google Scholar]
  27. Siddiqui, S.Y.; Khan, M.A.; Abbas, S.; Khan, F. Smart occupancy detection for road traffic parking using deep extreme learning machine. J. King Saud Univ.-Comp. Inf. Sci. 2022, 34, 727–733. [Google Scholar] [CrossRef]
  28. Paidi, V.; Fleyeh, H.; Nyberg, R.G. Deep learning-based vehicle occupancy detection in an open parking lot using thermal camera. IET Intell. Transp. Syst. 2020, 14, 1295–1302. [Google Scholar] [CrossRef]
  29. Girshick, R.; Donahue, J.; Darrell, T.; Malik, J. Rich feature hierarchies for accurate object detection and semantic segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Columbus, OH, USA, 23–28 June 2014; pp. 580–587. [Google Scholar]
  30. Ren, S. Faster R-CNN: Towards real-time object detection with region proposal networks. arXiv 2015, arXiv:1506.01497. [Google Scholar]
  31. Redmon, J.; Divvala, S.; Girshick, R.; Farhadi, A. You only look once: Unified real-time object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 779–788. [Google Scholar] [CrossRef]
  32. Liu, W.; Anguelov, D.; Erhan, D.; Szegedy, C.; Reed, S.; Fu, C.-Y.; Berg, A.C. SSD: Single shot multibox detector. In Proceedings of the European Conference Computer Vision, Amsterdam, The Netherlands, 11–14 October 2016; pp. 21–37. [Google Scholar] [CrossRef]
  33. Alqahtani, D.K.; Cheema, M.A.; Toosi, A.N. Benchmarking deep learning models for object detection on edge computing devices. In Proceedings of the International Conference on Service-Oriented Computing, Tunis, Tunisia, 3–6 December 2024; Springer Nature: Singapore, 2024; pp. 142–150. [Google Scholar]
  34. Tensorflow Hub. Available online: https://www.kaggle.com/models/tensorflow/ssd-mobilenet-v2/tensorFlow2/ssd-mobilenet-v2 (accessed on 22 December 2024).
  35. Park, S.W.; Park, Y.J.; Choi, H.W.; Ha, S.H.; Do, Y.S. Real-time Object Detection Model for Raspberry Pi. In Proceedings of the Annual Conference of KIPS, Gwangju, Republic of Korea, 31 October–2 November 2024; Korea Information Processing Society: Seoul, Republic of Korea, 2024; pp. 944–945. [Google Scholar]
  36. Ling, X.; Sheng, J.; Baiocchi, O.; Liu, X.; Tolentino, M.E. Identifying parking spaces & detecting occupancy using vision-based IoT devices. In Proceedings of the Global Internet Things Summit (GIoTS), Geneva, Switzerland, 6–9 June 2017; pp. 1–6. [Google Scholar] [CrossRef]
  37. Nieto, R.M.; García-Martín, Á.; Hauptmann, A.G.; Martínez, J.M. Automatic vacant parking places management system using multicamera vehicle detection. IEEE Trans. Intell. Transp. Syst. 2019, 20, 1069–1080. [Google Scholar] [CrossRef]
  38. Nguyen, T.; Tran, T.; Mai, T.; Le, H.; Le, C.; Pham, D.; Phung, K.H. An adaptive vision-based outdoor car parking lot monitoring system. In Proceedings of the 2020 IEEE Eighth International Conference on Communications and Electronics (ICCE), Phu Quoc Island, Vietnam, 13–15 January 2021; pp. 445–450. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.