Affiliation:
1. College of Mechanical Engineering Donghua University Shanghai China
Abstract
AbstractFabric defect detection is a crucial aspect of fabric production. At present, deep learning detection methods mostly rely on supervised learning. To tackle this issue, this study proposes an unsupervised fabric defect detection approach based‐on normalising flow. The method only needs to train the mapping of the feature probability distribution of defect‐free samples to a Gaussian distribution. In the inference process, the location of defects can be determined by testing the distance between the probability distribution of image features and the estimated distribution. To adapt to the complex background and various minor defects of the fabric, a feature pyramid structure is adopted. Moreover, considering the gradient vanishing and network degradation caused by deep layers during training, a residual structure is incorporated into the model. Experimental results demonstrate that the feature pyramid flow model outperforms other methods in defect detection across multiple datasets, with an average score rate of 98.7% and 100% for pixel‐level area under the curve (AUC) receiver operating characteristic and image‐level AUC, respectively, compared to an average score rate of 91.1% and 85.4% for other methods.