%0 Journal Article
%T 基于改进ViT-YOLOv5的高速公路表面裂缝检测研究
Research on Freeway Surface Crack Detection Based on Improved ViT-YOLOv5
%A 王鑫
%A 廖明军
%A 王凯英
%J Modeling and Simulation
%P 5114-5127
%@ 2324-870X
%D 2023
%I Hans Publishing
%R 10.12677/MOS.2023.126465
%X 道路裂缝会对行车安全构成威胁甚至引发交通事故,现有的检测方法在精度和准确率上仍然有改进的空间。因此提出了一种基于改进的ViT-YOLOv5 (Transformer-You Only Look Once Version 5)的高速公路表面裂缝检测研究。首先引入了双向特征金字塔网络(BiFPN)特征融合结构,并引入了自注意力机制和改进的Squeeze-and-Excitation (SE)注意力机制,动态地调整每个通道的特征权重,对输入特征图的不同通道给予不同的重视程度。其次借鉴了BiFPN的双向跨尺度连接和加权特征融合结构,改进了YOLOv5的头部网络,更有效地实现了多尺度特征融合。最后采用Transformer的核心思想,设计了Transformer层模块,引入了自注意力机制,增强了模型关注信息的不同方面的能力。实验结果表明,改进后的目标检测算法在高速公路表面裂缝检测中的平均精度mAP@0.5,与传统YOLOv5算法相比提升了28个百分点。改进后的算法能够快速、准确地提高高速公路表面裂缝检测精度。
Serious freeway pavement crack can pose a threat to driving safety and even cause traffic accidents. Existing detection methods still have room for improvement in precision and accuracy. Therefore a method on freeway surface crack detection based on the improved ViT-YOLOv5 (Transformer-You Only Look Once Version 5) is proposed. Firstly, the feature fusion structure of bidirectional feature pyramid network (BiFPN) feature is introduced, and the self-attention mechanism and the im-proved Squeeze-and-Excitation (SE) attention mechanism are introduced to dynamically adjust the feature weight of each channel and give different attention to different channels of the input feature map. Secondly, by drawing on the bidirectional cross-scale connection and weighted feature fusion structure of BiFPN, the head network of YOLOv5 is improved to realize multi-scale feature fusion more effectively. Finally, the Transformer layer module is designed, based on the core idea of Transformer, and the self-attention mechanism is introduced, which enhances the ability of the model to pay attention to different aspects of information. The results show that the average accu-racy of the improved object detection algorithm in freeway surface crack detection is mAP@0.5, which is 28 percentage more than the traditional YOLOv5 algorithm. The improved algorithm can quickly and accurately improve the accuracy of highway surface crack detection.
%K 高速公路,裂缝检测,YOLOv5,Transformer,注意力机制,特征融合
Freeway
%K Crack Detection
%K YOLOv5
%K Transformer
%K Attention Mechanisms
%K Feature Fusion
%U http://www.hanspub.org/journal/PaperInformation.aspx?PaperID=74856