원시데이터 수집 시스템
선정목록으로

Complex Pattern Jacquard Fabrics Defect Detection Using Convolutional Neural Networks and Multispectral Imaging

간접 관련 패션 · (24) 패션(코오롱FnC) (17) 스펀본드 부직포(3) 자동차 인테리어 소재

기본 정보

저자
  1. Mahmoud Khodier — Egypt-Japan University of Science and Technology, New Borg El Arab, Alexandria, Egypt
  2. Sabah M. Ahmed — Faculty of Engineering, Assuit University, Assuit, Egypt|||Egypt-Japan University of Science and Technology, New Borg El Arab, Alexandria, Egypt
  3. Mohammed S. Sayed — Egypt-Japan University of Science and Technology, New Borg El Arab, Alexandria, Egypt|||Zagazig University, Zagazig, Egypt
DOI
10.1109/access.2022.3144843
저널
IEEE Access
발행년도
2022
발행기관
Institute of Electrical and Electronics Engineers
피인용수
33
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2022.3144843
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W4205601537

평가 내용

관련도
간접 관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
(17) 스펀본드 부직포, (3) 자동차 인테리어 소재
R&D 측면
물성·성능 평가
확신도
0.90
근거 용어
fabric defect detection, jacquard fabrics, convolutional neural networks, multispectral imaging, quality control
판단 근거
본 논문은 복잡한 패턴을 가진 자카드 직물의 결함을 CNN과 다중분광 이미징을 통해 자동으로 검출하는 기술을 다룹니다. 이는 코오롱인더스트리의 패션(의류 소재) 및 산업용 부직포 생산 공정의 품질 관리(Quality Control) 시스템에 직접적으로 응용 가능한 연구입니다.
R&D 활용 포인트
자카드 직물이나 기능성 원단 생산 공정에서 AI 기반 자동 검사 시스템을 도입하여 결함 검출 정확도를 높이고 인건비 절감 및 품질 균일성을 확보하는 데 활용할 수 있습니다.
평가 입력
본문 38,124자 중 30,032자 발췌

초록

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.

본문 38,124자

