Zebra Cross Violation Detection with YOLOv9: A Novel Approach for Traffic Regulation in Indonesia

Authors

DOI:

https://doi.org/10.29408/edumatic.v9i1.29244

Keywords:

object detection, object segmentation, traffic violation, yolo, zebra cross

Abstract

Technological advancements in zebra cross-violation detection are necessary to address traffic rule violations in Indonesia, especially zebra cross violations. The You Only Look Once (YOLO) algorithm has been effective for detecting objects in various situations. The objective of this research is to focus on detecting zebra cross violations using YOLOv9, the improved accuracy and efficiency from earlier versions of YOLO. Consisting of two models to detect violations of the zebra crossing. The first model, a segmentation model called YOLO, is used for zebra cross localization, while the second model, a pretrained YOLO, detects the vehicles. The results of these two models are used for calculations in considering violations by drivers. Two datasets were used in this research. One of the datasets has 1100 images of zebra crosses, while the other comprises 100 surveillance videos from CCTV in Yogyakarta, Indonesia, for testing. The findings from this study indicate that the approach enables effective and efficient detection and classification of zebra crossing violations with an accuracy of 93%. This research demonstrates the approach's enhanced ability to handle real-world scenarios with diverse camera angles and varying traffic conditions. Additionally, it underscores the potential for practical applications in automated traffic monitoring and enforcement.

References

Al-qanees, M. A., Abbasi, A. A., Fan, H., Ibrahim, R. A., Alsamhi, S. H., & Hawbani, A. (2021). An improved YOLO-based road traffic monitoring system. Computing, 103(2), 211–230. https://doi.org/10.1007/s00607-020-00869-8

Bochkovskiy, A., Wang, C. Y., & Liao, H. Y. M. (2020). Yolov4: Optimal speed and accuracy of object detection. arXiv preprint arXiv:2004.10934. https://doi.org/10.48550/arXiv.2004.10934

Chianyung. (2022). Cross Zebra Violation Detection System on Motorcycle Vehicles Using The YOLOv4 Algorithm. E-Proceeding of Engineering, 10(1), 815–822.

Dewi, C., Chen, R. C., Zhuang, Y. C., & Christanto, H. J. (2022). Yolov5 series algorithm for road marking sign identification. Big Data and Cognitive Computing, 6(4), 1-16. https://doi.org/10.3390/bdcc6040149

Glučina, M., Žigulic, N., Frank, D., Lorencin, I., & Matika, D. (2024). Comparative Analysis of YOLOv9 and YOLOv10 Algorithms for Urban Safety Improvement. IEEE 22nd Jubilee International Symposium on Intelligent Systems and Informatics (SISY), 185-190. IEEE. https://doi.org/10.1109/SISY62279.2024.10737612

Hsu, W. Y., & Lin, W. Y. (2021). Adaptive Fusion of Multi-Scale YOLO for Pedestrian Detection. IEEE Access, 9, 110063–110073. https://doi.org/10.1109/ACCESS.2021.3102600

Imran, A., Hulikal, M. S., & Gardi, H. A. (2024). Real Time American Sign Language Detection Using Yolo-v9. arXiv preprint arXiv:2407.17950. https://doi.org/10.48550/arXiv.2407.17950

Lavanya, G., & Pande, S. D. (2024). Enhancing Real-time Object Detection with YOLO Algorithm. EAI Endorsed Transactions on Internet of Things, 10, 1-9. https://doi.org/10.4108/eetiot.4541

Leng, J., & Liu, Y. (2019). An enhanced SSD with feature fusion and visual reasoning for object detection. Neural Computing and Applications, 31(10), 6549-6558. https://doi.org/10.1007/s00521-018-3486-1

Naftali, M. G., Sulistyawan, J. S., & Julian, K. (2022). Comparison of object detection algorithms for street-level objects. arXiv preprint arXiv:2208.11315. https://doi.org/10.48550/arXiv.2208.11315

Nkurunziza, D., Tafahomi, R., & Faraja, I. A. (2023). Pedestrian Safety: Drivers’ Stopping Behavior at Crosswalks. Sustainability, 15(16), 1-17. https://doi.org/10.3390/su151612498

Reis, D., Kupec, J., Hong, J., & Daoudi, A. (2023). Real-time flying object detection with YOLOv8. arXiv preprint arXiv:2305.09972. https://doi.org/10.48550/arXiv.2305.09972

Sapkota, R., Ahmed, D., & Karkee, M. (2024). Comparing YOLOv8 and Mask R-CNN for instance segmentation in complex orchard environments. Artificial Intelligence in Agriculture, 13, 84-99. https://doi.org/10.48550/arXiv.2312.07935

Sharma, A., Kumar, V., & Longchamps, L. (2024). Comparative performance of YOLOv8, YOLOv9, YOLOv10, YOLOv11 and Faster R-CNN models for detection of multiple weed species. Smart Agricultural Technology, 9, 100648. https://doi.org/10.1016/j.atech.2024.100648

Tonge, A., Chandak, S., Khiste, R., Khan, U., & Bewoor, L. A. (2020). Traffic Rules Violation Detection using Deep Learning. The 4th International Conference on Electronics, Communication and Aerospace Technology, ICECA 2020, 1250–1257. IEEE https://doi.org/10.1109/ICECA49313.2020.9297495

Wang, C. Y., Yeh, I. H., & Mark Liao, H. Y. (2024). Yolov9: Learning what you want to learn using programmable gradient information. European conference on computer vision, 1-21. Springer, Cham. https://doi.org/10.1007/978-3-031-72751-1_1

Wang, J., Zhang, T., Cheng, Y., & Al-Nabhan, N. (2021). Deep learning for object detection: A survey. In Computer Systems Science and Engineering, 38(2), 165-182. Tech Science Press. https://doi.org/10.32604/CSSE.2021.017016

Yang, M., Chen, B., Lin, C., Yao, W., & Li, Y. (2024). SGI-YOLOv9: an effective method for crucial components detection in the power distribution network. Frontiers in Physics, 12, 1517177. https://doi.org/10.3389/fphy.2024.1517177

Yang, X., Wang, Y., & Laganiere, R. (2020). A scale-aware YOLO model for pedestrian detection. Advances in Visual Computing: 15th International Symposium, ISVC 2020, San Diego, CA, USA, October 5–7, 2020, Proceedings, Part II 15, 15-26. Springer International Publishing.

Yaseen, M. (2024). What is YOLOv9: An In-Depth Exploration of the Internal Features of the Next-Generation Object Detector. arXiv preprint arXiv:2409.07813. https://doi.org/10.48550/arXiv.2409.07813

Downloads

Published

2025-04-09

How to Cite

Kamil, M. N., & Gamma Kosala. (2025). Zebra Cross Violation Detection with YOLOv9: A Novel Approach for Traffic Regulation in Indonesia. Edumatic: Jurnal Pendidikan Informatika, 9(1), 41–50. https://doi.org/10.29408/edumatic.v9i1.29244