Abstract
The complex background pattern of color-patterned fabrics, the small target of some defects, the difficulty separating them from the background, and the extreme aspect ratio present challenges for their automated, real-time detection. To solve the above problems, the YOLOv5s-based color-patterned fabric defect detection algorithm was proposed by combining lightweight modules. For the small target defects of color-patterned fabrics, coordinate attention was introduced in the feature extraction part to guide the model to focus entirely on the target defect area and suppress the background noise of color-patterned fabrics. Meanwhile, the bidirectional feature pyramid network was introduced in the feature fusion part to give different fusion weights to the extracted feature maps, improve the efficiency of feature fusion, and guide the model further to distinguish the fabric defects from the color-patterned background. Finally, the
Keywords
Get full access to this article
View all access options for this article.