본문 펼치기
Received January 2, 2022, accepted January 14, 2022, date of publication January 19, 2022, date of current version January 28, 2022. _Digital Object Identifier 10.1109/ACCESS.2022.3144843_ # Complex Pattern Jacquard Fabrics Defect Detection Using Convolutional Neural Networks and Multispectral Imaging MAHMOUD M. KHODIER 1, SABAH M. AHMED2,3, AND MOHAMMED SHARAF SAYED 1,4, (Member, IEEE) 1Department of Electronics and Communication Engineering, Egypt-Japan University of Science and Technology, New Borg El Arab, Alexandria 21934, Egypt 2Department of Mechatronics and Robotics Engineering, Egypt-Japan University of Science and Technology, New Borg El Arab, Alexandria 21934, Egypt 3Department of Electrical Engineering, Faculty of Engineering, Assuit University, Assuit 71515, Egypt 4Department of Electronics and Communications Engineering, Zagazig University, Zagazig 44519, Egypt Corresponding author: Mahmoud M. Khodier (mahmoud.khodier@ejust.edu.eg) This work was supported by the Egypt-Japan University of Science and Technology. ABSTRACT 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 stateof-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. INDEX TERMS Complex patterns, convolutional neural networks, fabric defect detection, jacquard, multispectral imaging. I. INTRODUCTION The development of a flexible, efficient, reliable, and integrated real-time vision system for industrial applications is an essential issue in quality control processes in various industries. The textile industry is one of the most critical industries in terms of quality assurance. In the textile industry, fabric is classified as first-grade or second-grade fabric based on its quality. This classification is based on the type and frequency of the defects in the fabric. If the fabric has no major or prominent surface defects that disturb it, the fabric The associate editor coordinating the review of this manuscript and approving it for publication was Zhenhua Guo . is considered to be of first quality. Otherwise, major defects and/or frequent minor defects reduce fabric classification to second-grade quality. If these defects are detected during production or before shipping, they can be treated or prevented to conserve production resources. Second-grade fabrics lead to major revenue losses. They can be sold for only 45%-65% of the original first-grade fabric price. Undetected fabric defects cause at least 50% of second-grade fabric production [1]. Quality control reduces or prevents the unwanted production of low-quality fabrics. Traditionally, fabric defect detection has been performed both manually and offline. Weaving machines produce fabric in the form of large rolls that are carried to inspection stations for review. Sufficient lighting This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4 0 License is applied from above or under the fabrics by machines or tables, for better detection of defects. The fabric rolls are then inspected at high speeds by skilled staff. Human inspection has many shortcomings owing to tiredness, boredom, and inattentiveness, resulting in accuracies of only approximately 60%-75% [2]. Therefore, we aim to avoid human error. Besides human error, the late detection of defects can lead to the production of more second-grade fabrics. In large factories with high production rates, manual inspection can present a bottleneck in production. The solution would be to increase the labor force, which would lead to more expenses. Fortunately, technological advances in computer science and machine vision have introduced the possibility of automatic fabric inspections. An automated visual inspection system can be used for better quality control to increase the overall quality, homogeneity, and reliability of fabrics. The purpose of this study is to introduce an automatic inspection system for jacquard-patterned fabrics to efficiently detect defects. The rest of the paper is organized as follows: Section II provides background information about jacquardpatterned fabrics. Section III reviews previous related studies on fabric defect detection. Section IV provides a brief overview of multispectral imaging and the reasoning for its use in our study. Section V presents the proposed systems. The results are presented and discussed in section VI. Finally, Section VII concludes the paper. II. JACQUARD FABRICS For any woven fabric, there are interlaced threads of yarns vertically aligned that are called ‘‘weft yarns’’, and horizontal threads running across the fabric that are called ‘‘warp yarns’’. These threads are efficiently interlaced together using loom devices to create fabrics. Traditional fabrics are created using dobby looms, which can only control the warp yarns in groups. Because the loom can control only a limited number of warp groups, patterns are limited in how complex they can be. It was challenging to create complex pattern designs in fabrics hundreds of years ago. They had to be woven by hand, which was a long and painful process. In 1804, JosephMarie Jacquard created the Jacquard loom. This improved device could weave patterned fabrics based on predetermined designs by reading a long row of punched wooden cards. This form of ‘‘code reading’’ changed how patterned fabrics were created forever and was later adapted and used in computer technology. The term ‘‘jacquard’’ refers to the method of creating the pattern through weaving, not the specific pattern itself. A jacquard loom selectively lifts warp yarns to create a pattern. Today’s jacquard looms allow control of each warp yarn individually. This allows the weaving of considerably more complex designs [3]. Jacquard fabrics are more complex than plain fabrics because they may have multiple repeated patterns in the same fabric. The Patterns in jacquard fabrics are both macro and micro. Multiple different micro patterns are present in the same fabric. Macro patterns are combinations of different FIGURE 1. Jacquard macro pattern (P05) consisting of three different micro patterns in the same fabric. micro patterns in a certain area, as shown in Fig.1. Jacquard fabrics have a wide array and range of complex and contrasting designs. An unlimited number of patterns and choices are allowed. We can achieve anything from stripes, paisleys, polka dots, and florals to very large complex, detailed, and difficult designs. Traditional fabrics can have patterns printed on them after they are woven. In contrast, jacquard fabrics exhibit woven patterns. This means that the pattern is created in conjugation with the cloth [4]. III. PREVIOUS WORK Many previous studies have been conducted in the field of fabric defect detection using different methodologies and techniques. However, most of these studies were conducted on traditional fabrics. Very little research has been conducted on jacquard fabrics, despite the importance of automatic fabric inspection in such complicated fabrics. A short recap of some traditional fabric techniques is given. Then, a detailed review of jacquard fabrics is presented. _A._ _TRADITIONAL FABRICS_ Many studies have been conducted on plain fabrics with great results and methods that achieve high accuracies. Most published papers consider fabric as a near-regular texture that may be degraded by defects of a repetitive background pattern fabric. These abnormalities can be discovered through the use of pattern and texture recognition. Hanbay _et_ _al._ [5] presented one of the most recent and detailed reviews of traditional fabrics. The presented methods were categorized into seven categories: structural, statistical, spectral, modelbased, learning, hybrid, and comparative studies. Among the reviewed methods some achieved favorable results such as cross-correlation and gray level co-occurrence in statistical approaches. Also, Gabor filters and wavelet transform in spectral approaches. However, those studies were mostly conducted on plain traditional fabrics with fewer studies conducted on patterned fabrics. However, defect detection in complex patterned fabrics, such as jacquard fabrics, requires more sophisticated methods and is much more challenging. _B._ _JACQUARD FABRICS_ Based on our research, we categorize previous work on jacquard fabrics into two main fields: texture segmentation and defect detection. In texture segmentation, the goal is to extract the texture or pattern from the jacquard fabrics. Different methods have been used in previous studies, such as: Mumford-Shah model [6], phase-field model [7], [8], wavelet transform with K-means clustering [9], [10], multiresolution Markov random field (MRF) modeling [11], and multi-view image fusion [12]. Only a few contributions have been made to the field of jacquard fabric defect detection. This leaves the field open to new ideas. In [13], golden image subtraction (GIS) was used for defect detection in a dot-patterned jacquard. They also introduced a modified version combining GIS with wavelet transforms. However, this method was tested on a very small sample size, and the dot pattern can be considered simple because of its high periodicity. In [14], a defect detection method was introduced for a color-patterned jacquard fabric using multiple color channel analysis. This method uses neural networks for color separation, which segments the jacquard image into color channel images. Then, the color channel pattern was extracted and compared to characterize and detect defects. However, this method focuses on the colored jacquard fabric of square grids with no draw patterns. From this review, we can see that there has been little in-depth research on pattern jacquard fabric defect detection. The area of complex-patterned jacquard fabrics defect detection is novel. Automatic defect detection in complexly patterned jacquard fabrics is very challenging and has a long way to go. However, it is very important and appealing. This study opens the gateways for defect detection in it. IV. MULTISPECTRAL IMAGING Generally, there are shortcomings in using a visual light source (VLS) to inspect patterned fabrics. The two main challenges in using VLS inspection are the lighting conditions and patterned fabric structure. For visual inspection, the lighting conditions should be uniform across the fabric. Unfortunately, this is easily affected by surrounding conditions, such as room illumination and daylight severity. Second, the pattern structures of square, line, circle, or similarly patterned fabrics can sometimes be mistaken for superstructure noise, where the texture pattern can be considered noise superimposed on the basic background. This could lead to the misdetection or under-detection of defects. In this study, we considered the use of multispectral imaging in jacquard fabric inspection based on two properties. First, jacquard fabrics often use different yarn types for weft and warp. In addition, yarn threads can often be colordyed to make colorful fabrics. Second, as mentioned previously, jacquard patterns are created by selecting and lifting warp yarns. Consequently, the patterns produced are naturally salient [3]. The first property was tested on traditional fabrics in [15]. The spectral reflectance of different fabric types and colors was tested. This shows that NIR imaging can provide better results, especially for colored patterns. In addition, combining different wefts and warps yarn types in jacquard fabrics can improve NIR imaging and image contrast. From Fig. 2, we can see that the spectral reflectance of different colors in an NIR image is nearly the same, with nearly uniform FIGURE 2. Spectral reflectance of fabrics of varied colors and compositions: (a) artificial fibers, (b) cotton and (c) wool [15]. contrast. However, in VLS images, there could be much more contrast diversity. The second property of saliency in jacquard fabrics makes multispectral imaging more appealing for defect detection. In jacquard fabrics, patterns are created by controlling hooks that selectively lift warp yarns as desired. This allows the creation of salient complex patterns. Fabric defect detection based on saliency has been studied previously [16], [17]. Studying the feature saliency of defects and considering them provided better results for defect detection. In [18] and [19], migrating from RGB to multispectral images improved unsupervised saliency detection. It was found that analyzing all the spectral bands of an input image in parallel can provide a higher amount of information compared to RGB images alone. This higher amount of information can allow a convolutional neural network (CNN) to find more complex features and better detect saliency. In the Results section, we calculate the detection rate accuracy for RGB and multispectral imaging. The test results proves that multispectral imaging leads to higher accuracy. V. CNN ARCHITECTURES Recently, there has been a series of breakthroughs in deep learning and computer vision. Convolutional neural networks have become significantly deeper and more complex. These models have achieved state-of-the-art results for problems such as image classification and image recognition. They can solve more complex tasks and make them more robust. Several architectures exist in the field of CNNs. In the next subsection, we briefly present the architecture used in our study. _A._ _VGGNet_ The runner-up in the ImageNet challenge (ILSVRC 2014) was VGGNet [20], as shown in Fig. 3. It showed that the network depth is a critical element for good performance. Their best network consists of 16 CONV/FC layers and has a very homogeneous architecture that only performs 3 × 3 convolutions and 2 × 2 pooling from start to end. However, the VGGNet has two major drawbacks. It has large network weights and is extremely slow to train. FIGURE 3. VGGNet architecture [21]. _B._ _ResNet_ Kaiming He _et al._ [22] developed a residual network, which was the winner of the ILSVRC 2015. ResNet allows training of much deeper networks by introducing residual blocks, as shown in Fig. 4. Residual blocks utilize the concept of skip connections, which allows for an alternate path for the gradient to flow through. This mitigates the vanishing gradient problem. The ResNet model is one of the most popular and successful deep learning models. ResNet skip connections have since been used in many other model architectures, such as the fully convolutional network (FCN) and U-Net. FIGURE 4. Residual block [22]. _C._ _InceptionNet_ The inception network is an important milestone in the development of convolutional neural networks (CNNs). The most popular CNNs simply stack convolution layers deeper and deeper, hoping to achieve better performance. The inception network, on the other hand, is complex and improves accuracy and speed using multiple tricks. InceptionNet has constantly improved, creating several versions. The first inception deep convolutional architecture was introduced by Szegedy _et_ _al._ [23] as GoogLeNet and was later named Inception-v1. Since then, the network has been refined in various ways. First, batch normalization was introduction in Inception-v2 [24]. Later, additional factorization ideas were introduced in the third version of Inceptionv3 [25]. Inception-v4 [26] uses specialized ‘‘reduction blocks to change the height and width of the grid. In addition, hybrid modules combining InceptionNet and ResNet achieve very good results. These are known as InceptionResNet v1 and v2, respectively. In this study, we used Inception-v3, as shown in Fig. 5, as it proved to be more computationally efficient, both in terms of the number of parameters generated by the network and memory cost. FIGURE 5. InceptionNetV3 architecture [27]. _D._ _EfficientNet_ Previously, the most common way to scale up CNNs was by one of three dimensions: image resolution (image size), depth (number of layers), or width (number of channels). The main concept of EfficientNet [28] is compound scaling. This implies scaling all three dimensions while maintaining a balance between all dimensions of the network. However, the authors found that it was critical to have a good baseline network. Therefore, they also developed a new mobile-size baseline called EfficientNet using a neural architecture search. In particular, the baseline network is called Efficient-B0. Next, this baseline network was scaled using compound scaling to get Efficient B1-B7. The differences in the compound scaling are shown in Fig.6. FIGURE 6. Model Scaling. (a) is a baseline network example; (b)-(d) are conventional scaling that only increases one dimension of network width, depth, or resolution. (e) Proposed compound scaling method that uniformly scales all three dimensions with a fixed ratio [28]. VI. PROPOSED SYSTEMS In this section, we describe our imaging system, image dataset, preprocessing technique, and two detection systems. Fig. 7 shows a block diagram of the proposed systems. FIGURE 7. Systems block diagram. FIGURE 8. Used image acquisition system configuration [29]. _A._ _IMAGING SYSTEM_ The system used for the image capture is shown in Fig. 8. This approach was inspired by [29]. The imaging system provides proper lighting for both RGB and NIR imaging. A JAI AD-080G camera is used. The camera model is an areascan camera. It is a multispectral 2-channel CCD camera. The camera can capture RGB and NIR images of a scene at the same time. The camera delivers 30 frames/s with a full resolution of (1024 × 768). In this camera model, the visual color spectrum is separated into a wavelength band of 400–600 nm. In addition, the NIR band ranges from 760 to 1000 nm. Two Ethernet cables transfer the captured images to a computer. We manually collected the images used in our model training and testing. We captured a dataset consisting of 1,348 images with different unique complex jacquard macro patterns from multiple samples per pattern. Our dataset was collected from plain, undyed jacquard fabrics with different complex patterns. The dataset was further increased using data augmentation techniques to four times the original size (i.e., 5,392 images). Each fabric sample was simultaneously captured using RGB and NIR at the same time. The dataset was balanced, where half of the images were non-defective and the other half were defective samples. The database contained 10 different complex macro patterns with different FIGURE 9. Defect free sample images of dataset different patterns. FIGURE 10. Different kinds of defective dataset different image patterns. (a) Knot, (b) Double picks, (c) Missing warp pick, (d) Broken yarn pick, (e) Ladder, (f) Breakage. defects. These defects included warp and weft defects, fabric breaks, knots, and loose picks. The samples of the dataset showing different macro patterns and sample defect types are shown in Fig. 9 and 10, respectively. _B._ _PRE-PROCESSING_ First, the samples were resized to smaller sizes. In addition, RGB images were converted to grayscale for processing and model training. We used contrast-limited adaptive Histogram Equalization (CLAHE) [30] for image enhancement. CLAHE differs from regular AHE in its contrast limiting by clipping the histogram at a predetermined value before calculating the cumulative distribution function (CDF) to overcome the amplification of noise. The two main parameters that can be changed to control the image enhancement quality are the Clip Limit (CL) and Block Size (BS). First, the image is divided into non-overlapping contextual regions, resulting in M × N tiles. Then, the contrast-limited histogram of the contextual region is calculated using the CL value as follows: _Navg_ = ( _Npx_ × _Npy_ ) _/Ngray_ (1) where Navg is the average number of pixels, Npx and Npy are the region’s number of pixels in the X and Y directions, respectively, and Ngray is the gray level number of the contextual region. The actual clip limit can be calculated as: _NCL_ = _Nclip_ × _Navg_ (2) where, _Nclip_ is the normalized clip limit in the range of [0,1]. If the number of pixels is greater than the _NCL_, the pixels are clipped. The part that exceeds the clip limit is better redistributed among all the histogram bins. If the redistribution causes some values to exceed the clip limit again, the process is repeated until the excess can be neglected. Fig. 11 shows the multispectral imaging for the dataset sample and the preprocessing effect FIGURE 11. Sample images of the dataset: (a) RGB, (b) NIR imaging of the same sample and (c) Enhanced sample using CLAHE. _C._ _TRAINING AND TESTING_ Artificial neural networks have shown promising results in different areas, such as pattern recognition and classification. In neural networks, input information is processed by groups of simple elements called neurons. Signals are transferred between neurons through the links that connect them. Each connection link has a weight (W) that represents the multiplication factor for the transmitted signal. Finally, the output is determined using an activation function that was applied to the input. In our work, we used convolutional neural networks (CNNs) running on TensorFlow’s high-level API ‘‘tf.Keras.’’ We experimented with different 2D CNNs, such as simple CNNs, VGGNet, ResNets, InceptionNets, and EfficientNets, to find and select the most suitable ones for defect detection in pattern jacquard fabrics. We propose two systems. The first system is a simple CNN model for a semi-manual system that operates on separate patterns. The second system is an unsupervised system that operates on the entire dataset, uses state-of-the-art architectures, and compares them. The two systems are presented, and the advantages and disadvantages of using each system are discussed. VII. RESULTS AND DISCUSSION The precision, recall, and accuracy performance metrics were calculated for each system. These metrics were calculated using the following equation: _Precision_ ( _P_ ) = _TP/_ ( _FP_ + _TP_ ) (3) _Recall_ ( _R_ ) = _TP/_ ( _FN_ + _TP_ ) (4) _Accuracy_ = ( _TP_ + _TN_ ) _/N_ (5) where, True Positive (TP) is the number of correctly labeled defective samples, True Negative (TN) is the number of correctly labeled defect-free samples, False Positive (FP) is the number of wrongly labeled defect-free samples, False Negative (FN) is the number of wrongly labeled defective samples, and N is the total number of samples. Precision measures the percentage of correctly detected defect samples for all defect detections. Recall measures the percentage of correctly detected defective samples in all defective samples. Accuracy measures the number of correct predictions that our system had in all samples. The models were trained and tested on the database that we created. First, a semi-manual system that has 10 models is presented. System performance was studied for different patterns. In addition, a performance comparison between RGB and multispectral imaging is performed. Second, an automatic system that operates on the entire dataset without manually selecting the target pattern is presented. A comparison between different state-of-the-art architectural models was performed. _A._ _SEMI-MANUAL SYSTEM_ The first proposed system utilizes a simple CNN that consists of Conv2D, activation, and max-pooling layers, as shown in Fig. 12. This simple CNN is sufficient for implementing semi-manual models that operate on separate patterns. In this system, the operator selects the pattern and then the system loads the corresponding model. FIGURE 12. Simple CNN architecture. Although this system is semi-manual and not very sophisticated, it is very simple and, therefore, faster. First, the advantage of multispectral imaging was tested using this simple CNN model across 10 different patterns. The CNN was modeled on our dataset, where 3,774 images (70%) were used for training and 1618 images (30%) for testing. In the testing phase, the CNN classified the input image into a defect or defect-free fabric. A comparison between RGB and multispectral imaging is presented in Tables 1 and 2, respectively. Table 1 presents the test results for the defect detection using visual RGB imaging. Table 2 lists the test results for multispectral imaging. Multispectral imaging provides better performance and higher accuracy. The detection results across separate patterns were satisfactory, with an average accuracy of 95%. However, this system is semi-manual and requires changing the models when operating on different patterns. Simple CNN models could not achieve good accuracies on the entire dataset when the pattern was not determined by the operator, reaching a maximum accuracy of 65%. This led us to examine state-of-the-art architectures in deep learning and devise a TABLE 1. Visual inspection by RGB. TABLE 2. Multispectral imaging. fully automated defect detection system using modern CNN architectures. _B._ _AUTOMATIC SYSTEM_ We experimented with different state-of-the-art CNN architectures to achieve the highest accuracy for the dataset. We tested four different models, which were briefly presented in Section VI. All architectures were implemented from scratch and then trained and tested on our dataset. The models used our dataset, where 3,774 images (70%) were used for training and 1618 images (30%) for testing. The architectures had different sizes and numbers of parameters. The largest of these is VGG16 with approximately 138 million parameters, followed by ResNet50 with a much lower number of parameters at approximately 25.6 million. InceptionV3 had approximately 23.8 million parameters. The FIGURE 13. System performance. smallest of these is EfficientNetB3 at approximately 12.3 million parameters. Training was performed for 100 epochs, and a batch size of 4. Fig. 13 presents the accuracy and loss for training and validation for different architectures. Table 3 shows a comparison of the precision, recall, and accuracy of the four network architectures. TABLE 3. Architectures performance comparison. From the results, we can see that very high accuracies were achievable, especially with EfficientNet. This shows that CNNs with multispectral imaging are very good for defect detection in jacquard fabrics, and they can overcome the difficult challenge of complex patterns. In addition, this shows that advancements in the field of CNN architectures are meaningful and steadily improving. EfficientNets achieve higher accuracies with a smaller network size and fewer parameters. _C._ _COMPARISON_ As previously mentioned, the study of defect detection for complex-patterned jacquard fabrics is novel and no previous studies have been done on it. In our research we implemented and tested, on our database, several techniques that are well established in defect detection of traditional fabrics. Two methods that had good results were wavelet transform [31] and gray level co-occurrence (GLCM) [32]. Table 4 shows a comparison of their results with the proposed approach of using EfficientNet CNN. From the results, we conclude that the proposed method, of using EfficientNet CNN with multispectral imaging for fault detection for complex-patterned jacquard fabrics, provides the best results with highest accuracy. TABLE 4. Different methods performance comparison. VIII. CONCLUSION In this study, unsupervised complex-patterned jacquard fabric defect detection systems were introduced. A new and extensive image database was collected and tested. The images were preprocessed using CLAHE to enhance their features. These systems use Convolutional Neural Networks (CNNs) to detect defective fabrics. Test results for single RGB and multispectral imaging are provided. We concluded that deep learning is efficient and can be used for defect detection in complex patterns. EfficientNet CNN gave high accuracy reaching 99% approximately. We also found that multispectral imaging is more advantageous and yields a higher accuracy. These systems exhibit high detection rates. Much work and research can still be conducted in the field of jacquard fabrics. Further investigations will be conducted in the future to further improve the performance and precisely locate the defect area. Specifically locating the defect area is much more challenging and can be further explored in future work. REFERENCES [1] K. Srinivasan, P. H. Dastor, P. Radhakrishnaihan, and S. Jayaraman, ‘‘FDAS: A knowledge-based framework for analysis of defects in woven textile structures,’’ _J. Text. Inst._, vol. 83, no. 3, pp. 431–447, 1992. [2] W. K. Wong and J. L. Jiang, ‘‘Computer vision techniques for detecting fabric defects,’’ in _Applications of Computer Vision in Fashion and Textiles_ . Sawston, U.K.: Woodhead Publishing, 2018, pp. 47–60. [3] A. M. Seyam, ‘‘Developments in Jacquard woven fabrics,’’ in _Specialist_ _Yarn_ _and_ _Fabric_ _Structures_ (Woodhead Publishing Series in Textiles). Sawston, U.K.: Woodhead Publishing, 2011, ch. 10, pp. 223–263, doi: [10.1533/9780857093936.223.](http://dx.doi.org/10.1533/9780857093936.223) [4] _Jacquard_ _Fabric_ _Review_ . Accessed: Dec. 22, 2021. [Online]. Available: https://tissura.com/articles/jacquard-fabrics [5] K. Hanbay, M. F. Talu, and Ö. F. Özgüven, ‘‘Fabric defect detection systems and methods—A systematic literature review,’’ _Optik_, vol. 127, [no. 24, pp. 11960–11973, Dec. 2016, doi: 10.1016/j.ijleo.2016.09.110.](http://dx.doi.org/10.1016/j.ijleo.2016.09.110) [6] Z. Feng, J. Yin, G. Chen, and J. Dong, ‘‘An algorithm for seg mentation of jacquard images based on Mumford–Shah model,’’ in _Proc._ _Int._ _Conf._ _Intell._ _Mechatronics_ _Autom._, 2004, pp. 617–620, doi: [10.1109/ICIMA.2004.1384269.](http://dx.doi.org/10.1109/ICIMA.2004.1384269) [7] Y. Liu and X. Li, ‘‘Research on finite element segmentation algorithm for Jacquard images,’’ in _Proc. IEEE Int. Conf. Mechatronics Autom._, vol. 4, [Jul./Aug. 2005, pp. 1813–1816, doi: 10.1109/ICMA.2005.1626835.](http://dx.doi.org/10.1109/ICMA.2005.1626835) [8] Z. Feng, J. Yin, J. Qiu, X. Liu, and J. Dong, ‘‘Jacquard image segmen tation method based on fuzzy optimization technology,’’ in _Rough_ _Sets,_ _Fuzzy_ _Sets,_ _Data_ _Mining,_ _and_ _Granular_ _Computing_ (Lecture Notes in Computer Science), vol. 3642, D. Ślęzak, J. Yao, J. F. Peters, W. Ziarko, and [X. Hu, Eds. Berlin, Germany: Springer, 2005, doi: 10.1007/11548706_29.](http://dx.doi.org/10.1007/11548706_29) [9] Y. Zhang, Y. C. Tong, and J. Z. Yao, ‘‘Texture segmentation and con tour extraction of warp knitting jacquard fabric image,’’ _Appl._ _Mech._ _Mater._, vols. 201–202, pp. 1203–1206, Oct. 2012, doi: [10.4028/www.](http://dx.doi.org/10.4028/www.scientific.net/amm.201-202.1203) [scientific.net/amm.201-202.1203.](http://dx.doi.org/10.4028/www.scientific.net/amm.201-202.1203) [10] G. Jiang, D. Zhang, C. Honglian, A. Zhang, and Z. Gao, ‘‘Automatic identification of Jacquard warp-knitted fabric patterns based on the wavelet transform,’’ _Fibres Textiles Eastern Eur._, vol. 104, pp. 53–56, Mar. 2014. [11] Y. Zhang, G. Jiang, J. Yao, and Y. Tong, ‘‘Intelligent segmentation of jacquard warp-knitted fabric using a multiresolution Markov random field with adaptive weighting in the wavelet domain,’’ _Textile_ _Res._ _J._, vol. 84, [no. 1, pp. 28–39, Jan. 2014, doi: 10.1177/0040517513485629.](http://dx.doi.org/10.1177/0040517513485629) [12] W. Wang, N. Deng, B. Xin, Y. Wang, and S. Lu, ‘‘Novel segmentation algo rithm for jacquard patterns based on multi-view image fusion,’’ _IET Image_ _Process._, vol. 14, no. 17, pp. 4563–4570, Dec. 2020, doi: [10.1049/iet-](http://dx.doi.org/10.1049/iet-ipr.2019.1264) [ipr.2019.1264.](http://dx.doi.org/10.1049/iet-ipr.2019.1264) [13] H. Y. T. Ngan, G. K. H. Pang, S. P. Yung, and M. K. Ng, ‘‘Defect detection on patterned Jacquard fabric,’’ in _Proc. 32nd Appl. Imag. Pattern Recognit._ _Workshop_ [, 2003, pp. 163–168, doi: 10.1109/AIPR.2003.1284266.](http://dx.doi.org/10.1109/AIPR.2003.1284266) [14] X. Yu, J. Hu, and G. Baciu, ‘‘Defect detection of jacquard fabrics using multiple color-channel analysis,’’ _Res._ _J._ _Textile_ _Apparel_, vol. 9, no. 1, pp. 21–29, Feb. 2005. [15] M. S. Millán and J. Escofet, ‘‘Fabric inspection by near-infrared machine vision,’’ _Opt._ _Lett._, vol. 29, no. 13, p. 1440, Jul. 2004, doi: [10.1364/OL.29.001440.](http://dx.doi.org/10.1364/OL.29.001440) [16] S. Guan and H. Shi, ‘‘Fabric defect detection based on the saliency map construction of target-driven feature,’’ _J._ _Textile_ _Inst._, vol. 109, no. 9, [pp. 1133–1142, Sep. 2018, doi: 10.1080/00405000.2017.1414669.](http://dx.doi.org/10.1080/00405000.2017.1414669) [17] M. Li, S. Wan, Z. Deng, and Y. Wang, ‘‘Fabric defect detection based on saliency histogram features,’’ _Comput. Intell._, vol. 35, no. 3, pp. 517–534, [Aug. 2019, doi: 10.1111/coin.12206.](http://dx.doi.org/10.1111/coin.12206) [18] Q. Wang, P. Yan, Y. Yuan, and X. Li, ‘‘Multi-spectral saliency detec tion,’’ _Pattern_ _Recognit._ _Lett._, vol. 34, no. 1, pp. 34–41, 2013, doi: [10.1016/j.patrec.2012.06.002.](http://dx.doi.org/10.1016/j.patrec.2012.06.002) [19] M. Á. Martínez, S. Etchebehere, E. M. Valero, and J. L. Nieves, ‘‘Improv ing unsupervised saliency detection by migrating from RGB to multispectral images,’’ _Color Res. Appl._, vol. 44, no. 6, pp. 875–885, Dec. 2019, doi: [10.1002/col.22421.](http://dx.doi.org/10.1002/col.22421) [20] K. Simonyan and A. Zisserman, ‘‘Very deep convolutional networks for large-scale image recognition,’’ 2014, _arXiv:1409.1556_ . [21] M. Ferguson, R. Ak, Y.-T.-T. Lee, and K. H. Law, ‘‘Automatic localization of casting defects with convolutional neural networks,’’ in _Proc. IEEE Int._ _Conf. Big Data (Big Data)_ [, Dec. 2017, pp. 1726–1735, doi: 10.1109/Big-](http://dx.doi.org/10.1109/BigData.2017.8258115) [Data.2017.8258115.](http://dx.doi.org/10.1109/BigData.2017.8258115) [22] K. He, X. Zhang, S. Ren, and J. Sun, ‘‘Deep residual learning for image recognition,’’ in _Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR)_, Jun. 2016, pp. 770–778. [23] C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich, ‘‘Going deeper with convolutions,’’ in _Proc._ _IEEE_ _Conf._ _Comput._ _Vis._ _Pattern_ _Recognit._ _(CVPR)_, Jun. 2015, pp. 1–9. [24] S. Ioffe and C. Szegedy, ‘‘Batch normalization: Accelerating deep network training by reducing internal covariate shift,’’ in _Proc._ _Int._ _Conf._ _Mach._ _Learn._, 2015, pp. 448–456. [25] C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wojna, ‘‘Rethinking the inception architecture for computer vision,’’ in _Proc._ _IEEE_ _Conf._ _Comput._ _Vis._ _Pattern_ _Recognit._ _(CVPR)_, Jun. 2016, pp. 2818–2826. [26] C. Szegedy, S. Ioffe, V. Vanhoucke, and A. A. Alemi, ‘‘Inception-v4, inception-ResNet and the impact of residual connections on learning,’’ in _Proc. 31st AAAI Conf. Artif. Intell._, 2017, pp. 1–7. [27] _Advanced Guide to InceptionV3_ . Accessed: Dec. 12, 2021. [Online]. Avail able: https://cloud.google.com/tpu/docs/inception-v3-advanced [28] M. Tan and Q. Le, ‘‘EfficientNet: Rethinking model scaling for con volutional neural networks,’’ in _Proc._ _Int._ _Conf._ _Mach._ _Learn._, 2019, pp. 6105–6114. [29] A. A. Hamdi, M. M. Fouad, M. S. Sayed, and M. M. Hadhoud, ‘‘Patterned fabric defect detection system using near infrared imaging,’’ in _Proc. 8th_ _Int. Conf. Intell. Comput. Inf. Syst. (ICICIS)_, Dec. 2017, pp. 111–117, doi: [10.1109/INTELCIS.2017.8260041.](http://dx.doi.org/10.1109/INTELCIS.2017.8260041) [30] J. Ma, X. Fan, S. X. Yang, X. Zhang, and X. Zhu, ‘‘Contrast limited adaptive histogram equalization-based fusion in YIQ and HSI color spaces for underwater image enhancement,’’ _Int. J. Pattern Recognit. Artif. Intell._, vol. 32, no. 7, p. 1854018, 2018. [31] V. V. Karlekar, M. S. Biradar, and K. B. Bhangale, ‘‘Fabric defect detec tion using wavelet filter,’’ in _Proc._ _Int._ _Conf._ _Comput._ _Commun._ _Control_ _Autom._ [, Feb. 2015, pp. 712–715, doi: 10.1109/ICCUBEA.2015.145.](http://dx.doi.org/10.1109/ICCUBEA.2015.145) [32] X. Zhang and X. Fan, ‘‘Fabric defect detection based on GLCM approach,’’ in _Proc._ _6th_ _Int._ _Conf._ _Inf._ _Eng._ _Mech._ _Mater._ Atlantis Press, 2016, pp. 673–677.

