Open Access iconOpen Access

ARTICLE

crossmark

On-Street Parking Space Detection Using YOLO Models and Recommendations Based on KD-Tree Suitability Search

Ibrahim Yahaya Garta, William Eric Manongga, Su-Wen Huang, Rung-Ching Chen*

Department of Information Management, Chaoyang University of Technology, Taichung, 413, Taiwan

* Corresponding Author: Rung-Ching Chen. Email: email

(This article belongs to the Special Issue: Artificial Intelligence Algorithms and Applications)

Computers, Materials & Continua 2025, 85(3), 4457-4471. https://doi.org/10.32604/cmc.2025.067149

Abstract

Unlike the detection of marked on-street parking spaces, detecting unmarked spaces poses significant challenges due to the absence of clear physical demarcation and uneven gaps caused by irregular parking. In urban cities with heavy traffic flow, these challenges can result in traffic disruptions, rear-end collisions, sideswipes, and congestion as drivers struggle to make decisions. We propose a real-time detection system for on-street parking spaces using YOLO models and recommend the most suitable space based on KD-tree search. Lightweight versions of YOLOv5, YOLOv7-tiny, and YOLOv8 with different architectures are trained. Among the models, YOLOv5s with SPPF at the backbone achieved an F1-score of 0.89, which was selected for validation using k-fold cross-validation on our dataset. The Low variance and standard deviation recorded across folds indicate the model’s generalizability, reliability, and stability. Inference with KD-tree using predictions from the YOLO models recorded FPS of 37.9 for YOLOv5, 67.2 for YOLOv7-tiny, and 67.0 for YOLOv8. The models successfully detect both marked and unmarked empty parking spaces on test data with varying inference speeds and FPS. These models can be efficiently deployed for real-time applications due to their high FPS, inference speed, and lightweight nature. In comparison with other state-of-the-art models, our models outperform them, further demonstrating their effectiveness.

Keywords

On-street parking; YOLO models; K-dimensional tree; K-fold cross-validation

Cite This Article

APA Style
Garta, I.Y., Manongga, W.E., Huang, S., Chen, R. (2025). On-Street Parking Space Detection Using YOLO Models and Recommendations Based on KD-Tree Suitability Search. Computers, Materials & Continua, 85(3), 4457–4471. https://doi.org/10.32604/cmc.2025.067149
Vancouver Style
Garta IY, Manongga WE, Huang S, Chen R. On-Street Parking Space Detection Using YOLO Models and Recommendations Based on KD-Tree Suitability Search. Comput Mater Contin. 2025;85(3):4457–4471. https://doi.org/10.32604/cmc.2025.067149
IEEE Style
I. Y. Garta, W. E. Manongga, S. Huang, and R. Chen, “On-Street Parking Space Detection Using YOLO Models and Recommendations Based on KD-Tree Suitability Search,” Comput. Mater. Contin., vol. 85, no. 3, pp. 4457–4471, 2025. https://doi.org/10.32604/cmc.2025.067149



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 1255

    View

  • 663

    Download

  • 0

    Like

Share Link