Detection of Surface Defects on Railway Tracks Based on Deep Learning

The detection of rail surface defects is very important in railway transportation. However, the edge defects on both sides of the rail and the multi-scale variation between different types of defects both pose challenges to the detection of rail surface defects. In order to solve the above problems,...

Full description

Bibliographic Details
Main Authors: Maoli Wang, Kaizhi Li, Xiao Zhu, Yining Zhao
Format: Article
Language:English
Published: IEEE 2022-01-01
Series:IEEE Access
Subjects:
Online Access:https://ieeexplore.ieee.org/document/9963529/
_version_ 1811186323142213632
author Maoli Wang
Kaizhi Li
Xiao Zhu
Yining Zhao
author_facet Maoli Wang
Kaizhi Li
Xiao Zhu
Yining Zhao
author_sort Maoli Wang
collection DOAJ
description The detection of rail surface defects is very important in railway transportation. However, the edge defects on both sides of the rail and the multi-scale variation between different types of defects both pose challenges to the detection of rail surface defects. In order to solve the above problems, this paper proposes a novel rail surface defect detection network, YOLOv5s-VF. First, we design a sharpening functional attention mechanism (V-CBAM) that contains two key components: adaptive channel attention (F-CAM) and sharpened spatial attention (SSA). In F-CAM, we use one-dimensional convolution with adaptive convolution kernels for cross-channel connections, which reduces the number of parameters of the attention mechanism without affecting its performance. In SSA, we design a sharpening filter suitable for spatial attention, which is used to enhance the attention to the edge position defects of railway tracks and enhance the detection effect of the network on edge defects. Second, we construct a microscale adaptive spatial feature fusion (M-ASFF), which adds a high-resolution feature extraction layer to enhance the details of the underlying features of tiny defects. At the same time, in order to prevent the loss of detailed information and the excessive increase of the parameters of the model, the low-resolution feature layer is removed. Combined with adaptive spatial feature fusion, it can prevent the semantic conflict caused by the fusion of features at different scales. Finally, given the lack of labeled public rail surface defect datasets, this paper is based on the collection of real rail images and manually labels defects to train an object detection network and open source it. The experimental results show that YOLOv5s-VF outperforms the existing rail surface defect detection methods with a detection accuracy of 93.5% and a detection speed of 114.9 fps.
first_indexed 2024-04-11T13:44:40Z
format Article
id doaj.art-fadd1fd3c14849e8a8e8ec48a796215a
institution Directory Open Access Journal
issn 2169-3536
language English
last_indexed 2024-04-11T13:44:40Z
publishDate 2022-01-01
publisher IEEE
record_format Article
series IEEE Access
spelling doaj.art-fadd1fd3c14849e8a8e8ec48a796215a2022-12-22T04:21:09ZengIEEEIEEE Access2169-35362022-01-011012645112646510.1109/ACCESS.2022.32245949963529Detection of Surface Defects on Railway Tracks Based on Deep LearningMaoli Wang0https://orcid.org/0000-0001-5420-1463Kaizhi Li1https://orcid.org/0000-0003-1240-9287Xiao Zhu2Yining Zhao3https://orcid.org/0000-0002-8518-6152School of Computer Science, Qufu Normal University, Rizhao, ChinaSchool of Computer Science, Qufu Normal University, Rizhao, ChinaSchool of Computer Science, Qufu Normal University, Rizhao, ChinaSchool of Computer Science, Qufu Normal University, Rizhao, ChinaThe detection of rail surface defects is very important in railway transportation. However, the edge defects on both sides of the rail and the multi-scale variation between different types of defects both pose challenges to the detection of rail surface defects. In order to solve the above problems, this paper proposes a novel rail surface defect detection network, YOLOv5s-VF. First, we design a sharpening functional attention mechanism (V-CBAM) that contains two key components: adaptive channel attention (F-CAM) and sharpened spatial attention (SSA). In F-CAM, we use one-dimensional convolution with adaptive convolution kernels for cross-channel connections, which reduces the number of parameters of the attention mechanism without affecting its performance. In SSA, we design a sharpening filter suitable for spatial attention, which is used to enhance the attention to the edge position defects of railway tracks and enhance the detection effect of the network on edge defects. Second, we construct a microscale adaptive spatial feature fusion (M-ASFF), which adds a high-resolution feature extraction layer to enhance the details of the underlying features of tiny defects. At the same time, in order to prevent the loss of detailed information and the excessive increase of the parameters of the model, the low-resolution feature layer is removed. Combined with adaptive spatial feature fusion, it can prevent the semantic conflict caused by the fusion of features at different scales. Finally, given the lack of labeled public rail surface defect datasets, this paper is based on the collection of real rail images and manually labels defects to train an object detection network and open source it. The experimental results show that YOLOv5s-VF outperforms the existing rail surface defect detection methods with a detection accuracy of 93.5% and a detection speed of 114.9 fps.https://ieeexplore.ieee.org/document/9963529/YOLOv5attention mechanismadaptive spatial feature fusionrail surface defect
spellingShingle Maoli Wang
Kaizhi Li
Xiao Zhu
Yining Zhao
Detection of Surface Defects on Railway Tracks Based on Deep Learning
IEEE Access
YOLOv5
attention mechanism
adaptive spatial feature fusion
rail surface defect
title Detection of Surface Defects on Railway Tracks Based on Deep Learning
title_full Detection of Surface Defects on Railway Tracks Based on Deep Learning
title_fullStr Detection of Surface Defects on Railway Tracks Based on Deep Learning
title_full_unstemmed Detection of Surface Defects on Railway Tracks Based on Deep Learning
title_short Detection of Surface Defects on Railway Tracks Based on Deep Learning
title_sort detection of surface defects on railway tracks based on deep learning
topic YOLOv5
attention mechanism
adaptive spatial feature fusion
rail surface defect
url https://ieeexplore.ieee.org/document/9963529/
work_keys_str_mv AT maoliwang detectionofsurfacedefectsonrailwaytracksbasedondeeplearning
AT kaizhili detectionofsurfacedefectsonrailwaytracksbasedondeeplearning
AT xiaozhu detectionofsurfacedefectsonrailwaytracksbasedondeeplearning
AT yiningzhao detectionofsurfacedefectsonrailwaytracksbasedondeeplearning