섹션 본문 43문단 · 24,060자

I. INTRODUCTION

2The development of a flexible, efficient, reliable, and integrated real-time vision system for industrial applications is an essential issue in quality control processes in various industries. The textile industry is one of the most critical industries in terms of quality assurance. In the textile industry, fabric is classified as first-grade or second-grade fabric based on its quality. This classification is based on the type and frequency of the defects in the fabric. If the fabric has no major or prominent surface defects that disturb it, the fabric is considered to be of first quality. Otherwise, major defects and/or frequent minor defects reduce fabric classification to second-grade quality. If these defects are detected during production or before shipping, they can be treated or prevented to conserve production resources. Second-grade fabrics lead to major revenue losses. They can be sold for only 45%-65% of the original first-grade fabric price. Undetected fabric defects cause at least 50% of second-grade fabric production [1].

3Quality control reduces or prevents the unwanted production of low-quality fabrics. Traditionally, fabric defect detection has been performed both manually and offline.

4Weaving machines produce fabric in the form of large rolls that are carried to inspection stations for review. Sufficient lighting is applied from above or under the fabrics by machines or tables, for better detection of defects. The fabric rolls are then inspected at high speeds by skilled staff. Human inspection has many shortcomings owing to tiredness, boredom, and inattentiveness, resulting in accuracies of only approximately 60%-75% [2]. Therefore, we aim to avoid human error.

