Motorcycle Parking Violation Detection System Using YOLOv7 with Region of Interest Mapping and Object Area Calculation

Authors

  • Haerunnisya Makmur Department of Computer Engineering, State University of Makassar, Makassar, Indonesia
  • Wulandari Department of Computer Engineering, State University of Makassar, Makassar, Indonesia
  • Muhammad Fajar B Department of Computer Engineering, State University of Makassar, Makassar, Indonesia
  • Andi Baso Kaswar Department of Computer Engineering, State University of Makassar, Makassar, Indonesia
  • Dyah Darma Andayani Department of Computer Engineering, State University of Makassar, Makassar, Indonesia
  • Fhatiah Adiba Department of Computer Engineering, State University of Makassar, Makassar, Indonesia
  • Abdul Wahid Department of Computer Engineering, State University of Makassar, Makassar, Indonesia
  • Satria Gunawan Zain Department of Computer Engineering, State University of Makassar, Makassar, Indonesia

DOI:

https://doi.org/10.46604/aiti.2024.14075

Keywords:

computer vision, parking violation, region of interest, motorcycle, YOLOv7

Abstract

The large number of motorcycle users has created challenges, particularly related to parking violations, which can lead to traffic congestion, hinder emergency access, disrupt pedestrian pathways, and inconvenience other users. Therefore, this study aims to detect motorcycle parking violations in unsupervised restricted areas using YOLOv7 to classify non-parking, parking, and personal objects. The best model is achieved at the 28th epoch with an mAP value of 0.953 at the 0.5 threshold. Parking restriction areas are defined using a Region of Interest (ROI), where violations depend on the parking object’s detected coverage within the ROI exceeding 50%. By employing an area calculation method, the results show better performance compared to methods without area calculation, achieving a recall of 89.7%, precision of 82.6%, and F1-score of 86.2% with a confidence threshold of 0.5.

References

D. Lin and J. Cui, “Transport and Mobility Needs for an Ageing Society From a Policy Perspective: Review and Implications,” International Journal of Environmental Research and Public Health, vol. 18, no. 22, article no. 11802, 2021.

P. Ribeiro, G. Dias, and P. Pereira, “Transport Systems and Mobility for Smart Cities,” Applied System Innovation, vol. 4, no. 3, article no. 61, 2021.

K. Mouratidis, S. Peters, and B. van Wee, “Transportation Technologies, Sharing Economy, and Teleactivities: Implications for Built Environment and Travel,” Transportation Research Part D: Transport and Environment, vol. 92, article no. 102716, 2021.

M. Z. Irawan, P. F. Belgiawan, A. K. M. Tarigan, and F. Wijanarko, “To Compete or Not Compete: Exploring the Relationships Between Motorcycle-Based Ride-Sourcing, Motorcycle Taxis, and Public Transport in the Jakarta Metropolitan Area,” Transportation, vol. 47, no. 5, pp. 2367-2389, 2020.

I. Sefriyadi, I. G. A. Andani, A. Raditya, P. F. Belgiawan, and N. A. Windasari, “Private Car Ownership in Indonesia: Affecting Factors and Policy Strategies,” Transportation Research Interdisciplinary Perspectives, vol. 19, article no. 100796, 2023.

H. Udjari, M. Warka, S. Suhartono, and O. Yudianto, “Legal Protection Against Children Who Are Passed On in the Transportation of Two - Wheeled Vehicles on the Highway,” Research, Society and Development, vol. 9, no. 11, article no. e63191110374, 2020.

BPS Indonesia, Statistical Yearbook of Indonesia 2024, Jakarta: BPS-Statistics Indonesia, 2024.

K. Sumit, V. Ross, K. Brijs, G. Wets, and R. A. C. Ruiter, “Risky Motorcycle Riding Behaviour Among Young Riders in Manipal, India,” BMC Public Health, vol. 21, article no. 1954, 2021.

S. Yu and W. D. Tsai, “The Effects of Road Safety Education on the Occurrence of Motorcycle Violations and Accidents for Novice Riders: An Analysis of Population-Based Data,” Accident Analysis & Prevention, vol. 163, article no. 106457, 2021.

F. Fatmasari and N. W. R. Mumpuni, “Effectiveness of the Application of Administrative Criminal Sanctions Against Illegal Parking in the Malioboro Area,” Literasi Hukum, vol. 7, no. 2, pp. 107-120, 2023.

N. Y. Loong, A. Jamaludin, and R. A. Hashim, “Factors Affecting the Behavioral Intention to Park Legally Among Urban Malaysian in Kuala Lumpur, Malaysia,” Asian Journal of Social Sciences and Management Studies, vol. 10, no. 1, pp. 43-51, 2023.

