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
- M. A. Lala, S. Kawu, O. A. Adesina, J. A. Sonibare, Assessment of Heavy Metal Pollution Status in Surface Soil of a Nigerian University , Journal of the Nigerian Society of Physical Sciences: Volume 4, Issue 3, August 2022
- Muteeu A. Olopade, Anthony B. Adegboyega, Kayode I. Ogungbemi, Adeyinka D. Adewoyin, Investigation of the behaviour of tunable chalcogenide-Bismuth based perovskite BiTl (SxSe1-x)3(X = 0, 0.33, 0.67, 1): first principles calculations , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 1, February 2025
- A. E. Anasthesia, U. Ibrahim, S. D. Yusuf, D. Z. Joseph, N. Flavious, M. Sidi, S. Shem, A. Mundi, A. Dare, D. S. Joseph, Y. A. Ningi, Diagnostic Reference Levels (DRLs) and Image Quality Evaluation for Digital Mammography in a Nigerian Facility , Journal of the Nigerian Society of Physical Sciences: Volume 4, Issue 2, May 2022
- E. Udensi, R. B. Salau, S. O. Salihu, M. M. Ndamitso, M. T. Bisiriyu, Chemometric authentication of branded and crude spices using integrated GC–MS fingerprints and elemental profiling , Journal of the Nigerian Society of Physical Sciences: Volume 8, Issue 3, August 2026
- Majid Khan Bin Majahar Ali, Shahida Shahnawaz, An inverse physics-informed neural network (I-PINN) framework for parameter estimation in mixed convection and melting effects , Journal of the Nigerian Society of Physical Sciences: Volume 8, Issue 2, May 2026
- F. U. Salifu, O. A. Oladipo, E. O. Ebock, B. Nava, Deep neural network model for vertical total electron content prediction at a single low latitude station , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 4, November 2025
- Bolarinwa Bolaji, B. I. Omede, U. B. Odionyenma, P. B. Ojih, Abdullahi A. Ibrahim, Modelling the transmission dynamics of Omicron variant of COVID-19 in densely populated city of Lagos in Nigeria , Journal of the Nigerian Society of Physical Sciences: Volume 5, Issue 2, May 2023
- Shehu Magawata Shagari, Danlami Gabi, Nasiru Muhammad Dankolo, Noah Ndakotsu Gana, Countermeasure to Structured Query Language Injection Attack for Web Applications using Hybrid Logistic Regression Technique , Journal of the Nigerian Society of Physical Sciences: Volume 4, Issue 4, November 2022
- Bolarinwa Bolaji, Abdullahi Ibrahim, Favour Ani, Benjamin Omede, Godwin Acheneje, A model for the control of transmission dynamics of human monkeypox disease in Sub-Saharan Africa , Journal of the Nigerian Society of Physical Sciences: Volume 6, Issue 2, May 2024
- Godson Chetachi Uzoaru, Ikechukwu Ignatius Ayogu, Juliet Nnenna Odii, Aloysius Chijioke Onyeka, Bridging context gaps in low-resource language chatbots through multilevel attention and hybrid embedding approaches , Journal of the Nigerian Society of Physical Sciences: Volume 8, Issue 4, November 2026 (in progress)
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

