journal article·2025-12-26Open access

Accurate Pose Detection Method for Rail Fastener Clips Based on Improved YOLOv8-Pose

Defang Lv, Jianjun Meng, Zhenhan Ren, Liqing Yao, Gengqi Liu

Applied Sciences· Volume 16· Issue 1

Abstract

Minor displacements and deflections of rail fastener clips pose a critical risk to railway safety, which are difficult to quantify accurately using traditional object detection methods. This paper proposes an improved YOLOv8-pose-based method, You Only Look Once version 8-pose with GAM, SPPF-Attention, and Wise-IoU (YOLOv8-pose-GSW) for automated and quantitative pose detection of fastener clips. Firstly, a high-precision keypoint detection network is constructed by integrating a Global Attention Mechanism (GAM) into the neck, enhancing the Spatial Pyramid Pooling Fast (SPPF) module to Spatial Pyramid Pooling Fast with Attention (SPPF-Attention) in the backbone, and adopting the Wise Intersection over Union (Wise-IoU) loss function. Subsequently, a posterior verification mechanism based on spatial constraint error is designed to eliminate unreliable detections by leveraging the inherent geometric priors of fasteners. Finally, the deflection angle, longitudinal displacement, and lateral displacement of the clip are calculated from the verified keypoints. Experimental results demonstrate that the proposed method achieves an Average Precision at IoU threshold from 0.5 to 0.95 (AP@0.5:0.95) of 77.5%, representing a 3.6% improvement over the baseline YOLOv8s-pose model, effectively balancing detection accuracy and computational efficiency. This work provides a reliable technical solution for the refined maintenance of rail fasteners.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Image and Object Detection Techniques · Advanced Neural Network Applications · Robot Manipulation and Learning

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Mechanical Engineering, Lanzhou Jiaotong University, Lanzhou 730070, China

Funding

National Natural Science Foundation of China · Lanzhou Science and Technology Plan Project

References (35)

Show source-provided references
1. Vibration-based damage detection of rail fastener using fully convolutional networks10.1080/00423114.2021.1896010 ↗
2. Machine vision-based surface crack analysis for transportation infrastructure10.1016/j.autcon.2021.103973 ↗
3. Risk-based maintenance planning for rail fastening systems10.1061/AJRUA6.0001012 ↗
4. Manual, hybrid and automated inspection literature and current research10.1108/09576069310023838 ↗
5. Hybrid deep learning architecture for rail surface segmentation and surface defect detection10.1111/mice.12710 ↗
6. Automated crack severity level detection and classification for ballastless track slab using deep convolutional neural network10.1016/j.autcon.2020.103484 ↗
7. Optimized railway track health monitoring system based on dynamic differential evolution algorithm10.1016/j.measurement.2019.107332 ↗
8. An optimized railway fastener detection method based on modified faster R-CNN10.1016/j.measurement.2021.109742 ↗
9. A review of applications of visual inspection technology based on image processing in the railway industry10.1093/tse/tdz007 ↗
10. An efficient direction field-based method for the detection of fasteners on high-speed railways10.3390/s110807364 ↗
11. Railway track fastener defect detection based on image processing and deep learning techniques: A comparative study10.1016/j.engappai.2019.01.008 ↗
12. Wang, Z., and Wang, S. (2015, January 25–26). Research of method for detection of rail fastener defects based on machine vision. Proceedings of the 2015 4th International Conference on Mechatronics, Materials, Chemistry and Computer Engineering, Xi’an, China.10.2991/icmmcce-15.2015.547 ↗
13. A real time detection method of track fasteners missing of railway based on machine vision
14. Learning visual similarity for inspecting defective railway fasteners10.1109/JSEN.2019.2911015 ↗
15. Automatic fastener classification and defect detection in vision-based railway inspection systems10.1109/TIM.2013.2283741 ↗
16. A Rail Fastener Defect Detection Algorithm Based on Improved YOLOv510.1177/09544097241234380 ↗
17. Lin, Y.W., Hsieh, C.C., Huang, W.H., Hsieh, S.L., and Hung, W.H. (2019, January 29–31). Railway track fasteners fault detection using deep learning. Proceedings of the 2019 IEEE Eurasia Conference on IOT, Communication and Engineering (ECICE), Yunlin, Taiwan.10.1109/ECICE47484.2019.8942769 ↗
18. Cascade learning embedded vision inspection of rail fastener by using a fault detection IoT vehicle
19. Faster R-CNN: Towards real-time object detection with region proposal networks
20. Autonomous structural visual inspection using region-based deep learning for detecting multiple damage types10.1111/mice.12334 ↗
21. Deep Multitask Learning for Railway Track Inspection10.1109/TITS.2016.2568758 ↗
22. Real-Time Railroad Track Components Inspection Based on the Improved YOLOv4 Framework10.1016/j.autcon.2021.103596 ↗
23. Hu, J., Qiao, P., Lv, H., Yang, L., Ouyang, A., He, Y., and Liu, Y. (2022). High speed railway fastener defect detection by using improved YoLoX-Nano model. Sensors, 22.10.3390/s22218399 ↗
24. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27–30). You only look once: Unified, real-time object detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
25. Redmon, J., and Farhadi, A. (2017, January 21–26). YOLO9000: Better, faster, stronger. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.690 ↗
26. MYOLOv3-Tiny: A new convolutional neural network architecture for real-time detection of track fasteners10.1016/j.compind.2020.103303 ↗
27. Multi-target defect identification for railway track line based on image processing and improved YOLOv3 model10.1109/ACCESS.2020.2984264 ↗
28. Bochkovskiy, A., Wang, C.Y., and Liao, M.H.-Y. (2020). YOLOv4: Optimal Speed and Accuracy of Object Detection. arXiv.
29. A real-time detection approach for bridge cracks based on YOLOv4-FPM10.1016/j.autcon.2020.103514 ↗
30. Su, Z., Han, K., Song, W., and Ning, K. (2022, January 3–5). Railway fastener defect detection based on improved YOLOv5 algorithm. Proceedings of the 2022 IEEE 6th Advanced Information Technology, Electronic and Automation Control Conference (IAEAC), Beijing, China.10.1109/IAEAC54830.2022.9929911 ↗
31. DenseSPH-YOLOv5: An automated damage detection model based on DenseNet and Swin-transformer prediction head-enabled YOLOv5 with attention mechanism10.1016/j.aei.2023.102007 ↗
32. Lv, D., Meng, J., Meng, G., Shen, Y., Yao, L., and Liu, G. (2025). Two-Stage Multi-Label Detection Method for Railway Fasteners Based on Type-Guided Expert Model. Appl. Sci., 15.10.3390/app152413093 ↗
33. Liu, S., Qi, L., Qin, H., Shi, J., and Jia, J. (2018, January 18–22). Path aggregation network for instance segmentation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA.10.1109/CVPR.2018.00913 ↗
34. A Simulation-Based Optimization Model for Watershed Multi-Scale Irrigation Water Use with Considering Impacts of Climate Changes10.1016/j.jhydrol.2021.126395 ↗
35. Tong, Z., Chen, Y., Xu, Z., and Yu, R. (2023). Wise-IoU: Bounding box regression loss with dynamic focusing mechanism. arXiv.