Data safety prediction using YOLOv7+G3HN for traffic roads
Keywords:
Vehicle detection, Near miss detection, YOLOv7+G3HN, Machine LearningAbstract
Pulau Pinang has introduced several measures to enhance traffic safety and promote sustainability, including the installation of CCTV systems and the implementation of smart solutions and green technology as part of the Penang 2030 vision, aligning with the Sustainable Development Goals (SDGs). However, despite these efforts, road accidents persist due to non-optimised detection models, incomplete data from manual reporting, and technological constraints in real-time video analysis and predictive modelling. This study evaluates the effectiveness of the YOLOv7+G3HN framework for vehicle detection and near-miss analysis, with a focus on the influence of video quality on detection performance. The research aims to understand how high- and low-quality video inputs affect the accuracy and computational efficiency of detection algorithms. High[1]quality videos resulted in significantly faster computation times for vehicle detection than low-quality videos, highlighting the importance of video resolution in optimising detection processes. Despite the robustness of the algorithm, with no errors detected in both video qualities, higher miss detection rates in low-quality videos suggest that lower resolution may compromise detection accuracy and the effectiveness of monitoring systems. Near-miss analysis revealed that high-quality videos had a lower probability of near-miss occurrences than low-quality videos, highlighting the importance of video resolution for detection efficacy. These findings emphasise the critical role of high-resolution video inputs in enhancing detection accuracy and reliability, advocating for their implementation to optimise vehicle detection and improve road safety. Additionally, YOLOv7+G3HN outperforms YOLOv7 in both accuracy and speed. The study concludes that the YOLOv7+G3HN framework is effective for vehicle detection and near-miss analysis, provided that video quality is considered in system design and implementation.
Published
How to Cite
Issue
Section
Copyright (c) 2024 Lek Ming Lim, Yang Lu, Ahmad Sufril Azlan Mohamed, Majid Khan Majahar Ali

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite
Similar Articles
- Chinedu L. Udeze, Idongesit E. Eteng, Ayei E. Ibor, Application of Machine Learning and Resampling Techniques to Credit Card Fraud Detection , Journal of the Nigerian Society of Physical Sciences: Volume 4, Issue 3, August 2022
- S. I. Ele, U. R. Alo, H. F. Nweke, A. H. Okemiri, E. O. Uche-Nwachi, Deep convolutional neural network (DCNN)-based model for pneumonia detection using chest x-ray images , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 2, May 2025
- Nahid Salma, Majid Khan Majahar Ali, Raja Aqib Shamim, Machine learning-based feature selection for ultra-high-dimensional survival data: a computational approach , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 3, August 2025
- Idongesit E. Eteng, Udeze L. Chinedu, Ayei E. Ibor, A stacked ensemble approach with resampling techniques for highly effective fraud detection in imbalanced datasets , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 1, February 2025
- L. G. Salaudeen, D. GABI, M. Garba, H. U. Suru, Deep convolutional neural network based synthetic minority over sampling technique: a forfending model for fraudulent credit card transactions in financial institution , Journal of the Nigerian Society of Physical Sciences: Volume 6, Issue 2, May 2024
- A. B Yusuf, R. M Dima, S. K Aina, Optimized Breast Cancer Classification using Feature Selection and Outliers Detection , Journal of the Nigerian Society of Physical Sciences: Volume 3, Issue 4, November 2021
- Emmanuel Gbenga Dada, Aishatu Ibrahim Birma, Abdulkarim Abbas Gora, Ensemble machine learning algorithm for cost-effective and timely detection of diabetes in Maiduguri, Borno State , Journal of the Nigerian Society of Physical Sciences: Volume 6, Issue 4, November 2024
- Nneka Ernestina Richard-Nnabu, Chinagolum Ituma, Henry Friday Nweke, Convolutional neural networks method for folded naira currency denominations recognition and analysis , Journal of the Nigerian Society of Physical Sciences: Volume 6, Issue 4, November 2024
- Sherifdeen O. Bolarinwa, Eli Danladi, Andrew Ichoja, Muhammad Y. Onimisia, Christopher U. Achem, Synergistic Study of Reduced Graphene Oxide as Interfacial Buffer Layer in HTL-free Perovskite Solar Cells with Carbon Electrode , Journal of the Nigerian Society of Physical Sciences: Volume 4, Issue 3, August 2022
- Amos Orenyi Bajeh, Mary Olayinka Olaoye, Fatima Enehezei Usman-Hamza, Ikeola Suhurat Olatinwo, Peter ogirima Sadiku, Abdulkadir Bolakale Sakariyah, An adaptive neuro-fuzzy inference system for multinomial malware classification , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 1, February 2025
You may also start an advanced similarity search for this article.
Most read articles by the same author(s)
- Nour Hamad Abu Afouna, Majid Khan Majahar Ali, Optimizing precision farming: enhancing machine learning efficiency with robust regression techniques in high-dimensional data , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 1, February 2025

