journal article·2026-01-26Open access

YOLO-GSD-seg: YOLO for Guide Rail Surface Defect Segmentation and Detection

Shijun Lai, Zuoxi Zhao, Yalong Mi, Kai Yuan, Qian Wang

Applied Sciences· Volume 16· Issue 3

Abstract

To address the challenges of accurately extracting features from elongated scratches, irregular defects, and small-scale surface flaws on high-precision linear guide rails, this paper proposes a novel instance segmentation algorithm tailored for guide rail surface defect detection. The algorithm integrates the YOLOv8 instance segmentation framework with deformable convolutional networks and multi-scale feature fusion to enhance defect feature extraction and segmentation performance. A dedicated guide rail surface Defect (GSD) segmentation dataset is constructed to support model training and evaluation. In the backbone, the DCNv3 module is incorporated to strengthen the extraction of elongated and irregular defect features while simultaneously reducing model parameters. In the feature fusion network, a multi-scale feature fusion module and a triple-feature encoding module are introduced to jointly capture global contextual information and preserve fine-grained local defect details. Furthermore, a Channel and Position Attention Module (CPAM) is employed to integrate global and local features, improving the model’s sensitivity to channel and positional cues of small-target defects and thereby enhancing segmentation accuracy. Experimental results show that, compared with the original YOLOv8n-Seg, the proposed method achieves improvements of 3.9% and 3.8% in Box and Mask mAP50, while maintaining a real-time inference speed of 148 FPS. Additional evaluations on the public MSD dataset further demonstrate the model’s strong versatility and robustness.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Railway Engineering and Dynamics · Infrastructure Maintenance and Monitoring · Non-Destructive Testing Techniques

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

Affiliations

Key Laboratory of Key Technologies for Agricultural Machinery and Equipment, Department of Agricultural Engineering, South China Agricultural University, Room 308, Tucao Building, 483 Wushan Road, Tianhe District, Guangzhou 510642, China

Funding

