JOURNAL ARTICLE

A contrastive learning‐based attention generative adversarial network for defect detection in colour‐patterned fabric

Hongwei ZhangXiwei ChenShuai LuLe YaoXia Chen

Year: 2022 Journal:   Coloration Technology Vol: 139 (3)Pages: 248-264   Publisher: Wiley

Abstract

Abstract The pattern style of colour‐patterned fabrics is varied. Defective fabric samples are scarce in the production of small batches of colour‐patterned fabrics. Therefore, the unsupervised defect‐detection method for colour‐patterned fabric has attracted wide attention. Several unsupervised defect‐detection methods for colour‐patterned fabrics based on convolutional neural networks have been proposed. However, convolutional neural network methods cannot learn long‐range semantic information interaction well because of the intrinsic locality of convolution operations. Besides, as the number of layers in the convolutional neural network increases, the feature maps become more and more complex. Convolutional neural networks experience difficulties in coordinating numerous parameters and extracting key features from complex feature maps. Both these problems reduce the accuracy of the model for detecting defects in colour‐patterned fabrics. In this paper, we propose a Contrastive Learning‐based Attention Generative Adversarial Network (CLAGAN) for defect detection in colour‐patterned fabrics. The CLAGAN possesses two important parts: contrastive learning and a channel attention module. Contrastive learning captures long‐range dependencies by calculating the cosine similarity between different features. The channel attention module assigns different weights to each channel of the feature maps, and it enables the model to extract key features from those feature maps. The experimental results verified the effectiveness of the CLAGAN. It obtained values of 38.25% for intersection over union and of 51.67% for the F1‐measure on the YDFID‐2 public dataset.

Keywords:
Computer science Artificial intelligence Pattern recognition (psychology) Convolutional neural network Feature (linguistics) Channel (broadcasting) Convolution (computer science) Similarity (geometry) Key (lock) Deep learning Intersection (aeronautics) Feature learning Artificial neural network Image (mathematics) Engineering

Metrics

15
Cited By
2.38
FWCI (Field Weighted Citation Impact)
29
Refs
0.88
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Industrial Vision Systems and Defect Detection
Physical Sciences →  Engineering →  Industrial and Manufacturing Engineering
Optical measurement and interference techniques
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Image Processing Techniques and Applications
Physical Sciences →  Engineering →  Media Technology

Related Documents

JOURNAL ARTICLE

Parallel attention network based fabric defect detection

Xi WuDaying Lu

Journal:   2022 IEEE 5th Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC) Year: 2022 Pages: 1015-1020
JOURNAL ARTICLE

PCB Defect Detection based on Generative Adversarial Network

Shuangyu You

Journal:   2022 2nd International Conference on Consumer Electronics and Computer Engineering (ICCECE) Year: 2022 Pages: 557-560
© 2026 ScienceGate Book Chapters — All rights reserved.