Vehicle Flow Detection and Tracking Based on an Improved YOLOv8n and ByteTrack Framework
Vehicle flow detection and tracking are crucial components of intelligent transportation systems. However, traditional methods often struggle with challenges such as the poor detection of small objects and low efficiency when processing large-scale data. To address these issues, this paper proposes...
Saved in:
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2024-12-01
|
Series: | World Electric Vehicle Journal |
Subjects: | |
Online Access: | https://www.mdpi.com/2032-6653/16/1/13 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
_version_ | 1832587316210696192 |
---|---|
author | Jinjiang Liu Yonghua Xie Yu Zhang Haoming Li |
author_facet | Jinjiang Liu Yonghua Xie Yu Zhang Haoming Li |
author_sort | Jinjiang Liu |
collection | DOAJ |
description | Vehicle flow detection and tracking are crucial components of intelligent transportation systems. However, traditional methods often struggle with challenges such as the poor detection of small objects and low efficiency when processing large-scale data. To address these issues, this paper proposes a vehicle flow detection and tracking method that integrates an improved YOLOv8n model with the ByteTrack algorithm. In the detection module, we introduce the innovative MSN-YOLO model, which combines the C2f_MLCA module, the Detect_SEAM module, and the NWD loss function to enhance feature fusion and improve cross-scale information processing. These enhancements significantly boost the model’s ability to detect small objects and handle complex backgrounds. In the tracking module, we incorporate the ByteTrack algorithm and train unique vehicle re-identification (Re-ID) features, ensuring robust multi-object tracking in complex environments and improving the stability and accuracy of vehicle flow tracking. The experimental results demonstrate that the proposed method achieves a mean Average Precision (mAP) of 62.8% at IoU = 0.50 and a Multiple Object Tracking Accuracy (MOTA) of 72.16% in real-time tracking. These improvements represent increases of 2.7% and 3.16%, respectively, compared to baseline algorithms. This method provides effective technical support for intelligent traffic management, traffic flow monitoring, and congestion prediction. |
format | Article |
id | doaj-art-c9da4f7dd3fa497390985d168c4fe1d2 |
institution | Kabale University |
issn | 2032-6653 |
language | English |
publishDate | 2024-12-01 |
publisher | MDPI AG |
record_format | Article |
series | World Electric Vehicle Journal |
spelling | doaj-art-c9da4f7dd3fa497390985d168c4fe1d22025-01-24T13:52:45ZengMDPI AGWorld Electric Vehicle Journal2032-66532024-12-011611310.3390/wevj16010013Vehicle Flow Detection and Tracking Based on an Improved YOLOv8n and ByteTrack FrameworkJinjiang Liu0Yonghua Xie1Yu Zhang2Haoming Li3College of Computer and Control Engineering, Northeast Forestry University, Harbin 150040, ChinaCollege of Computer and Control Engineering, Northeast Forestry University, Harbin 150040, ChinaCollege of Computer and Control Engineering, Northeast Forestry University, Harbin 150040, ChinaNational Research Center of Pumps, Jiangsu University, Zhenjiang 212013, ChinaVehicle flow detection and tracking are crucial components of intelligent transportation systems. However, traditional methods often struggle with challenges such as the poor detection of small objects and low efficiency when processing large-scale data. To address these issues, this paper proposes a vehicle flow detection and tracking method that integrates an improved YOLOv8n model with the ByteTrack algorithm. In the detection module, we introduce the innovative MSN-YOLO model, which combines the C2f_MLCA module, the Detect_SEAM module, and the NWD loss function to enhance feature fusion and improve cross-scale information processing. These enhancements significantly boost the model’s ability to detect small objects and handle complex backgrounds. In the tracking module, we incorporate the ByteTrack algorithm and train unique vehicle re-identification (Re-ID) features, ensuring robust multi-object tracking in complex environments and improving the stability and accuracy of vehicle flow tracking. The experimental results demonstrate that the proposed method achieves a mean Average Precision (mAP) of 62.8% at IoU = 0.50 and a Multiple Object Tracking Accuracy (MOTA) of 72.16% in real-time tracking. These improvements represent increases of 2.7% and 3.16%, respectively, compared to baseline algorithms. This method provides effective technical support for intelligent traffic management, traffic flow monitoring, and congestion prediction.https://www.mdpi.com/2032-6653/16/1/13intelligent transportationMSN-YOLOByteTrackvehicle flow detectionobject tracking |
spellingShingle | Jinjiang Liu Yonghua Xie Yu Zhang Haoming Li Vehicle Flow Detection and Tracking Based on an Improved YOLOv8n and ByteTrack Framework World Electric Vehicle Journal intelligent transportation MSN-YOLO ByteTrack vehicle flow detection object tracking |
title | Vehicle Flow Detection and Tracking Based on an Improved YOLOv8n and ByteTrack Framework |
title_full | Vehicle Flow Detection and Tracking Based on an Improved YOLOv8n and ByteTrack Framework |
title_fullStr | Vehicle Flow Detection and Tracking Based on an Improved YOLOv8n and ByteTrack Framework |
title_full_unstemmed | Vehicle Flow Detection and Tracking Based on an Improved YOLOv8n and ByteTrack Framework |
title_short | Vehicle Flow Detection and Tracking Based on an Improved YOLOv8n and ByteTrack Framework |
title_sort | vehicle flow detection and tracking based on an improved yolov8n and bytetrack framework |
topic | intelligent transportation MSN-YOLO ByteTrack vehicle flow detection object tracking |
url | https://www.mdpi.com/2032-6653/16/1/13 |
work_keys_str_mv | AT jinjiangliu vehicleflowdetectionandtrackingbasedonanimprovedyolov8nandbytetrackframework AT yonghuaxie vehicleflowdetectionandtrackingbasedonanimprovedyolov8nandbytetrackframework AT yuzhang vehicleflowdetectionandtrackingbasedonanimprovedyolov8nandbytetrackframework AT haomingli vehicleflowdetectionandtrackingbasedonanimprovedyolov8nandbytetrackframework |