Enhanced RT-DETR for real-time transparent tape detection on fabric surfaces with reflection-resistant attention module
Source abstract
Abstract
In textile production, transparent tape is used for fabric fixing and quality marking, and its identification directly affects the accuracy of automated sorting. Because the tape’s color is similar to the fabric, with low contrast and strong reflectivity, traditional visual methods have difficulty achieving reliable recognition. To solve this, this paper introduces a high-precision transparent tape detection method based on the RT-DETR (Real-Time Detection Transformer) network. The efficient cross-stage partial Darknet53 (ECSPDarknet) is adopted as the backbone network, compressing model parameters significantly while enhancing feature extraction capabilities. The reflection-resistant attention module (RRAM) is integrated during the feature fusion stage to strengthen multiscale feature fusion, effectively solving the recognition challenges caused by the similarity between transparent tape and the background, as well as high reflection. The dynamic group shuffle transformer (DGST) replaces the reparameterization convolutional C3 (RepC3), resolving the high computational load and real-time bottlenecks introduced by the latter’s multibranch structure. In addition, the bounding box regression loss function is replaced with a weighted sum of SmoothL1 and FocalEIoU loss functions, optimizing the model’s convergence efficiency and improving detection accuracy. Ablation experiments were conducted with three sets of random seeds. The results show that the improved model reduces parameters by 43.8%, floating-point operations by 39.6%, and increases FPS by 13.2% compared with the baseline. Precision, recall, F 1-score, mAP@0.5, and mAP@[0.5:0.95] improve by 2.5%, 4.2%, 3.3%, 2.2%, and 1.0%, respectively. Meanwhile, the algorithm outperforms mainstream methods in terms of detection accuracy, providing a foundation for high-precision, transparent tape identification on fabrics.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Industrial Vision Systems and Defect Detection · Advanced Neural Network Applications · Textile materials and evaluations
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
College of Mechanical Engineering, Donghua University, China
Innovation Center for Textile Science and Technology, Donghua University, China
Lu Thai Textile Co., Ltd, China
Funding
National Key Research and Development Program of China
References (42)
Show source-provided references
1. 10.1177/0040517524131063210.1177/00405175241310632 ↗
2. 10.1109/ACCESS.2024.345366410.1109/ACCESS.2024.3453664 ↗
3. 10.1016/j.matdes.2024.11280310.1016/j.matdes.2024.112803 ↗
4. 10.1007/s10278-024-00981-710.1007/s10278-024-00981-7 ↗
5. 10.1007/s11042-022-13801-310.1007/s11042-022-13801-3 ↗
6. 10.1177/0040517522113077310.1177/00405175221130773 ↗
7. 10.3390/computers1208015110.3390/computers12080151 ↗
8. Zhao J, Shi Z, Quan Z, et al. Fabric defect detection based on transfer learning and improved Faster R-CNN. J Eng Fibers Fabrics 2022; 17: 15589250221086647.
9. 10.1177/0040517523120281710.1177/00405175231202817 ↗
10. 10.1177/0040517523122129610.1177/00405175231221296 ↗
11. 10.1177/0040517522113520510.1177/00405175221135205 ↗
12. 10.1109/ACCESS.2025.352877110.1109/ACCESS.2025.3528771 ↗
13. Lu Z, Lu B, Wang W, et al. Differentiable NMS via sinkhorn matching for end-to-end fabric defect detection. arXiv preprint arXiv:250507040, 2025.
14. Vaswani A, Shazeer N, Parmar N, et al. Attention is all you need. Adv Neur Informat Process Syst 2017; 30: 5998–6008.
15. 10.1609/aaai.v36i1.1996710.1609/aaai.v36i1.19967 ↗
16. Carion N, Massa F, Synnaeve G, et al. End-to-end object detection with Transformers. In: European Conference on Computer Vision, 2020, pp. 213–229.
17. 10.1109/ACIRS62330.2024.1068491410.1109/ACIRS62330.2024.10684914 ↗
18. 10.3233/IDA-22044910.3233/IDA-220449 ↗
19. He X, Li H, Huang Z, et al. Multi-scale feature fusion extraction structure for the leather defect detection algorithm. In: 2023 IEEE 6th International Conference on Pattern Recognition and Artificial Intelligence (PRAI), 2023, pp. 254–259.
20. Zhang H, Li F, Liu S, et al. Dino: DETR with improved denoising anchor boxes for end-to-end object detection. arXiv preprint arXiv:220303605 2022.
21. Zhao Y, Lv W, Xu S, et al. DETRs beat YOLOs on real-time object detection. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2024, pp. 16965–16974.
22. Karatepe İ, Nabiyev V. Military camouflage classification with Mask R-CNN algorithm. Communi Fac Sci Univ Ankara Ser A2-A3 Phys Sci Eng 2023; 65: 69–78.
23. Hamamoto K, Hideshima N, Lu H, et al. Single image reflection removal using DeepLabv3+. In: International Symposium on Artificial Intelligence and Robotics, 2023, pp. 181–188.
24. Zhang Y, Konz N, Kramer K, et al. Quantifying the limits of segment anything model: Analyzing challenges in segmenting tree-like and low-contrast structures. arXiv e-prints 2024: arXiv: 2412.04243.
25. Bochkovskiy A, Wang C-Y, Liao H-YM. Yolov4: Optimal speed and accuracy of object detection. arXiv preprint arXiv:200410934 2020.
26. Noman M, Fiaz M, Cholakkal H, et al. ELGC-Net: Efficient local–global context aggregation for remote sensing change detection. IEEE Trans Geosci Remote Sens 2024; 62: 1–11.10.1109/TGRS.2024.3362914 ↗
27. Yang L, Zhang R-Y, Li L, et al. Simam: A simple, parameter-free attention module for convolutional neural networks. In: International Conference on Machine Learning, 2021, pp. 11863–11874.
28. Gong W. Lightweight object detection: A study based on YOLOv7 integrated with ShuffleNetv2 and vision transformer. arXiv preprint arXiv:240301736 2024.
29. Girshick R., Fast R-CNN. In: Proceedings of the IEEE International Conference on Computer Vision, 2015, pp. 1440–1448.
30. 10.1016/j.neucom.2022.07.04210.1016/j.neucom.2022.07.042 ↗
31. Rezatofighi H, Tsoi N, Gwak J, et al. Generalized intersection over union: A metric and a loss for bounding box regression. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2019, pp. 658–666.
32. 10.1109/CVPR.2016.9010.1109/CVPR.2016.90 ↗
33. Hu J, Shen L, Sun G. Squeeze-and-excitation networks. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018, pp. 7132–7141.
34. Woo S, Park J, Lee J-Y, et al. CBAM: Convolutional block attention module. In: Proceedings of the European Conference on Computer Vision (ECCV), 2018, pp. 3–19.
35. Ma N, Zhang X, Zheng H-T, et al. ShuffleNet v2: Practical guidelines for efficient CNN architecture design. In: Proceedings of the European Conference on Computer Vision (ECCV), 2018, pp. 116–131.
36. Zhang H, Wang Y, Dayoub F, et al. Varifocalnet: An IoU-aware dense object detector. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2021, pp. 8514–8523.
37. 10.1177/0040517524125638510.1177/00405175241256385 ↗
38. Picard D. Torch. manual_seed(3407) is all you need: On the influence of random seeds in deep learning architectures for computer vision. arXiv preprint arXiv:210908203 2021.
39. Selvaraju RR, Cogswell M, Das A, et al. Grad-CAM: Visual explanations from deep networks via gradient-based localization. In: Proceedings of the IEEE International Conference on Computer Vision, 2017, pp. 618–626.
40. Liu W, Anguelov D, Erhan D, et al. SSD: Single shot multibox detector. In: European Conference on Computer Vision, 2016, pp. 21–37.
41. Glenn J. Ultralytics YOLOv5 https://github.com/ultralytics/yolov5 (2020).
42. Glenn J Ayush C Jing Q. Ultralytics YOLOv8 https://github.com/ultralytics/ultralytics (2023).