National Natural Science Foundation of China Project: “Research on Electrochemical Biosensing Methods for Weak Acid-Soluble Cadmium in Soil” · State Key Research Program of China · 2023 Guangdong Provincial Science and Technology Special Fund · Guangdong Provincial Department of Agriculture’s Modern Agricultural Innovation Team Program for Animal Husbandry Robotics · Special Project of Guangdong Provincial Rural Revitalization Strategy in 2020 (YCN

References (35)

Show source-provided references
1. A study on accuracy of linear ball guide10.1177/09544062211023069 ↗
2. Experimental analysis of the wear coefficient for the rolling linear guide10.1177/1687814018821744 ↗
3. Protocol for the development of guidance for stakeholder engagement in health and healthcare guideline development and implementation10.1186/s13643-020-1272-5 ↗
4. Segmentation-based deep-learning approach for surface-defect detection10.1007/s10845-019-01476-x ↗
5. Refined edge detection with cascaded and high-resolution convolutional network10.1016/j.patcog.2023.109361 ↗
6. Image thresholding approaches for medical image segmentation-short literature review10.1016/j.procs.2023.01.439 ↗
7. Novel morphological scale difference filter with application in localization diagnosis of outer raceway defect in rolling bearings10.1016/j.mechmachtheory.2023.105288 ↗
8. YOLO-SF: YOLO for fire segmentation detection10.1109/ACCESS.2023.3322143 ↗
9. Lin, T.Y., Dollár, P., Girshick, R., He, K., Hariharan, B., and Belongie, S. (2017, January 21–26). Feature pyramid networks for object detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.106 ↗
10. MTA-YOLACT: Multitask-aware network on fruit bunch identification for cherry tomato robotic harvesting10.1016/j.eja.2023.126812 ↗
11. Bolya, D., Zhou, C., Xiao, F., and Lee, Y.J. (November, January 27). Yolact: Real-time instance segmentation. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea.
12. A light weight multi-scale feature fusion steel surface defect detection model based on YOLOv810.1088/1361-6501/ad296d ↗
13. RDD-YOLO: A modified YOLO for detection of steel surface defects10.1016/j.measurement.2023.112776 ↗
14. Chen, K., Li, H., Li, C., Zhao, X., Wu, S., Duan, Y., and Wang, J. (2022). An automatic defect detection system for petrochemical pipeline based on cycle-gan and yolo v5. Sensors, 22.10.3390/s22207907 ↗
15. Mao, W.-L., Chiu, Y.-Y., Lin, B.-H., Wang, C.-C., Wu, Y.-T., You, C.-Y., and Chien, Y.-R. (2022). Integration of deep learning network and robot arm system for rim defect inspection application. Sensors, 22.10.3390/s22103927 ↗
16. Wu, D., Shen, X., and Chen, L. (2022, January 27–29). Detection of defects on aluminum profile surface based on improved YOLO. Proceedings of the 2022 Prognostics and Health Management Conference (PHM-2022 London), London, UK.10.1109/PHM2022-London52454.2022.00088 ↗
17. Lv, X., Duan, F., Jiang, J.-J., Fu, X., and Gan, L. (2020). Deep metallic surface defect detection: The new benchmark and detection network. Sensors, 20.10.3390/s20061562 ↗
18. Flatness defect recognition method of cold rolling strip with a new stacked generative adversarial network10.1002/srin.202200284 ↗
19. Sampath, V., Maurtua, I., Martín, J.J.A., Iriondo, A., Lluvia, I., and Aizpurua, G. (2023). Intraclass image augmentation for defect detection using generative adversarial neural networks. Sensors, 23.10.3390/s23041861 ↗
20. Multi-YOLOv8: An Infrared Moving Small Object Detection Model Based on YOLOv8 for Air Vehicle10.1016/j.neucom.2024.127685 ↗
21. Sweet potato leaf detection in a natural scene based on faster R-CNN with a visual attention mechanism and DIoU-NMS10.1016/j.ecoinf.2022.101931 ↗
22. Dai, J., Qi, H., Xiong, Y., Li, Y., Zhang, G., Hu, H., and Wei, Y. (2017, January 22–29). Deformable convolutional networks. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.89 ↗
23. WWang, W., Dai, J., Chen, Z., Huang, Z., Li, Z., Zhu, X., Hu, X., Lu, T., Lu, L., and Li, H. (2023, January 17–24). Internimage: Exploring large-scale vision foundation models with deformable convolutions. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.10.1109/CVPR52729.2023.01385 ↗
24. Real-time evaluation of the blending uniformity of industrially produced gravelly soil based on Cond-YOLOv8-seg
25. HiFuse: Hierarchical multi-scale feature fusion network for medical image classification10.1016/j.bspc.2023.105534 ↗
26. Bhattarai, A.R., Nießner, M., and Sevastopolsky, A. (2024, January 3–8). Triplanenet: An encoder for eg3d inversion. Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, Waikoloa, HI, USA.10.1109/WACV57701.2024.00303 ↗
27. Case instance segmentation of small farmland based on Mask R-CNN of feature pyramid network with double attention mechanism in high resolution satellite images10.1016/j.compag.2023.108073 ↗
28. Huang, Y., Luo, Y., Cao, Y., Lin, X., Wei, H., Wu, M., Yang, X., and Zhao, Z. (2023). Damage Detection of Unwashed Eggs through Video and Deep Learning. Foods, 12.10.3390/foods12112179 ↗
29. Control distance IoU and control distance IoU loss for better bounding box regression10.1016/j.patcog.2022.109256 ↗
30. Faster and accurate green pepper detection using NSGA-II-based pruned YOLOv5l in the field environment10.1016/j.compag.2022.107563 ↗
31. Detection of residual feed in aquaculture using YOLO and Mask RCNN10.1016/j.aquaeng.2022.102304 ↗
32. Yolov10: Real-time end-to-end object detection
33. Guo, S., Yang, Q., Xiang, S., Wang, S., and Wang, X. (2024). Mask2Former with improved query for semantic segmentation in remote-sensing images. Mathematics, 12.10.3390/math12050765 ↗
34. Poudel, R.P., Liwicki, S., and Cipolla, R. (2019). Fast-scnn: Fast semantic segmentation network. arXiv.
35. Zhang, J., Ding, R., Ban, M., and Guo, T. (2022, January 23–27). FDSNeT: An accurate real-time surface defect segmentation network. Proceedings of the ICASSP 2022-2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Singapore.10.1109/ICASSP43922.2022.9747311 ↗