5Besides human error, the late detection of defects can lead to the production of more second-grade fabrics. In large factories with high production rates, manual inspection can present a bottleneck in production. The solution would be to increase the labor force, which would lead to more expenses. Fortunately, technological advances in computer science and machine vision have introduced the possibility of automatic fabric inspections. An automated visual inspection system can be used for better quality control to increase the overall quality, homogeneity, and reliability of fabrics.

6The purpose of this study is to introduce an automatic inspection system for jacquard-patterned fabrics to efficiently detect defects. The rest of the paper is organized as follows: Section II provides background information about jacquardpatterned fabrics. Section III reviews previous related studies on fabric defect detection. Section IV provides a brief overview of multispectral imaging and the reasoning for its use in our study. Section V presents the proposed systems. The results are presented and discussed in section VI. Finally, Section VII concludes the paper.

II. JACQUARD FABRICS

7For any woven fabric, there are interlaced threads of yarns vertically aligned that are called "weft yarns", and horizontal threads running across the fabric that are called "warp yarns". These threads are efficiently interlaced together using loom devices to create fabrics. Traditional fabrics are created using dobby looms, which can only control the warp yarns in groups. Because the loom can control only a limited number of warp groups, patterns are limited in how complex they can be.

8It was challenging to create complex pattern designs in fabrics hundreds of years ago. They had to be woven by hand, which was a long and painful process. In 1804, Joseph-Marie Jacquard created the Jacquard loom. This improved device could weave patterned fabrics based on predetermined designs by reading a long row of punched wooden cards. This form of "code reading" changed how patterned fabrics were created forever and was later adapted and used in computer technology. The term "jacquard" refers to the method of creating the pattern through weaving, not the specific pattern itself. A jacquard loom selectively lifts warp yarns to create a pattern. Today's jacquard looms allow control of each warp yarn individually. This allows the weaving of considerably more complex designs [3]. Jacquard fabrics are more complex than plain fabrics because they may have multiple repeated patterns in the same fabric. The Patterns in jacquard fabrics are both macro and micro. Multiple different micro patterns are present in the same fabric. Macro patterns are combinations of different micro patterns in a certain area, as shown in Fig.1. Jacquard fabrics have a wide array and range of complex and contrasting designs. An unlimited number of patterns and choices are allowed. We can achieve anything from stripes, paisleys, polka dots, and florals to very large complex, detailed, and difficult designs. Traditional fabrics can have patterns printed on them after they are woven. In contrast, jacquard fabrics exhibit woven patterns. This means that the pattern is created in conjugation with the cloth [4].

