Skip to content

Fabric defect detection based on YOLOv8-TR

Aug 2026 · International Journal of Clothing Science and Technology · Vol 38, pp. 956-974 · 0 citations · 34 references

TL;DR

A new algorithm based on the Transformer architecture, called YOLOv8-Transformer (YOLOv8-TR), which aims to achieve fast and accurate defect detection for color-patterned fabrics and verifies the effectiveness and superiority of the method.

Abstract

Fabric defects are a key factor affecting fabric production quality and fabric grade. In recent years, deep learning-based fabric defect detection algorithms have been proposed, but these methods cannot be adapted to complex color-patterned fabrics, and suffer from leakage and false detection problems. Therefore, this article proposes a new algorithm based on the Transformer architecture, called YOLOv8-Transformer (YOLOv8-TR), which aims to achieve fast and accurate defect detection for color-patterned fabrics. The algorithm first utilizes the backbone network based on the Transformer architecture to obtain the global perceptual field to enhance the feature extraction capability. Second, a migration learning operation is performed when training the improved network after replacing the backbone network in order to avoid the problems of insufficient parameter optimization and poor model generalization when training the new network architecture and to improve the detection accuracy. Finally, the intersection union loss function as a localization loss is optimized to improve the localization accuracy of predicted frames. The proposed algorithm is compared with the existing methods on Alibaba Cloud Tianchi Fabric dataset, and YOLOv8-TR achieves a mean Average Precision of 81.5%, which is 5.2% higher than YOLOv8, with a detection speed of 135 frames per second. The experimental results verify the effectiveness and superiority of the method. A solution for automatic detection of fabric defects in the textile manufacturing industry is provided.

View source

Similar papers

Conference Aug 2026

Fabric Defect Detection Based on YOLOv8 with Color Constancy Preprocessing for Variable Illumination

Fabric defect detection is a vital quality control procedure in textile manufacturing. Complex and variable illumination in industrial scenes often causes color distortion on fabric surfaces, which is easily misjudged as defects and reduces detection accuracy. This paper proposes a fabric defect framework combining Ret...

Hui Wang, Yi-Ming Li · 0 citations
Open access Sep 2026

CMNet: Hybrid CNN–Mamba Network for Fabric Defect Detection

CMNet, a novel hybrid CNN–Mamba detection network with a dual-branch, heterogeneous feature-extraction architecture, is proposed, which significantly outperforms state-of-the-art methods on fabric defect detection datasets.

Yang Chen, Zhou-Feng Liu, Kai-Hua Wang et al. · 0 citations
Conference Aug 2026

An Improved YOLOv11 Algorithm for Printed Circuit Board Defect Detection

To address the detection of tiny defects in complex PCB backgrounds and satisfy the real-time requirements of industrial applications, this study proposes an improved YOLO v11s-based method for PCB defect detection. Data augmentation was employed to improve the distinguishability of defect textures and image edges. In...

Yung-Cheng Tong, Dong Li, Xin Wang et al. · 0 citations
Open access Sep 2026

Steel surface small defect target detection based on improved YOLOv8

An improved YOLOv8 network-based detection algorithm is proposed that incorporates a designed iRMB module that enhances multi-scale feature fusion through multi-layer feature extraction and residual structures, thereby improving the model’s ability to recognize small defects on steel surfaces.

Ya-Chao Si, Yi Zhang, Ming-Zhan Zhao · 0 citations
Sep 2026

An Improved YOLOv11 Algorithm for Metal Surface Defect Detection

During the manufacturing of metal materials, various complex surface defects are inevitably generated, and complex background textures easily cause defect misclassification and missed detection. To boost the detection robustness and real‐time performance of lightweight detection networks, this paper designs a metal sur...

Feng-Zhi Dai, Jia-Bin Chen, Hao-Zhe Sun et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.