{'fraction_non_alphanumeric': 0.02302968270214944, 'fraction_numerical': 0.0010235414534288639, 'mean_word_length': 5.409836065573771, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Complex Pattern Jacquard Fabrics Defect Detection Using Convolutional Neural Networks and Multispectral Imaging

Manual inspection of textiles is a long, tedious, and costly method. Technology has solved this problem by developing automatic systems for textile inspection. However, Jacquard fabrics present a challenge because patterns can be complex and seemingly random to systems. Only a few in-depth studies have been conducted on jacquard fabrics despite their important and intriguing nature. Previous studies on jacquard fabrics are of simple patterns. This paper introduces a new and novel field in fabrics defect detection. Complex-patterned jacquard fabrics are much more challenging. In this paper, novel defect detection models for jacquard-patterned fabrics are presented. Owing to the lack of available databases for jacquard fabrics, we compiled and experimented on our own novel dataset. Our dataset was collected from plain, undyed jacquard fabrics with different complex patterns. In this study, we used and tested several deep learning models with image pre-processing and convolutional neural networks (CNNs) for unsupervised detection of defects. We also used multispectral imaging, combining normal (RGB) and near-infrared (NIR) imaging to improve our system and increase its accuracy. We propose two systems: a semi-manual system using a simple CNN network for operation on separate patterns and an integrated automated system that uses state-of-the-art CNN architectures to run on the entire dataset without prior pattern specification. The images are preprocessed using contrast-limited adaptive Histogram Equalization (CLAHE) to enhance their features. We concluded that deep learning is efficient and can be used for defect detection in complex patterns. Proposed method of EfficientNet CNN gave high accuracy reaching 99% approximately. We also found that multispectral imaging is more advantageous and yields higher accuracy.