III. PREVIOUS WORK

9Many previous studies have been conducted in the field of fabric defect detection using different methodologies and techniques. However, most of these studies were conducted on traditional fabrics. Very little research has been conducted on jacquard fabrics, despite the importance of automatic fabric inspection in such complicated fabrics. A short recap of some traditional fabric techniques is given. Then, a detailed review of jacquard fabrics is presented.

A. Traditional Fabrics

10Many studies have been conducted on plain fabrics with great results and methods that achieve high accuracies. Most published papers consider fabric as a near-regular texture that may be degraded by defects of a repetitive background pattern fabric. These abnormalities can be discovered through the use of pattern and texture recognition. Hanbay et al. [5] presented one of the most recent and detailed reviews of traditional fabrics. The presented methods were categorized into seven categories: structural, statistical, spectral, modelbased, learning, hybrid, and comparative studies. Among the reviewed methods some achieved favorable results such as cross-correlation and gray level co-occurrence in statistical approaches. Also, Gabor filters and wavelet transform in spectral approaches. However, those studies were mostly conducted on plain traditional fabrics with fewer studies conducted on patterned fabrics. However, defect detection in complex patterned fabrics, such as jacquard fabrics, requires more sophisticated methods and is much more challenging.

B. Jacquard Fabrics

11Based on our research, we categorize previous work on jacquard fabrics into two main fields: texture segmentation and defect detection. In texture segmentation, the goal is to extract the texture or pattern from the jacquard fabrics. Different methods have been used in previous studies, such as: Mumford-Shah model [6], phase-field model [7,8], wavelet transform with K-means clustering [9,10], multiresolution Markov random field (MRF) modeling [11], and multi-view image fusion [12].