G. Hendrawan, Y. P. Siregar, and G. Widiartana, “The Impact of Illegal Parking on Traffic Connection along Pasar Kembang Yogyakarta Road: Problems and Solutions,” International Journal of Social Science and Human Research, vol. 6, no. 12, pp. 7951-7957, 2023.

R. A. Hamzah, C. Setianingsih, R. A. Nugrahaeni, S. R. Hanafia, and F. Fuadi, “Parking Violation Detection on the Roadside of Toll Roads With Intelligent Transportation System Using Faster R-CNN Algorithm,” 6th International Conference on Informatics and Computational Sciences, pp. 169-174, 2022.

Q. Yang and L. Yu, “Recognition of Taxi Violations Based on Semantic Segmentation of PSPNet and Improved YOLOv3,” Scientific Programming, vol. 2021, article no. 4520190, 2021.

R. Akhawaji, M. Sedky, and A. H. Soliman, “Illegal Parking Detection Using Gaussian Mixture Model and Kalman Filter,” IEEE/ACS 14th International Conference on Computer Systems and Applications, pp. 840-847, 2017.

C. K. Ng, S. N. Cheong, and Y. L. Foo, “Lightweight Deep Neural Network Approach for Parking Violation Detection,” Proceedings of the 2018 VII International Conference on Network, Communication and Computing, pp. 332 - 337, 2018.

N. Fadilah, S. Y. Soon, and H. Radi, “Embedded Automated Vision for Double Parking Identification System,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 10, no. 3, pp. 1221-1226, 2018.

T. Ludwisiak and M. Mazur-Milecka, “Automated Parking Management for Urban Efficiency: A Comprehensive Approach,” 16th International Conference on Human System Interaction, pp. 1-4, 2024.

N. Hernández-Díaz, Y. C. Peñaloza, Y. Y. Rios, J. C. Martinez-Santos, and E. Puertas, “A Computer Vision System for Detecting Motorcycle Violations in Pedestrian Zones,” Multimedia Tools and Applications, in press. https://doi.org/10.1007/s11042-024-19356-9

J. Wang, Z. Chen, P. Li, B. Sheng, and R. Chen, “Real-Time Non-Motor Vehicle Violation Detection in Traffic Scenes,” IEEE International Conference on Industrial Cyber Physical Systems, pp. 724-728, 2019.

K. Maharana, S. Mondal, and B. Nemade, “A Review: Data Pre-Processing and Data Augmentation Techniques,” Global Transitions Proceedings, vol. 3, no. 1, pp. 91-99, 2022.

C. Dewi, R. C. Chen, Y. C. Zhuang, X. Jiang, and H. Yu, “Recognizing Road Surface Traffic Signs Based on Yolo Models Considering Image Flips,” Big Data and Cognitive Computing, vol. 7, no. 1, article no. 54, 2023.

N. Chitraningrum, L. Banowati, D. Herdiana, B. Mulyati, I. Sakti, A. Fudholi, et al., “Comparison Study of Corn Leaf Disease Detection based on Deep Learning YOLO-v5 and YOLO-v8,” Journal of Engineering and Technological Sciences, vol. 56, no. 1, pp. 61-70, 2024.

M. Paul, P. K. Podder, and M. R. Hassan, “Eye Tracking, Saliency Modeling and Human Feedback Descriptor Driven Robust Region-of-Interest Determination Technique,” IEEE Access, vol. 10, pp. 98612-98624, 2022.

N. Chandrasekhar and S. Peddakrishna, “Enhancing Heart Disease Prediction Accuracy Through Machine Learning Techniques and Optimization,” Processes, vol. 11, no. 4, article no. 1210, 2023.

K. Shah, H. Patel, D. Sanghvi, and M. Shah, “A Comparative Analysis of Logistic Regression, Random Forest and KNN Models for the Text Classification,” Augmented Human Research, vol. 5, no. 1, article no. 12, 2020.

Y. Peng and M. H. Nagata, “An Empirical Overview of Nonlinearity and Overfitting in Machine Learning Using COVID-19 Data,” Chaos, Solitons & Fractals, vol. 139, article no. 110055, 2020.

Downloads

Published

2024-12-18

How to Cite

[1]
Haerunnisya Makmur, “Motorcycle Parking Violation Detection System Using YOLOv7 with Region of Interest Mapping and Object Area Calculation”, Adv. technol. innov., Dec. 2024.

Issue

Section

Articles