Textile Defect Detection Algorithm Based on the Improved YOLOv8
Open Access
- 13 January 2025
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 11217-11231
Abstract
Automatic detection of textile defects is a crucial factor in improving textile quality. Fast and accurate detection of these defects is key to achieving automation in the textile industry. However, the detection of textile defects faces challenges such as small defect targets, low contrast between defects and the background, and significant variations in the aspect ratio of defects. To address these issues, this study proposes a new method for textile defect detection based on an improved version of YOLOv8(You Only Look Once Version 8) called DA-YOLOv8s. Deep & Cross Network(DCNv2) is introduced into the Backbone Network to replace the C2F module, enhancing the extraction of network features; an self-attention mechanism, Polarized Self-Attention(PSA), is adopted to increase feature fusion capability and reduce feature loss in both channel and spatial dimensions; finally, a Small Object Detection Head (SOHead) is added to improve the feature extraction ability for small targets. Experimental results show that the improved YOLOv8 algorithm achieves has achieved mAP@0.5 and mAP of 44.6% and 48.6% respectively, which is an improvement of 4.2% and 3.8% over the original algorithm, and also outperforms the Optimal YOLOv9s model and the latest YOLOv11s model in these two metrics. The speed of textile defect detection has reached 257.38 frames per second (FPS) and the floating-point operation speed is 36.6 GFLOPS, ensuring the accuracy and speed of textile defect detection, with practical engineering application value.Keywords
Funding Information
- National Science Foundation of China (62272311, 62102262)
- 2020 Visiting Scholar Program of Zhejiang Provincial Department of Education
This publication has 33 references indexed in Scilit:
- Textile defect detection based on multi‐proportion spatial attention mechanism and channel memory feature fusion networkIET Image Processing, 2023
- Research on Brake Pad Surface Defect Detection Method based on Deep Learning2023
- Software Defect Density Prediction Using Deep LearningIEEE Access, 2022
- Attention mechanisms in computer vision: A surveyComputational Visual Media, 2022
- Improved faster R-CNN for fabric defect detection based on Gabor filter with Genetic Algorithm optimizationComputers in Industry, 2022
- Point Pattern Feature-Based Anomaly Detection for Manufacturing Defects, in the Random Finite Set FrameworkIEEE Access, 2021
- Automatic Defect Segmentation for Plain Woven Fabric Images2019
- Fabric Defect Detection Based on Faster RCNN2018
- Fabric Defect Detection for Apparel Industry: A Nonlocal Sparse Representation ApproachIEEE Access, 2017
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998