12Only a few contributions have been made to the field of jacquard fabric defect detection. This leaves the field open to new ideas. In [13], golden image subtraction (GIS) was used for defect detection in a dot-patterned jacquard. They also introduced a modified version combining GIS with wavelet transforms. However, this method was tested on a very small sample size, and the dot pattern can be considered simple because of its high periodicity. In [14], a defect detection method was introduced for a color-patterned jacquard fabric using multiple color channel analysis. This method uses neural networks for color separation, which segments the jacquard image into color channel images. Then, the color channel pattern was extracted and compared to characterize and detect defects. However, this method focuses on the colored jacquard fabric of square grids with no draw patterns.

13From this review, we can see that there has been little indepth research on pattern jacquard fabric defect detection. The area of complex-patterned jacquard fabrics defect detection is novel. Automatic defect detection in complexly patterned jacquard fabrics is very challenging and has a long way to go. However, it is very important and appealing. This study opens the gateways for defect detection in it.

IV. MULTISPECTRAL IMAGING

14Generally, there are shortcomings in using a visual light source (VLS) to inspect patterned fabrics. The two main challenges in using VLS inspection are the lighting conditions and patterned fabric structure. For visual inspection, the lighting conditions should be uniform across the fabric. Unfortunately, this is easily affected by surrounding conditions, such as room illumination and daylight severity. Second, the pattern structures of square, line, circle, or similarly patterned fabrics can sometimes be mistaken for superstructure noise, where the texture pattern can be considered noise superimposed on the basic background. This could lead to the misdetection or under-detection of defects.

15In this study, we considered the use of multispectral imaging in jacquard fabric inspection based on two properties. First, jacquard fabrics often use different yarn types for weft and warp. In addition, yarn threads can often be color-dyed to make colorful fabrics. Second, as mentioned previously, jacquard patterns are created by selecting and lifting warp yarns. Consequently, the patterns produced are naturally salient [3].

16The first property was tested on traditional fabrics in [15]. The spectral reflectance of different fabric types and colors was tested. This shows that NIR imaging can provide better results, especially for colored patterns. In addition, combining different wefts and warps yarn types in jacquard fabrics can improve NIR imaging and image contrast. From Fig. 2, we can see that the spectral reflectance of different colors in an NIR image is nearly the same, with nearly uniform contrast. However, in VLS images, there could be much more contrast diversity.

17The second property of saliency in jacquard fabrics makes multispectral imaging more appealing for defect detection. In jacquard fabrics, patterns are created by controlling hooks that selectively lift warp yarns as desired. This allows the creation of salient complex patterns. Fabric defect detection based on saliency has been studied previously [16,17]. Studying the feature saliency of defects and considering them provided better results for defect detection. In [18,19], migrating from RGB to multispectral images improved unsupervised saliency detection. It was found that analyzing all the spectral bands of an input image in parallel can provide a higher amount of information compared to RGB images alone. This higher amount of information can allow a convolutional neural network (CNN) to find more complex features and better detect saliency.

