Vehicle detection on roads based on Yolov5 with multi-scale feature fusion

IF 4.5 Q2 COMPUTER SCIENCE, THEORY & METHODS
Array Pub Date : 2025-09-27 DOI:10.1016/j.array.2025.100522
Longyan Xu , Peilong Li , Qiang Peng , Yifan Zhao , Lan Zhu , Sanhong Yuan
{"title":"Vehicle detection on roads based on Yolov5 with multi-scale feature fusion","authors":"Longyan Xu ,&nbsp;Peilong Li ,&nbsp;Qiang Peng ,&nbsp;Yifan Zhao ,&nbsp;Lan Zhu ,&nbsp;Sanhong Yuan","doi":"10.1016/j.array.2025.100522","DOIUrl":null,"url":null,"abstract":"<div><div>This study focuses on Yolov5-based multi-head multi-scale adaptive feature fusion for vehicle detection to enhance the intelligence and refinement of road traffic safety management. As urbanization accelerates, road traffic problems are becoming increasingly serious. Accurate vehicle detection is crucial for traffic management to detect violations, monitor traffic flow, and prevent accidents in a timely manner. This paper proposes an improved Yolov5s-G model, which enhances the detection performance for small objects and improves the retention of feature information by introducing a small-object detection layer and a Weighted Cross-scale Fusion module (WCF), and an Adaptively Spatial Feature Fusion4(ASFF4) module. These enhancements enable the model to improve detection accuracy while maintaining moderate computational complexity. Specifically, the new small-object detection layer captures positional information of small objects more effectively, while the WCF module prevents the loss of small-object information during convolution through bidirectional cross-scale link feature fusion. Additionally, the ASFF4 module utilizes adaptive spatial feature fusion to further enhance the processing capability of feature information. Experimental results demonstrate that the improved Yolov5s-G model performs well on the vehicle detection dataset, with a mAP improvement of 9.3% compared to the original Yolov5 model. Furthermore, by introducing the knowledge distillation technique, the model has been significantly enhanced in terms of lightweighting.</div></div>","PeriodicalId":8417,"journal":{"name":"Array","volume":"28 ","pages":"Article 100522"},"PeriodicalIF":4.5000,"publicationDate":"2025-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Array","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2590005625001493","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

This study focuses on Yolov5-based multi-head multi-scale adaptive feature fusion for vehicle detection to enhance the intelligence and refinement of road traffic safety management. As urbanization accelerates, road traffic problems are becoming increasingly serious. Accurate vehicle detection is crucial for traffic management to detect violations, monitor traffic flow, and prevent accidents in a timely manner. This paper proposes an improved Yolov5s-G model, which enhances the detection performance for small objects and improves the retention of feature information by introducing a small-object detection layer and a Weighted Cross-scale Fusion module (WCF), and an Adaptively Spatial Feature Fusion4(ASFF4) module. These enhancements enable the model to improve detection accuracy while maintaining moderate computational complexity. Specifically, the new small-object detection layer captures positional information of small objects more effectively, while the WCF module prevents the loss of small-object information during convolution through bidirectional cross-scale link feature fusion. Additionally, the ASFF4 module utilizes adaptive spatial feature fusion to further enhance the processing capability of feature information. Experimental results demonstrate that the improved Yolov5s-G model performs well on the vehicle detection dataset, with a mAP improvement of 9.3% compared to the original Yolov5 model. Furthermore, by introducing the knowledge distillation technique, the model has been significantly enhanced in terms of lightweighting.
基于多尺度特征融合的Yolov5道路车辆检测
本研究主要针对基于yolov5的多头多尺度自适应特征融合进行车辆检测,以增强道路交通安全管理的智能化和精细化。随着城市化进程的加快,道路交通问题日益严重。准确的车辆检测对于交通管理及时发现违章行为、监控交通流量、预防事故的发生至关重要。本文提出了一种改进的Yolov5s-G模型,通过引入小目标检测层、加权跨尺度融合模块(WCF)和自适应空间特征融合模块(ASFF4),提高了小目标的检测性能,提高了特征信息的保留率。这些增强功能使模型能够在保持适度计算复杂度的同时提高检测精度。具体来说,新的小目标检测层更有效地捕获了小目标的位置信息,而WCF模块通过双向跨尺度链路特征融合防止了小目标信息在卷积过程中的丢失。此外,ASFF4模块利用自适应空间特征融合,进一步增强特征信息的处理能力。实验结果表明,改进的Yolov5s-G模型在车辆检测数据集上表现良好,mAP比原Yolov5模型提高了9.3%。此外,通过引入知识蒸馏技术,该模型在轻量化方面得到了显著增强。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Array
Array Computer Science-General Computer Science
CiteScore
4.40
自引率
0.00%
发文量
93
审稿时长
45 days
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信