Research on Track Defect Visual Detection Method Based on Improved YOLOv7-tiny
DOI:
https://doi.org/10.54097/61jfgw45Keywords:
Track Defect Detection, Light-Weighted Algorithm, Visual inspection, Convolutional Block Attention Module.Abstract
With the accelerated advancement of rail transit systems, conventional manual inspection methodologies exhibit significant limitations in both efficiency and accuracy. Despite the advantages of deep learning-based methods in automated defect detection, they still face challenges such as defect diversity, interference from complex environments, and computational resource constraints. This study proposes a visual inspection framework for rail defects based on an enhanced YOLOv7-tiny model, which integrates the Convolutional Block Attention Module (CBAM) for channel-spatial dual-dimensional attention mechanisms and Deformable Convolutional Networks (DCN) for depth wise separable convolutions, thereby improving the recognition capability of small-sized defects under complex environmental conditions. A novel lightweight hybrid parallel network architecture is proposed, incorporating depth wise separable convolution and channel pruning methodologies to enhance computational efficiency. Experimental results demonstrate that the improved model achieves a 95.7% Mean Average Precision (mAP) on the railway defect dataset, representing a 7.3% enhancement over the baseline YOLOv7-tiny. The optimized network exhibits a 42% reduction in parameters, decreasing from 6.0M to 3.5M, and a 53% reduction in computational complexity, dropping from 13.2 GFLOPs to 6.2 GFLOPs. These improvements highlight its significant advantages for deployment on resource-constrained detection devices. The study presents an innovative solution for intelligent track maintenance, achieving an optimal balance between precision and operational efficiency.
Downloads
References
[1] Chen Tianyan, Han Zeming, Huang Yunhu, et al. A Review of Vision-Based Defect Detection for Train Tracks [J]. Journal of Intelligent Science and Technology, 2024, 6 (3): 367 – 380.
[2] Wang Junyin, Wen Bin, Shen Yanjun, et al. Aluminum Profile Surface Defect Detection Method Based on Improved YOLOv7-tiny [J]. Journal of Zhejiang University (Engineering Science), 2025, 59 (3): 523 - 534.
[3] Duan J, Ye C, Wang Q, et al. A Light-Weight Grasping Pose Estimation Method for Mobile Robotic Arms Based on Depth wise Separable Convolution [J]. Actuators, 2025, 14 (2): 50 - 50.
[4] Zhang Xian. Research on Key Technologies of Government Cloud Data Governance Based on Multi-source Heterogeneous Data Fusion [J]. Network Security Technology and Application, 2024, (12): 60 – 210.
[5] DA SILVA NUNES M, MELO NASCIMENTO F, FLORêNCIO MIRANDA JR G, et al. Techniques for BRDF evaluation [J]. 2022, 38 (2): 573 - 89.
[6] Xi J S. Aluminum Surface Defect Detection Method Based on Lightweight YOLOv7-tiny [J]. Technology and Engineering, 2024, 24 (27): 11786 - 11794.
[7] Hu Dandan, Zhang Zhongting, Niu Guochen. Lane detection integrating CBAM attention mechanism and deformable convolution [J]. Journal of Beijing University of Aeronautics and Astronautics, 2024, 50 (7): 2150 - 2160.
[8] Yu Jiadan, Guo Pengfei. Research on YOLOv7-DCN Pedestrian Detection [J]. Information and Computer (Theoretical Edition), 2024, 36 (8): 80 - 82.
[9] JIN Y, YANG W, TAN R T J A E-P. Unsupervised Night Image Enhancement: When Layer Decomposition Meets Light-Effects Suppression [J/OL] 2022, arXiv: 2207.10564.
[10] Wang Yixuan, Xiang Siyu, Liang Huihui, et al. Transmission and Distribution Line Defect Detection Based on Semantic Segmentation Data Augmentation and Deformable Convolution [J]. Sichuan Electric Power Technology, 2025, 48 (1): 32 - 40, 84.
[11] Sun Xiaokai, Wang Yangwei, Liu Kai, et al. Low-Light Crack Image Enhancement Algorithm Based on Improved Dark Channel Prior [J]. Journal of Computer-Aided Design & Computer Graphics, 2018, 30 (4): 8.
[12] Wang Junmin, Lin Hui. Road crack detection based on lightweight deep learning model [J]. Journal of Pagdanganan University, 2024, 39 (5): 42 - 46.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Highlights in Science, Engineering and Technology

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.