FIGURE 2. Spectral reflectance of fabrics of varied colors and compositions: (a) artificial fibers, (b) cotton and (c) wool [15].

18In the Results section, we calculate the detection rate accuracy for RGB and multispectral imaging. The test results proves that multispectral imaging leads to higher accuracy.

V. CNN Architectures

19Recently, there has been a series of breakthroughs in deep learning and computer vision. Convolutional neural networks have become significantly deeper and more complex. These models have achieved state-of-the-art results for problems such as image classification and image recognition. They can solve more complex tasks and make them more robust. Several architectures exist in the field of CNNs. In the next subsection, we briefly present the architecture used in our study.

A. VGGNet

20The runner-up in the ImageNet challenge (ILSVRC 2014) was VGGNet [20], as shown in Fig. 3. It showed that the network depth is a critical element for good performance. Their best network consists of 16 CONV/FC layers and has a very homogeneous architecture that only performs 3 × 3 convolutions and 2 × 2 pooling from start to end. However, the VGGNet has two major drawbacks. It has large network weights and is extremely slow to train.

B. ResNet

21Kaiming He et al. [22] developed a residual network, which was the winner of the ILSVRC 2015. ResNet allows training of much deeper networks by introducing residual blocks, as shown in Fig. 4. Residual blocks utilize the concept of skip connections, which allows for an alternate path for the gradient to flow through. This mitigates the vanishing gradient problem. The ResNet model is one of the most popular and successful deep learning models. ResNet skip connections have since been used in many other model architectures, such as the fully convolutional network (FCN) and U-Net.

C. InceptionNet

22The inception network is an important milestone in the development of convolutional neural networks (CNNs). The most popular CNNs simply stack convolution layers deeper and deeper, hoping to achieve better performance. The inception network, on the other hand, is complex and improves accuracy and speed using multiple tricks. InceptionNet has constantly improved, creating several versions.

23The first inception deep convolutional architecture was introduced by Szegedy et al. [23] as GoogLeNet and was later named Inception-v1. Since then, the network has been refined in various ways. First, batch normalization was introduction in Inception-v2 [24]. Later, additional factorization ideas were introduced in the third version of Inception-v3 [25]. Inception-v4 [26] uses specialized "reduction blocks to change the height and width of the grid.

24In addition, hybrid modules combining InceptionNet and ResNet achieve very good results. These are known as InceptionResNet v1 and v2, respectively. In this study, we used Inception-v3, as shown in Fig. 5, as it proved to be more computationally efficient, both in terms of the number of parameters generated by the network and memory cost.

D. EfficientNet

25Previously, the most common way to scale up CNNs was by one of three dimensions: image resolution (image size), depth (number of layers), or width (number of channels). The main concept of EfficientNet [28] is compound scaling. This implies scaling all three dimensions while maintaining a balance between all dimensions of the network.

26However, the authors found that it was critical to have a good baseline network. Therefore, they also developed a new mobile-size baseline called EfficientNet using a neural architecture search. In particular, the baseline network is called Efficient-B0. Next, this baseline network was scaled using compound scaling to get Efficient B1-B7. The differences in the compound scaling are shown in Fig.6.

VI. PROPOSED SYSTEMS

27In this section, we describe our imaging system, image dataset, preprocessing technique, and two detection systems. Fig. 7 shows a block diagram of the proposed systems.

A. Imaging System

28The system used for the image capture is shown in Fig. 8. This approach was inspired by [29]. The imaging system provides proper lighting for both RGB and NIR imaging. A JAI AD-080G camera is used. The camera model is an area-scan camera. It is a multispectral 2-channel CCD camera. The camera can capture RGB and NIR images of a scene at the same time. The camera delivers 30 frames/s with a full resolution of (1024x768). In this camera model, the visual color spectrum is separated into a wavelength band of 400-600 nm. In addition, the NIR band ranges from 760 to 1000 nm. Two Ethernet cables transfer the captured images to a computer.

29We manually collected the images used in our model training and testing. We captured a dataset consisting of 1,348 images with different unique complex jacquard macro patterns from multiple samples per pattern. Our dataset was collected from plain, undyed jacquard fabrics with different complex patterns. The dataset was further increased using data augmentation techniques to four times the original size (i.e., 5,392 images). Each fabric sample was simultaneously captured using RGB and NIR at the same time. The dataset was balanced, where half of the images were non-defective and the other half were defective samples. The database contained 10 different complex macro patterns with different defects. These defects included warp and weft defects, fabric breaks, knots, and loose picks. The samples of the dataset showing different macro patterns and sample defect types are shown in Fig. 9 and 10, respectively.

B. Pre-processing

30First, the samples were resized to smaller sizes. In addition, RGB images were converted to grayscale for processing and model training. We used contrast-limited adaptive Histogram Equalization (CLAHE) [30] for image enhancement. CLAHE differs from regular AHE in its contrast limiting by clipping the histogram at a predetermined value before calculating the cumulative distribution function (CDF) to overcome the amplification of noise. The two main parameters that can be changed to control the image enhancement quality are the Clip Limit (CL) and Block Size (BS). First, the image is divided into non-overlapping contextual regions, resulting in M × N tiles. Then, the contrast-limited histogram of the contextual region is calculated using the CL value as follows:

31where N is the average number of pixels, N and N are the region's number of pixels in the X and Y directions, respectively, and N is the gray level number of the contextual region. The actual clip limit can be calculated as:

32Where, is the normalized clip limit in the range of [0,1]. If the number of pixels is greater than the , the pixels are clipped. The part that exceeds the clip limit is better redistributed among all the histogram bins. If the redistribution causes some values to exceed the clip limit again, the process is repeated until the excess can be neglected. Fig. 11 shows the multispectral imaging for the dataset sample and the preprocessing effect

C. Training and Testing

33Artificial neural networks have shown promising results in different areas, such as pattern recognition and classification. In neural networks, input information is processed by groups of simple elements called neurons. Signals are transferred between neurons through the links that connect them. Each connection link has a weight (W) that represents the multiplication factor for the transmitted signal. Finally, the output is determined using an activation function that was applied to the input.

34In our work, we used convolutional neural networks (CNNs) running on TensorFlow's high-level API "tf.Keras." We experimented with different 2D CNNs, such as simple CNNs, VGGNet, ResNets, InceptionNets, and EfficientNets, to find and select the most suitable ones for defect detection in pattern jacquard fabrics.

35We propose two systems. The first system is a simple CNN model for a semi-manual system that operates on separate patterns. The second system is an unsupervised system that operates on the entire dataset, uses state-of-theart architectures, and compares them. The two systems are presented, and the advantages and disadvantages of using each system are discussed.

VII. Results and Discussion

36The precision, recall, and accuracy performance metrics were calculated for each system. These metrics were calculated using the following equation: The models were trained and tested on the database that we created. First, a semi-manual system that has 10 models is presented. System performance was studied for different patterns. In addition, a performance comparison between RGB and multispectral imaging is performed.

37Second, an automatic system that operates on the entire dataset without manually selecting the target pattern is presented. A comparison between different state-of-the-art architectural models was performed.

A. Semi-manual System

