Research on a traffic flow statistical algorithm based on YBOVDT and SAM2

Abstract In the process of urbanization, traffic flow statistics are of great significance to traffic management. Existing traffic flow statistics solutions suffer from incomplete functionality and lack effective solutions for core issues. The closed-set object detection algorithms they employ can o...

Full description

Saved in:
Bibliographic Details
Main Authors: Yuanyuan Wang, Zheng Ding, Jiange Liu, Kexiao Wu, Md Sharid Kayes Dipu, Tingmei Ma, Yonghao Ma, Haiyan Zhang
Format: Article
Language:English
Published: Nature Portfolio 2025-05-01
Series:Scientific Reports
Subjects:
Online Access:https://doi.org/10.1038/s41598-025-04336-2
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850231557855379456
author Yuanyuan Wang
Zheng Ding
Jiange Liu
Kexiao Wu
Md Sharid Kayes Dipu
Tingmei Ma
Yonghao Ma
Haiyan Zhang
author_facet Yuanyuan Wang
Zheng Ding
Jiange Liu
Kexiao Wu
Md Sharid Kayes Dipu
Tingmei Ma
Yonghao Ma
Haiyan Zhang
author_sort Yuanyuan Wang
collection DOAJ
description Abstract In the process of urbanization, traffic flow statistics are of great significance to traffic management. Existing traffic flow statistics solutions suffer from incomplete functionality and lack effective solutions for core issues. The closed-set object detection algorithms they employ can only perform detections based on fixed categories, which leads to limited recognition scope and weak model generalization ability.Moreover, the tracking algorithms used are unstable and have low computational efficiency. To address these challenges, this paper proposes a traffic flow statistical method based on YBOVDT(YOLO-World and BOT-SORT-Open Vocabulary Detection and Tracking)and SAM2.Specifically, in the method, this paper proposes a “Traffic Flow Data Processing and Analysis” module, aiming to optimize and supplement the five core functions required for traffic flow statistics tasks, thereby making the functions of the entire solution more comprehensive.In addition, this paper combines the latest open set object detection and tracking algorithms to enhance the recognition ability and tracking stability of traffic objects. In this study, a custom dataset was used to train existing traffic flow statistics models.The experimental results showed that the YOLO-World model achieved a precision of 76.99% and an mAP50 of 70.08%. A comparative analysis with YOLO-v3,YOLO-v5, YOLO-v6,and YOLO-v8 algorithms indicated that, while balancing spatial and temporal resource consumption and accuracy, the proposed algorithm offers higher recognition accuracy and environmental adaptability. The experimental results further validated that this method demonstrates significant improvements in handling traffic flow statistics tasks in complex traffic environments.
format Article
id doaj-art-d2a26c3aa2694101a10ef12734b8d8b5
institution OA Journals
issn 2045-2322
language English
publishDate 2025-05-01
publisher Nature Portfolio
record_format Article
series Scientific Reports
spelling doaj-art-d2a26c3aa2694101a10ef12734b8d8b52025-08-20T02:03:28ZengNature PortfolioScientific Reports2045-23222025-05-0115112110.1038/s41598-025-04336-2Research on a traffic flow statistical algorithm based on YBOVDT and SAM2Yuanyuan Wang0Zheng Ding1Jiange Liu2Kexiao Wu3Md Sharid Kayes Dipu4Tingmei Ma5Yonghao Ma6Haiyan Zhang7School of Computer and Software Engineering, Huaiyin Institute of TechnologySchool of Computer and Software Engineering, Huaiyin Institute of TechnologyHuai’an Power Supply Branch, State Grid Jiangsu Electric Power Co., LtdHuai’an Power Supply Branch, State Grid Jiangsu Electric Power Co., LtdSchool of Computer and Software Engineering, Huaiyin Institute of TechnologySchool of Computer and Software Engineering, Huaiyin Institute of TechnologySchool of Computer and Software Engineering, Huaiyin Institute of TechnologySchool of Computer and Software Engineering, Huaiyin Institute of TechnologyAbstract In the process of urbanization, traffic flow statistics are of great significance to traffic management. Existing traffic flow statistics solutions suffer from incomplete functionality and lack effective solutions for core issues. The closed-set object detection algorithms they employ can only perform detections based on fixed categories, which leads to limited recognition scope and weak model generalization ability.Moreover, the tracking algorithms used are unstable and have low computational efficiency. To address these challenges, this paper proposes a traffic flow statistical method based on YBOVDT(YOLO-World and BOT-SORT-Open Vocabulary Detection and Tracking)and SAM2.Specifically, in the method, this paper proposes a “Traffic Flow Data Processing and Analysis” module, aiming to optimize and supplement the five core functions required for traffic flow statistics tasks, thereby making the functions of the entire solution more comprehensive.In addition, this paper combines the latest open set object detection and tracking algorithms to enhance the recognition ability and tracking stability of traffic objects. In this study, a custom dataset was used to train existing traffic flow statistics models.The experimental results showed that the YOLO-World model achieved a precision of 76.99% and an mAP50 of 70.08%. A comparative analysis with YOLO-v3,YOLO-v5, YOLO-v6,and YOLO-v8 algorithms indicated that, while balancing spatial and temporal resource consumption and accuracy, the proposed algorithm offers higher recognition accuracy and environmental adaptability. The experimental results further validated that this method demonstrates significant improvements in handling traffic flow statistics tasks in complex traffic environments.https://doi.org/10.1038/s41598-025-04336-2Transportation engineeringMultimodal learningTraffic flow statistics
spellingShingle Yuanyuan Wang
Zheng Ding
Jiange Liu
Kexiao Wu
Md Sharid Kayes Dipu
Tingmei Ma
Yonghao Ma
Haiyan Zhang
Research on a traffic flow statistical algorithm based on YBOVDT and SAM2
Scientific Reports
Transportation engineering
Multimodal learning
Traffic flow statistics
title Research on a traffic flow statistical algorithm based on YBOVDT and SAM2
title_full Research on a traffic flow statistical algorithm based on YBOVDT and SAM2
title_fullStr Research on a traffic flow statistical algorithm based on YBOVDT and SAM2
title_full_unstemmed Research on a traffic flow statistical algorithm based on YBOVDT and SAM2
title_short Research on a traffic flow statistical algorithm based on YBOVDT and SAM2
title_sort research on a traffic flow statistical algorithm based on ybovdt and sam2
topic Transportation engineering
Multimodal learning
Traffic flow statistics
url https://doi.org/10.1038/s41598-025-04336-2
work_keys_str_mv AT yuanyuanwang researchonatrafficflowstatisticalalgorithmbasedonybovdtandsam2
AT zhengding researchonatrafficflowstatisticalalgorithmbasedonybovdtandsam2
AT jiangeliu researchonatrafficflowstatisticalalgorithmbasedonybovdtandsam2
AT kexiaowu researchonatrafficflowstatisticalalgorithmbasedonybovdtandsam2
AT mdsharidkayesdipu researchonatrafficflowstatisticalalgorithmbasedonybovdtandsam2
AT tingmeima researchonatrafficflowstatisticalalgorithmbasedonybovdtandsam2
AT yonghaoma researchonatrafficflowstatisticalalgorithmbasedonybovdtandsam2
AT haiyanzhang researchonatrafficflowstatisticalalgorithmbasedonybovdtandsam2