In this paper, a novel feature‐based attention network with sequential information is proposed for fabric defect detection. As an important part of the textiles industry, fabric quality inspection needs to be automated in the latest wave of intelligent transformation. To this end, fabric defect detection algorithms have been widely studied. In this paper, an efficient defect detection model for fabrics was built. As the appearances of defects change with the type of fabric, manual features which denote the overall situation of the fabric are used as prior knowledge. The feature‐based attention module discussed in this paper can generate attention maps from these manual features to rectify the responses of the feature maps according to the whole situation of the input image. Multidirectional long short‐term memory networks are implemented to extract context information from continuous defects. When making a judgement, taking sequential information into consideration may reduce the number of unexpected misjudged decisions compared with the number of those made independently pixel by pixel. Both of those two modules can be integrated into any existing convolutional neural network model and trained in an end‐to‐end manner. A fabric defect dataset is built to train and test the models. In this paper, several models with different architectures are implemented to verify our ideas, and are supported by results confirming the efficiency of the proposed methods.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.