38The first proposed system utilizes a simple CNN that consists of Conv2D, activation, and max-pooling layers, as shown in Fig. 12. This simple CNN is sufficient for implementing semi-manual models that operate on separate patterns. In this system, the operator selects the pattern and then the system loads the corresponding model. Although this system is semi-manual and not very sophisticated, it is very simple and, therefore, faster. First, the advantage of multispectral imaging was tested using this simple CNN model across 10 different patterns. The CNN was modeled on our dataset, where 3,774 images (70%) were used for training and 1618 images (30%) for testing. In the testing phase, the CNN classified the input image into a defect or defect-free fabric.

39A comparison between RGB and multispectral imaging is presented in Tables I and II, respectively. Table I Multispectral imaging provides better performance and higher accuracy. The detection results across separate patterns were satisfactory, with an average accuracy of 95%. However, this system is semi-manual and requires changing the models when operating on different patterns. Simple CNN models could not achieve good accuracies on the entire dataset when the pattern was not determined by the operator, reaching a maximum accuracy of 65%. This led us to examine state-of-the-art architectures in deep learning and devise a fully automated defect detection system using modern CNN architectures.

B. Automatic System

40We experimented with different state-of-the-art CNN architectures to achieve the highest accuracy for the dataset. We tested four different models, which were briefly presented in Section VI. All architectures were implemented from scratch and then trained and tested on our dataset. The models used our dataset, where 3,774 images (70%) were used for training and 1618 images (30%) for testing. The architectures had different sizes and numbers of parameters. The largest of these is VGG16 with approximately 138 million parameters, followed by ResNet50 with a much lower number of parameters at approximately 25.6 million. InceptionV3 had approximately 23.8 million parameters. The smallest of these is EfficientNetB3 at approximately 12.3 million parameters. Training was performed for 100 epochs, and a batch size of 4. Fig. 13 presents the accuracy and loss for training and validation for different architectures. Table III shows a comparison of the precision, recall, and accuracy of the four network architectures. From the results, we can see that very high accuracies were achievable, especially with EfficientNet. This shows that CNNs with multispectral imaging are very good for defect detection in jacquard fabrics, and they can overcome the difficult challenge of complex patterns. In addition, this shows that advancements in the field of CNN architectures are meaningful and steadily improving. EfficientNets achieve higher accuracies with a smaller network size and fewer parameters.

C. Comparison

41As previously mentioned, the study of defect detection for complex-patterned jacquard fabrics is novel and no previous studies have been done on it. In our research we implemented and tested, on our database, several techniques that are well established in defect detection of traditional fabrics. Two methods that had good results were wavelet transform [31] and gray level co-occurrence (GLCM) [32]. Table IV shows a comparison of their results with the proposed approach of using EfficientNet CNN. From the results, we conclude that the proposed method, of using EfficientNet CNN with multispectral imaging for fault detection for complex-patterned jacquard fabrics, provides the best results with highest accuracy.

VIII. Conclusion

42In this study, unsupervised complex-patterned jacquard fabric defect detection systems were introduced. A new and extensive image database was collected and tested. The images were preprocessed using CLAHE to enhance their features. These systems use Convolutional Neural Networks (CNNs) to detect defective fabrics. Test results for single RGB and multispectral imaging are provided. We concluded that deep learning is efficient and can be used for defect detection in complex patterns. EfficientNet CNN gave high accuracy reaching 99% approximately. We also found that multispectral imaging is more advantageous and yields a higher accuracy. These systems exhibit high detection rates.

43Much work and research can still be conducted in the field of jacquard fabrics.

44Further investigations will be conducted in the future to further improve the performance and precisely locate the defect area. Specifically locating the defect area is much more challenging and can be further explored in future work.

참고문헌 28건

  1. Developments in Jacquard woven fabrics Elsevier eBooks · Elsevier BV · 2011 10.1533/9780857093936.223
  2. Fabric Defect Detection Using Wavelet Filter International Conference on Computing Communication Control and automation · 2015 10.1109/iccubea.2015.145
  3. Jacquard Image Segmentation Method Based on Fuzzy Optimization Technology Lecture notes in computer science · Springer Science+Business Media · 2005 10.1007/11548706_29
  4. Very Deep Convolutional Networks for Large-Scale Image Recognition Computer Vision and Pattern Recognition · 2014
  5. Texture Segmentation and Contour Extraction of Warp Knitting Jacquard Fabric Image Applied Mechanics and Materials · Trans Tech Publications · 2012 10.4028/www.scientific.net/amm.201-202.1203
  6. Intelligent segmentation of jacquard warp-knitted fabric using a multiresolution Markov random field with adaptive weighting in the wavelet domain Textile Research Journal · SAGE Publishing · 2013 10.1177/0040517513485629
  7. Multi-spectral saliency detection Pattern Recognition Letters · Elsevier BV · 2012 10.1016/j.patrec.2012.06.002
  8. FDAS: A Knowledge-based Framework for Analysis of Defects in Woven Textile Structures Journal of the Textile Institute · Taylor & Francis · 1992 10.1080/00405009208631217
  9. Going deeper with convolutions 2015 10.1109/cvpr.2015.7298594
  10. Defect detection on patterned Jacquard fabric 2004 10.1109/aipr.2003.1284266
  11. Research on finite element segmentation algorithm for jacquard images 2006 10.1109/icma.2005.1626835
  12. Fabric inspection by near-infrared machine vision Optics Letters · Optica Publishing Group · 2004 10.1364/ol.29.001440
  13. Rethinking the Inception Architecture for Computer Vision 2016 10.1109/cvpr.2016.308
  14. Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
  15. Defect Detection of Jacquard Fabrics Using Multiple Color-channel Analysis Research Journal of Textile and Apparel · Emerald Publishing Limited · 2005 10.1108/rjta-09-01-2005-b003
  16. Fabric defect detection systems and methods—A systematic literature review Optik · Elsevier BV · 2016 10.1016/j.ijleo.2016.09.110
  17. Fabric Defect Detection based on GLCM Approach 2016 10.2991/icimm-16.2016.120
  18. An algorithm for segmentation of jacquard images based on mumford-shah model 2005 10.1109/icima.2004.1384269
  19. Computer vision techniques for detecting fabric defects Elsevier eBooks · Elsevier BV · 2017 10.1016/b978-0-08-101217-8.00003-8
  20. Fabric defect detection based on the saliency map construction of target-driven feature Journal of the Textile Institute · Taylor & Francis · 2017 10.1080/00405000.2017.1414669
  21. Contrast Limited Adaptive Histogram Equalization-Based Fusion in YIQ and HSI Color Spaces for Underwater Image Enhancement International Journal of Pattern Recognition and Artificial Intelligence · World Scientific · 2017 10.1142/s0218001418540186
  22. Automatic localization of casting defects with convolutional neural networks 2017 10.1109/bigdata.2017.8258115
  23. Patterned fabric defect detection system using near infrared imaging 2017 10.1109/intelcis.2017.8260041
  24. Fabric defect detection based on saliency histogram features Computational Intelligence · Wiley · 2019 10.1111/coin.12206
  25. Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learning Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2017 10.1609/aaai.v31i1.11231
  26. Improving unsupervised saliency detection by migrating from RGB to multispectral images Color Research & Application · Wiley · 2019 10.1002/col.22421
  27. Novel segmentation algorithm for jacquard patterns based on multi‐view image fusion IET Image Processing · Institution of Engineering and Technology · 2020 10.1049/iet-ipr.2019.1264
  28. Automatic Identification of Jacquard Warp-knitted Fabric Patterns Based on the Wavelet Transform Fibres and Textiles in Eastern Europe · Index Copernicus International S.A. · 2014