Design of traffic management system using machine learning model YOLOv7

Vehicles have become an inseparable part of modern life, providing individual mobility and enabling long-distance travel. However, the increasing ownership rates of cars and motorcycles have resulted in traffic flow management systems becoming unable to handle high traffic density, leading to tra...

Full description

Bibliographic Details
Main Author: Eng, Xin Fang
Other Authors: Heng Kok Hui, John Gerard
Format: Final Year Project (FYP)
Language:English
Published: Nanyang Technological University 2023
Subjects:
Online Access:https://hdl.handle.net/10356/167811
_version_ 1811682172239609856
author Eng, Xin Fang
author2 Heng Kok Hui, John Gerard
author_facet Heng Kok Hui, John Gerard
Eng, Xin Fang
author_sort Eng, Xin Fang
collection NTU
description Vehicles have become an inseparable part of modern life, providing individual mobility and enabling long-distance travel. However, the increasing ownership rates of cars and motorcycles have resulted in traffic flow management systems becoming unable to handle high traffic density, leading to traffic congestion and longer commute times. Moreover, traditional traffic control systems are ineffective in reacting to unexpected behavior from road users, leading to a rise in road accidents. To address these challenges, this project proposes an intelligent traffic management system based on YOLOv7 machine learning model to replace the existing traffic system. The proposed system focuses on the capability of the traffic system in reacting to environmental changes, optimizing traffic flow control, and improving road user experiences by implementing adjustable traffic based on real-time conditions. By using real-time traffic data, the proposed system can dynamically adjust the control of traffic flow , reducing traffic congestion and minimizing travel times. In addition, the machine learning model can recognize and predict traffic patterns and adjust traffic lights accordingly, further optimizing traffic flow control. The information and data obtained from the detection and classification of YOLOv7 can be used as parameters for designing a traffic management system that generates various control systems for traffic flow, including sequencing the green light at a junction and regulating the duration of green time. The model was optimized to improve accuracy on training data and ability to generalize new data, one of the methods being fine-tuning by changing hyperparameters to better suit the dataset and vehicle detection application. This report presents two traffic control algorithms that use different parameters for managing traffic flow, both of which have demonstrated advantages in controlling traffic and are suitable for various traffic patterns. Testing of the model and traffic management algorithm was conducted on a four-way intersection, targeting both two-phase and four-phase signals, and evaluated under different traffic conditions to test its ability. In summary, the intelligent traffic management system proposed in this study has the potential to improve traffic flow control, enhance road safety, and improve the road user experience.
first_indexed 2024-10-01T03:52:37Z
format Final Year Project (FYP)
id ntu-10356/167811
institution Nanyang Technological University
language English
last_indexed 2024-10-01T03:52:37Z
publishDate 2023
publisher Nanyang Technological University
record_format dspace
spelling ntu-10356/1678112023-11-29T08:09:44Z Design of traffic management system using machine learning model YOLOv7 Eng, Xin Fang Heng Kok Hui, John Gerard School of Mechanical and Aerospace Engineering mkhheng@ntu.edu.sg Engineering::Mechanical engineering Vehicles have become an inseparable part of modern life, providing individual mobility and enabling long-distance travel. However, the increasing ownership rates of cars and motorcycles have resulted in traffic flow management systems becoming unable to handle high traffic density, leading to traffic congestion and longer commute times. Moreover, traditional traffic control systems are ineffective in reacting to unexpected behavior from road users, leading to a rise in road accidents. To address these challenges, this project proposes an intelligent traffic management system based on YOLOv7 machine learning model to replace the existing traffic system. The proposed system focuses on the capability of the traffic system in reacting to environmental changes, optimizing traffic flow control, and improving road user experiences by implementing adjustable traffic based on real-time conditions. By using real-time traffic data, the proposed system can dynamically adjust the control of traffic flow , reducing traffic congestion and minimizing travel times. In addition, the machine learning model can recognize and predict traffic patterns and adjust traffic lights accordingly, further optimizing traffic flow control. The information and data obtained from the detection and classification of YOLOv7 can be used as parameters for designing a traffic management system that generates various control systems for traffic flow, including sequencing the green light at a junction and regulating the duration of green time. The model was optimized to improve accuracy on training data and ability to generalize new data, one of the methods being fine-tuning by changing hyperparameters to better suit the dataset and vehicle detection application. This report presents two traffic control algorithms that use different parameters for managing traffic flow, both of which have demonstrated advantages in controlling traffic and are suitable for various traffic patterns. Testing of the model and traffic management algorithm was conducted on a four-way intersection, targeting both two-phase and four-phase signals, and evaluated under different traffic conditions to test its ability. In summary, the intelligent traffic management system proposed in this study has the potential to improve traffic flow control, enhance road safety, and improve the road user experience. Bachelor of Engineering (Mechanical Engineering) 2023-05-31T12:34:03Z 2023-05-31T12:34:03Z 2023 Final Year Project (FYP) Eng, X. F. (2023). Design of traffic management system using machine learning model YOLOv7. Final Year Project (FYP), Nanyang Technological University, Singapore. https://hdl.handle.net/10356/167811 https://hdl.handle.net/10356/167811 en A188 application/pdf Nanyang Technological University
spellingShingle Engineering::Mechanical engineering
Eng, Xin Fang
Design of traffic management system using machine learning model YOLOv7
title Design of traffic management system using machine learning model YOLOv7
title_full Design of traffic management system using machine learning model YOLOv7
title_fullStr Design of traffic management system using machine learning model YOLOv7
title_full_unstemmed Design of traffic management system using machine learning model YOLOv7
title_short Design of traffic management system using machine learning model YOLOv7
title_sort design of traffic management system using machine learning model yolov7
topic Engineering::Mechanical engineering
url https://hdl.handle.net/10356/167811
work_keys_str_mv AT engxinfang designoftrafficmanagementsystemusingmachinelearningmodelyolov7