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

Detection of Microdefects in Fabric with Multifarious Patterns and Colors Using Deep Convolutional Neural Network

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

기본 정보

저자
  1. Rongfei Xia — Chengyi College, Jimei University, 199 Jimei Avenue, Xiamen 361021, China
  2. Yifei Chen — School of Marine Engineering, Jimei University, 176 Shigu Road, Xiamen 361021, China
  3. Yangfeng Ji — Chengyi College, Jimei University, 199 Jimei Avenue, Xiamen 361021, China
DOI
10.1155/2024/5926658
저널
Advances in Polymer Technology
발행년도
2024
발행기관
Wiley
피인용수
3
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1155/2024/5926658
토픽
Color Science and Applications
OpenAlex ID
W4391740706

평가 내용

관련도
간접 관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
(17) 스펀본드 부직포, (3) 자동차 인테리어 소재
R&D 측면
공정·제조
확신도
0.90
근거 용어
fabric defect detection, Deep Convolutional Neural Network, quality control, textile machine failures, automatic detection
판단 근거
본 논문은 딥러닝(CNN)을 활용하여 복잡한 패턴과 색상을 가진 직물의 결함을 자동으로 검출하는 기술을 다루고 있습니다. 이는 코오롱인더스트리의 패션(24) 및 산업용 부직포(17), 자동차 인테리어 소재(3) 생산 공정의 품질 관리(QC) 자동화에 직접적으로 응용 가능한 기술입니다.
R&D 활용 포인트
직물 및 섬유 제품 생산 라인에 AI 기반 자동 검사 시스템을 도입하여, 수동 검사의 한계를 극복하고 불량률 감소 및 품질 관리 효율성을 높이는 데 활용할 수 있습니다.
평가 입력
섹션 본문 18,128자

초록

Automatic detection of fabric defects is important in textile quality control, particularly in detecting fabrics with multifarious patterns and colors. This study proposes a fabric defect detection system for fabrics with complex patterns and colors. The proposed system comprises five convolutional layers designed to extract features from the original images effectively. In addition, three fully connected layers are designed to classify the fabric defects into four categories. Using this system, the detection accuracy is improved, and the depth of the model is shortened simultaneously. Optimal detection rates for testing dirty marks, clip marks, broken yams, and defect-free were 88.01%, 90.15%, 98.01%, and 97.73%, respectively. The experimental results show that the proposed method is effective, feasible, and has significant potential for fabric defect detection.

본문 18,486자

본문 펼치기
Automatic detection of fabric defects is important in textile quality control, particularly in detecting fabrics with multifarious patterns and colors.This study proposes a fabric defect detection system for fabrics with complex patterns and colors.The proposed system comprises five convolutional layers designed to extract features from the original images effectively.In addition, three fully connected layers are designed to classify the fabric defects into four categories.Using this system, the detection accuracy is improved, and the depth of the model is shortened simultaneously.Optimal detection rates for testing dirty marks, clip marks, broken yams, and defect-free were 88.01%, 90.15%, 98.01%, and 97.73%, respectively.The experimental results show that the proposed method is effective, feasible, and has significant potential for fabric defect detection. Introduction Image classification is the foundation of defect classification using computer vision and plays a significant role in manufacturing product quality control.Defects on the fabric is one of the most important factors that affect the quality and price of textiles.Most defects on the fabric are caused by textile machine failures and problems in production.To the best of our knowledge, the detection of fabric defects remains primarily manual, which has low efficiency, high labor cost, and low accuracy.In addition, fabric defects are becoming increasingly difficult to detect because of the wide variety of fabrics and increasingly complex patterns and colors.With the advancement of science and technology, computer vision with higher detection accuracy and lower cost has gained widespread interest in fabric defect classification applications. Introduction In recent years, several techniques have been proposed to improve the accuracy of fabric defect detection [1][2][3][4].Kumar [5] presented a method for segmenting local textile defects based on a feed-forward neural network.This effective method offers a low-cost and single-PC-based solution for fabric defect classification.Pourkaramdel et al. [6] proposed a novel approach based on one dimensional local binary patterns.The experimental results have showed that the proposed approach has a high detection rate for different surfaces such as stone, paper, and textile.Seçkin and Seçkin [7] proposed a new feature extraction method called intertwined frame vector feature extraction for defect detection.These features are used in machine learning classification algorithms.The experimental results have shown that the proposed method is faster and provides higher accuracy.Li and Zhang [8] proposed a novel automatic inspection scheme using smart visual sensors for warp knitting machines.The proposed scheme was effective, and its classification rate reached 98%.Çelik et al. [9] proposed a method adaptable to different fabric types based on a machine vision system.The system could detect defective areas in a denim sample with an average true classification rate of 91.7% and a false classification rate of 6.5%.These methods consist of two processes: First, they describe the image characters extracted from the original images and then use them as input to the classifier.This method typically relies on human feature selection, which significantly affects the classification results if the selected features are incomplete. Introduction Many studies have demonstrated that deep learning performs excellently in feature learning and classification tasks. Introduction Convolutional neural networks (CNNs) exhibit excellent performance in image recognition and classification [10,11].Usually, the accuracy of a CNN can be improved through various aspects, such as network architecture, nonlinear activation functions, supervision components, regularization mechanisms, and optimization techniques [12].These improvements have led to further research on image classification using deep convolutional neural networks (DCNNs).DCNN has shown advantages and potential in various areas of classification tasks, such as traffic density measurement [13], medical diagnosis [14], visual recognition [15], and facial recognition [16,17].Recently, Jing et al. [18] proposed a modified AlexNet using CNN for the classification of yarn-dye fabric defects.The experimental results showed a promising performance with an acceptable average classification rate and strong robustness for yarn-dyed fabrics.Yao et al. [19] builds a deep learning defect detection network incorporating an attention mechanism.The number of samples of each defective type were enriched by the data augmentation strategy.The experimental results show that this algorithm can effectively detect 39 categories of fabric defects.Zhang et al. [20] proposed a lightweight network for defect detection in resource-constrained scenarios, the network improving small defect detection accuracy by applying the channel attention mechanism to extract more refined defect features under the complex background disturbance.Alruwais et al. [21] developed a novel hybrid mutation moth flame optimization with deep learning-based smart fabric defect detection technique for sustainable manufacturing.The experimental values demonstrate that the accuracy of the proposed method is 95.47%.However, it is difficult for these existing methods to achieve better adaptability, owing to the wide range of fabrics with complicated patterns and colors.The existing deep learning techniques are usually too complex to be run and trained on an industrial computer with limited computing resources. Introduction This study aims to accurately detect microdefects in fabric with multifarious patterns and colors.To classify the defects, a model for feature extraction is proposed.These features are solely used for fabric defect classification without any other processing.The model uses batch normalization (BN) and inception to decrease the depth of the network with the same precision and enhance the training speed.The proposed model effectively detects microdefects in fabrics with various patterns and colors and can be used for automatic detection in fabric production lines. Detection Algorithm for Fabric Defects Inspired by the traditional AlexNet [22] and the application of other typical models [23,24], the proposed model for fabric defect detection consists of BN and inception.BN has recently proven its effectiveness and importance in deep learning [25].Each time a SGD is executed, the corresponding activation is normalized using a minibatch to make the mean of the computed result zero.Using x as the training sample, the BN formula is as follows: Detection Algorithm for Fabric Defects where k represents the k th dimension of the data.E½x k : and ffiffiffiffiffiffiffiffiffiffiffiffiffiffi ffi Var½x k p : are the expectation and variance of training sample x, respectively. Detection Algorithm for Fabric Defects The absolute value of b x ðkÞ is significantly small, and the overall data are located in the nonsaturation zone of the sigmoid.To solve this problem, an inverse transformation is performed to ensure the recovery of the original data using the following formula: Detection Algorithm for Fabric Defects where γ and β are trainable parameters.The accuracy of DCNN can be improved by adding nodes or layers.However, this leads to model overfitting and increases the computational cost.The inception model adds nodes to a DCNN while increasing the layers [26]. Detection Algorithm for Fabric Defects Figure 1 shows the architecture of the inception model.To eliminate the influence of the filter size on the recognition results, multiple features were extracted using filters of different sizes.The inception model uses 1 × 1 convolutions, 3 × 3 convolutions, 5 × 5 convolutions, and max pooling of size 3 × 3 convolutions in paper.Figure 1(a) shows a naive version of the inception model.However, the paper indicated that the parameters of the inception model filters are the sum of all branches, leading to a computational blowup within a few stages. Detection Algorithm for Fabric Defects 1 × 1 convolutions can reduce the dimensionality of the output matrix and combine information in different channels.That is, 1 × 1 convolutions can be used to compute reductions before the expensive 3 × 3 convolutions, 5 × 5 convolutions, and after max-pooling layers.Figure 1(b) shows the final inception model. Detection Algorithm for Fabric Defects Based on our experience, the size of the input images is set to 224 × 224 with three color channels.Next, the inception layer, which is stacked by 1 × 1 convolution kernels, 3 × 3 convolution kernels, 5 × 5 convolution kernels, and max pooling with a filter size of 3 × 3 follows, as shown in Figure 2.Then, average pooling with a filter size of 3 × 3 is performed, which can reduce the estimator of variance caused by the limits of neighborhood size.Next, there are two fully connected layers of 256 neurons.A dropout follows the two fully connected layers to avoid overfitting.In the training procedures, the last fully connected layer has the same number of neurons as the number of output classes, which is the obtained output matrix.Subsequently, the defect type is then obtained using the SoftMax activation function.After the DCNN is trained, the SVM classifier replaces the SoftMax classifier and the last fully connected layer for the final classification.In this case, the size of the output feature map of the last fully connected layer is 1 × 1 × 256. Advances in Polymer Technology The loss between the predicted and actual labels is calculated using sigmoid cross-entropy.The next step is to train the model and optimize the loss.Gradient descent is a typical practice for solving optimization problems.A gradient update is performed each time all database data are required.However, the update speed is slow, and the model cannot be updated online.Therefore, Bottou [27,28] proposed a SGD, which can converge to the global minimum of the convex function and local minima of the nonconvex function.Using SGD, the update speed is fast, and the model can be updated online.Despite the extensive use of gradient-based optimization techniques for DCNN and image classification, the method remains a challenge because of its substantial limitations.Therefore, improved optimization techniques have been proposed, including Momentum [29], Adagrad [30], Advances in Polymer Technology Adadelta [31], RMSprop [32], and adaptive moment estimation (Adam) [33].The advantage of Adam is that the learning rate is restricted to a limited scope in each iteration by the bias correction method to enable comparatively stable parameters.Hence, the loss function is f ðθÞ: and its gradient is g t ¼ rθ t−1 f ðθ t−1 Þ: .θ is a parameter.Based on the concept of momentum in physics, the gradient is replaced by accumulated momentum, resulting in the following formula: Advances in Polymer Technology m t and n t denote the mean and variance of the gradient, respectively.b m t and b n t modify m t and n t , respectively.When β 1 is 0.9 and β 2 is 0.9999, the parameter update formula is as follows: Advances in Polymer Technology It was found that the gradient estimate does not require additional memory and is dynamically adjusted by the gradient.In addition, the learning rate is dynamically constrained by − b m t ffiffiffiffiffiffiffi ffi b n t þϵ p .ϵ is used to ensure that the denominator is a nonzero value.Generally, there are four types of fabric defects: dirty marks, clip marks, broken yams, and defect-free defects.A fabric dataset, including large and small datasets, was created.The large dataset contained 4,000 fabric images, including four defect types: dirty marks, clip marks, broken yams, and defect-free.The images were randomly divided into training and validation sets in a 5 : 1 ratio.A small dataset containing 2,000 fabric images was selected for the testing sets, and it included four classes: dirty marks, clip marks, broken yams, and defect-free.Typical defect samples in the fabric datasets are shown in Figure 3. Experiment The improved defect inspection equipment is shown in Figure 4.The fabric images were captured using a line-scan digital camera.Furthermore, the line light source is behind the fabric.Image storage and inspection are performed by a computer. Experiment To evaluate the performance of the fabric defect detection system, accuracy (ACC), false positive rate (FPR), and recall rate are adopted.ACC, FPR, and recall rate are defined as Equations ( 8), (9), and (10), respectively.A high FPR repeatedly stops the machine because of a false alarm, Advances in Polymer Technology significantly affecting the generation efficiency.A low recall rate can result in defective products going to market.Furthermore, a low recall rate affects product quality. Experiment where TP is the number of defective samples classified correctly, TN is the number of nondefective samples classified correctly, and FN and FP are the numbers of defective and nondefective samples falsely detected, respectively. Results and Discussion The performance of the proposed DCNN model was evaluated using the training, validation, and testing sets.The input samples of fabric defects were resized to 224 × 224, and the evaluation was conducted with learning rates of 0.01, 0.001, and 0.0001; the number of iterations was set to 2,000.Table 1 shows the recognition performance using different learning rates.The learning rate of 0.001 yielded the highest performance. Results and Discussion To demonstrate the effectiveness of the proposed DCNN model, BN and inception were removed from the model.The learning rate of the models is 0.001.The performances are presented in Table 2.As shown in Figure 5, removing either BN or inception did not yield better accuracy.Advances in Polymer Technology Table 3 lists the detection and false detection rates of the proposed model with different optimizers.The detection accuracy of the proposed model using different optimizers is shown in Figure 6.When SGD and Momentum were used as optimizers, the proposed DCNN model exhibited low classification accuracy.When Adam and RMSProp were used as optimizers, the detection accuracy and recall rate of the proposed model were high and similar; however, RMSProp exhibited a higher FPR. Results and Discussion In addition, AlexNet is a traditional DCNN with good performance in classification tasks, whereas YOLOv8 is a state-of-the-art image recognition method.Therefore, the performance of the proposed model was compared with AlexNet and YOLOv8 and evaluated.The hyperparameters of the models are listed in Table 4, and the results are listed in Table 5.Our proposed model exhibited a lower accuracy and recall rate than that of YOLOv8; however, in practical applications, real-time detection is a key index, which directly In the above experiments, the proposed DCNN model exhibited excellent performance using a batch size of 32 and a learning rate of 0.001.To generalize our experiment and results, we repeated our experiments 10 times using the validation and testing sets and calculated the average of all times as the final classification accuracy.Table 6 presents the results. Results and Discussion We calculated the number of false detections for different types of fabric defects in the testing set, as shown in Figure 7, and the false detection rates for different types of fabric defects are listed in Table 7. Advances in Polymer Technology In the experiments, better results were achieved in terms of the detection rates of the datasets.This proves that the proposed DCNN model performs well regarding detection rate.However, a low detection rate was still obtained for dirty and clip marks, which is possible because the characteristics of dirty and clip marks are similar. Conclusion Deep learning is an effective image-classification method.This study proposed a fabric defect detection model based on a DCNN to ensure the quality of fabrics with multifarious patterns and colors.The application to fabrics with multifarious patterns and colors showed that the proposed DCNN model achieves good accuracy for fabric defect detection.The experimental results showed that the proposed model can achieve a detection accuracy of 92.7%. Conclusion Although the proposed DCNN model exhibited good performance, it still requires further improvement that can be covered in future studies.(1) The number of samples is not sufficient; hence, a database of other defects, such as hanging threads and buttonhole selvage, is required. FIGURE 1 : FIGURE 1: Inception module architecture.(a) Naive version of the inception model.(b) Inception module with dimensionality reduction. 3. 1 . Image Dataset and Evaluation Criteria.Samples with fabric defects were obtained from an umbrella factory. FIGURE 2 : FIGURE 2: Architecture of proposed DCNN. 3. 2 . Training and Testing.The training set was used to train the proposed DCNN model.The choice of training parameters was as follows: (1) An optimization algorithm was used to optimize the parameters of the model, and four gradient descent variants were used as optimizers to compare the performance of the proposed method.(2) The learning rate controls the training speed of the network weights and must be set to a value within a range to ensure that the model has good performance.Learning rates of 0.01, 0.001, and 0.0001 were used to train the model.(3) A batch size of 32 was set based on the sample size of fabric defects.(4) The epoch is a cycle period that includes one forward and one backward transmission for training all samples.The following formula was used: epoch ¼ ðTotal sample=batch sizeÞ: =iteration ¼ 1.We expected to achieve the required results by training the model through multiple iterations. FIGURE 3 : FIGURE 3: Fabric defect types: (a) dirty marks; (b) broken yams; (c) clip mark; and (d) defect-free. FIGURE 4 : FIGURE 4: Defect inspection equipment. FIGURE 7 : FIGURE 7: Number of each defect misclassification. TABLE 1 : Performance of proposed DCNN for 2,000 iterations. TABLE 2 : Comparison of the performance of models without BN or inception. TABLE 3 : Classification accuracy using different optimizers. TABLE 4 : Hyperparameters of the models. TABLE 5 : Performance of the proposed model compared with AlexNet. TABLE 7 : Misclassification rate for each fabric defect. TABLE 6 : Detection rates on validation samples and test samples.

섹션 본문 41문단 · 17,666자

(제목 없음)

1Automatic detection of fabric defects is important in textile quality control, particularly in detecting fabrics with multifarious patterns and colors.This study proposes a fabric defect detection system for fabrics with complex patterns and colors.The proposed system comprises five convolutional layers designed to extract features from the original images effectively.In addition, three fully connected layers are designed to classify the fabric defects into four categories.Using this system, the detection accuracy is improved, and the depth of the model is shortened simultaneously.Optimal detection rates for testing dirty marks, clip marks, broken yams, and defect-free were 88.01%, 90.15%, 98.01%, and 97.73%, respectively.The experimental results show that the proposed method is effective, feasible, and has significant potential for fabric defect detection.

Introduction

2Image classification is the foundation of defect classification using computer vision and plays a significant role in manufacturing product quality control.Defects on the fabric is one of the most important factors that affect the quality and price of textiles.Most defects on the fabric are caused by textile machine failures and problems in production.To the best of our knowledge, the detection of fabric defects remains primarily manual, which has low efficiency, high labor cost, and low accuracy.In addition, fabric defects are becoming increasingly difficult to detect because of the wide variety of fabrics and increasingly complex patterns and colors.With the advancement of science and technology, computer vision with higher detection accuracy and lower cost has gained widespread interest in fabric defect classification applications.

3In recent years, several techniques have been proposed to improve the accuracy of fabric defect detection [1][2][3][4].Kumar [5] presented a method for segmenting local textile defects based on a feed-forward neural network.This effective method offers a low-cost and single-PC-based solution for fabric defect classification.Pourkaramdel et al. [6] proposed a novel approach based on one dimensional local binary patterns.The experimental results have showed that the proposed approach has a high detection rate for different surfaces such as stone, paper, and textile.Seçkin and Seçkin [7] proposed a new feature extraction method called intertwined frame vector feature extraction for defect detection.These features are used in machine learning classification algorithms.The experimental results have shown that the proposed method is faster and provides higher accuracy.Li and Zhang [8] proposed a novel automatic inspection scheme using smart visual sensors for warp knitting machines.The proposed scheme was effective, and its classification rate reached 98%.Çelik et al. [9] proposed a method adaptable to different fabric types based on a machine vision system.The system could detect defective areas in a denim sample with an average true classification rate of 91.7% and a false classification rate of 6.5%.These methods consist of two processes: First, they describe the image characters extracted from the original images and then use them as input to the classifier.This method typically relies on human feature selection, which significantly affects the classification results if the selected features are incomplete.

4Many studies have demonstrated that deep learning performs excellently in feature learning and classification tasks.

5Convolutional neural networks (CNNs) exhibit excellent performance in image recognition and classification [10,11].Usually, the accuracy of a CNN can be improved through various aspects, such as network architecture, nonlinear activation functions, supervision components, regularization mechanisms, and optimization techniques [12].These improvements have led to further research on image classification using deep convolutional neural networks (DCNNs).DCNN has shown advantages and potential in various areas of classification tasks, such as traffic density measurement [13], medical diagnosis [14], visual recognition [15], and facial recognition [16,17].Recently, Jing et al. [18] proposed a modified AlexNet using CNN for the classification of yarn-dye fabric defects.The experimental results showed a promising performance with an acceptable average classification rate and strong robustness for yarn-dyed fabrics.Yao et al. [19] builds a deep learning defect detection network incorporating an attention mechanism.The number of samples of each defective type were enriched by the data augmentation strategy.The experimental results show that this algorithm can effectively detect 39 categories of fabric defects.Zhang et al. [20] proposed a lightweight network for defect detection in resource-constrained scenarios, the network improving small defect detection accuracy by applying the channel attention mechanism to extract more refined defect features under the complex background disturbance.Alruwais et al. [21] developed a novel hybrid mutation moth flame optimization with deep learning-based smart fabric defect detection technique for sustainable manufacturing.The experimental values demonstrate that the accuracy of the proposed method is 95.47%.However, it is difficult for these existing methods to achieve better adaptability, owing to the wide range of fabrics with complicated patterns and colors.The existing deep learning techniques are usually too complex to be run and trained on an industrial computer with limited computing resources.

6This study aims to accurately detect microdefects in fabric with multifarious patterns and colors.To classify the defects, a model for feature extraction is proposed.These features are solely used for fabric defect classification without any other processing.The model uses batch normalization (BN) and inception to decrease the depth of the network with the same precision and enhance the training speed.The proposed model effectively detects microdefects in fabrics with various patterns and colors and can be used for automatic detection in fabric production lines.

Detection Algorithm for Fabric Defects

7Inspired by the traditional AlexNet [22] and the application of other typical models [23,24], the proposed model for fabric defect detection consists of BN and inception.BN has recently proven its effectiveness and importance in deep learning [25].Each time a SGD is executed, the corresponding activation is normalized using a minibatch to make the mean of the computed result zero.Using x as the training sample, the BN formula is as follows:

8where k represents the k th dimension of the data.E½x k : and ffiffiffiffiffiffiffiffiffiffiffiffiffiffi ffi Var½x k p : are the expectation and variance of training sample x, respectively.

9The absolute value of b x ðkÞ is significantly small, and the overall data are located in the nonsaturation zone of the sigmoid.To solve this problem, an inverse transformation is performed to ensure the recovery of the original data using the following formula:

10where γ and β are trainable parameters.The accuracy of DCNN can be improved by adding nodes or layers.However, this leads to model overfitting and increases the computational cost.The inception model adds nodes to a DCNN while increasing the layers [26].

11Figure 1 shows the architecture of the inception model.To eliminate the influence of the filter size on the recognition results, multiple features were extracted using filters of different sizes.The inception model uses 1 × 1 convolutions, 3 × 3 convolutions, 5 × 5 convolutions, and max pooling of size 3 × 3 convolutions in paper.Figure 1(a) shows a naive version of the inception model.However, the paper indicated that the parameters of the inception model filters are the sum of all branches, leading to a computational blowup within a few stages.

121 × 1 convolutions can reduce the dimensionality of the output matrix and combine information in different channels.That is, 1 × 1 convolutions can be used to compute reductions before the expensive 3 × 3 convolutions, 5 × 5 convolutions, and after max-pooling layers.Figure 1(b) shows the final inception model.

13Based on our experience, the size of the input images is set to 224 × 224 with three color channels.Next, the inception layer, which is stacked by 1 × 1 convolution kernels, 3 × 3 convolution kernels, 5 × 5 convolution kernels, and max pooling with a filter size of 3 × 3 follows, as shown in Figure 2.Then, average pooling with a filter size of 3 × 3 is performed, which can reduce the estimator of variance caused by the limits of neighborhood size.Next, there are two fully connected layers of 256 neurons.A dropout follows the two fully connected layers to avoid overfitting.In the training procedures, the last fully connected layer has the same number of neurons as the number of output classes, which is the obtained output matrix.Subsequently, the defect type is then obtained using the SoftMax activation function.After the DCNN is trained, the SVM classifier replaces the SoftMax classifier and the last fully connected layer for the final classification.In this case, the size of the output feature map of the last fully connected layer is 1 × 1 × 256.

Advances in Polymer Technology

14The loss between the predicted and actual labels is calculated using sigmoid cross-entropy.The next step is to train the model and optimize the loss.Gradient descent is a typical practice for solving optimization problems.A gradient update is performed each time all database data are required.However, the update speed is slow, and the model cannot be updated online.Therefore, Bottou [27,28] proposed a SGD, which can converge to the global minimum of the convex function and local minima of the nonconvex function.Using SGD, the update speed is fast, and the model can be updated online.Despite the extensive use of gradient-based optimization techniques for DCNN and image classification, the method remains a challenge because of its substantial limitations.Therefore, improved optimization techniques have been proposed, including Momentum [29], Adagrad [30],

15Adadelta [31], RMSprop [32], and adaptive moment estimation (Adam) [33].The advantage of Adam is that the learning rate is restricted to a limited scope in each iteration by the bias correction method to enable comparatively stable parameters.Hence, the loss function is f ðθÞ: and its gradient is g t ¼ rθ t−1 f ðθ t−1 Þ: .θ is a parameter.Based on the concept of momentum in physics, the gradient is replaced by accumulated momentum, resulting in the following formula:

16m t and n t denote the mean and variance of the gradient, respectively.b m t and b n t modify m t and n t , respectively.When β 1 is 0.9 and β 2 is 0.9999, the parameter update formula is as follows:

17It was found that the gradient estimate does not require additional memory and is dynamically adjusted by the gradient.In addition, the learning rate is dynamically constrained by − b m t ffiffiffiffiffiffiffi ffi b n t þϵ p .ϵ is used to ensure that the denominator is a nonzero value.Generally, there are four types of fabric defects: dirty marks, clip marks, broken yams, and defect-free defects.A fabric dataset, including large and small datasets, was created.The large dataset contained 4,000 fabric images, including four defect types: dirty marks, clip marks, broken yams, and defect-free.The images were randomly divided into training and validation sets in a 5 : 1 ratio.A small dataset containing 2,000 fabric images was selected for the testing sets, and it included four classes: dirty marks, clip marks, broken yams, and defect-free.Typical defect samples in the fabric datasets are shown in Figure 3.

Experiment

18The improved defect inspection equipment is shown in Figure 4.The fabric images were captured using a line-scan digital camera.Furthermore, the line light source is behind the fabric.Image storage and inspection are performed by a computer.

19To evaluate the performance of the fabric defect detection system, accuracy (ACC), false positive rate (FPR), and recall rate are adopted.ACC, FPR, and recall rate are defined as Equations ( 8), (9), and (10), respectively.A high FPR repeatedly stops the machine because of a false alarm, Advances in Polymer Technology significantly affecting the generation efficiency.A low recall rate can result in defective products going to market.Furthermore, a low recall rate affects product quality.

20where TP is the number of defective samples classified correctly, TN is the number of nondefective samples classified correctly, and FN and FP are the numbers of defective and nondefective samples falsely detected, respectively.

Results and Discussion

21The performance of the proposed DCNN model was evaluated using the training, validation, and testing sets.The input samples of fabric defects were resized to 224 × 224, and the evaluation was conducted with learning rates of 0.01, 0.001, and 0.0001; the number of iterations was set to 2,000.Table 1 shows the recognition performance using different learning rates.The learning rate of 0.001 yielded the highest performance.

22To demonstrate the effectiveness of the proposed DCNN model, BN and inception were removed from the model.The learning rate of the models is 0.001.The performances are presented in Table 2.As shown in Figure 5, removing either BN or inception did not yield better accuracy.Advances in Polymer Technology Table 3 lists the detection and false detection rates of the proposed model with different optimizers.The detection accuracy of the proposed model using different optimizers is shown in Figure 6.When SGD and Momentum were used as optimizers, the proposed DCNN model exhibited low classification accuracy.When Adam and RMSProp were used as optimizers, the detection accuracy and recall rate of the proposed model were high and similar; however, RMSProp exhibited a higher FPR.

23In addition, AlexNet is a traditional DCNN with good performance in classification tasks, whereas YOLOv8 is a state-of-the-art image recognition method.Therefore, the performance of the proposed model was compared with AlexNet and YOLOv8 and evaluated.The hyperparameters of the models are listed in Table 4, and the results are listed in Table 5.Our proposed model exhibited a lower accuracy and recall rate than that of YOLOv8; however, in practical applications, real-time detection is a key index, which directly In the above experiments, the proposed DCNN model exhibited excellent performance using a batch size of 32 and a learning rate of 0.001.To generalize our experiment and results, we repeated our experiments 10 times using the validation and testing sets and calculated the average of all times as the final classification accuracy.Table 6 presents the results.

24We calculated the number of false detections for different types of fabric defects in the testing set, as shown in Figure 7, and the false detection rates for different types of fabric defects are listed in Table 7.

Advances in Polymer Technology

25In the experiments, better results were achieved in terms of the detection rates of the datasets.This proves that the proposed DCNN model performs well regarding detection rate.However, a low detection rate was still obtained for dirty and clip marks, which is possible because the characteristics of dirty and clip marks are similar.

Conclusion

26Deep learning is an effective image-classification method.This study proposed a fabric defect detection model based on a DCNN to ensure the quality of fabrics with multifarious patterns and colors.The application to fabrics with multifarious patterns and colors showed that the proposed DCNN model achieves good accuracy for fabric defect detection.The experimental results showed that the proposed model can achieve a detection accuracy of 92.7%.

27Although the proposed DCNN model exhibited good performance, it still requires further improvement that can be covered in future studies.(1) The number of samples is not sufficient; hence, a database of other defects, such as hanging threads and buttonhole selvage, is required.

FIGURE 1 :

28FIGURE 1: Inception module architecture.(a) Naive version of the inception model.(b) Inception module with dimensionality reduction.

3. 1 .

29Image Dataset and Evaluation Criteria.Samples with fabric defects were obtained from an umbrella factory.

FIGURE 2 :

30FIGURE 2: Architecture of proposed DCNN.

3. 2 .

31Training and Testing.The training set was used to train the proposed DCNN model.The choice of training parameters was as follows: (1) An optimization algorithm was used to optimize the parameters of the model, and four gradient descent variants were used as optimizers to compare the performance of the proposed method.(2) The learning rate controls the training speed of the network weights and must be set to a value within a range to ensure that the model has good performance.Learning rates of 0.01, 0.001, and 0.0001 were used to train the model.(3) A batch size of 32 was set based on the sample size of fabric defects.(4) The epoch is a cycle period that includes one forward and one backward transmission for training all samples.The following formula was used: epoch ¼ ðTotal sample=batch sizeÞ: =iteration ¼ 1.We expected to achieve the required results by training the model through multiple iterations.

FIGURE 3 :

32FIGURE 3: Fabric defect types: (a) dirty marks; (b) broken yams; (c) clip mark; and (d) defect-free.

FIGURE 4 :

33FIGURE 4: Defect inspection equipment.

FIGURE 7 :

34FIGURE 7: Number of each defect misclassification.

TABLE 1 :

35Performance of proposed DCNN for 2,000 iterations.

TABLE 2 :

36Comparison of the performance of models without BN or inception.

TABLE 3 :

37Classification accuracy using different optimizers.

TABLE 4 :

38Hyperparameters of the models.

TABLE 5 :

39Performance of the proposed model compared with AlexNet.

TABLE 7 :

40Misclassification rate for each fabric defect.

TABLE 6 :

41Detection rates on validation samples and test samples.

참고문헌 32건

  1. ADADELTA: An Adaptive Learning Rate Method arXiv (Cornell University) · Cornell University · 2012 10.48550/arxiv.1212.5701
  2. On the importance of initialization and momentum in deep learning International Conference on Machine Learning · 2013
  3. Large-Scale Machine Learning with Stochastic Gradient Descent 2010 10.1007/978-3-7908-2604-3_16
  4. Deep Convolutional Neural Networks for Hyperspectral Image Classification Journal of Sensors · Hindawi Publishing Corporation · 2015 10.1155/2015/258619
  5. Adam: A Method for Stochastic Optimization 2014
  6. Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1502.03167
  7. Neural network based detection of local textile defects Pattern Recognition · Elsevier BV · 2003 10.1016/s0031-3203(03)00005-0
  8. Going deeper with convolutions 2015 10.1109/cvpr.2015.7298594
  9. Adaptive Subgradient Methods for Online Learning and Stochastic Optimization Journal of Machine Learning Research · The MIT Press · 2011
  10. Real-Time Denim Fabric Inspection Using Image Analysis Fibres and Textiles in Eastern Europe · Index Copernicus International S.A. · 2015 10.5604/12303666.1152514
  11. One-to-many face recognition with bilinear CNNs 2016 10.1109/wacv.2016.7477593
  12. Automated vision system for fabric defect inspection using Gabor filters and PCNN SpringerPlus · Springer International Publishing · 2016 10.1186/s40064-016-2452-6
  13. On-line Learning in Neural Networks 1998
  14. ImageNet classification with deep convolutional neural networks Communications of the ACM · Association for Computing Machinery · 2017 10.1145/3065386
  15. Deep Convolutional Neural Networks for Image Classification: A Comprehensive Review Neural Computation · The MIT Press · 2017 10.1162/neco_a_00990
  16. Identification of rice diseases using deep convolutional neural networks Neurocomputing · Elsevier BV · 2017 10.1016/j.neucom.2017.06.023
  17. Convolutional neural network-based encoding and decoding of visual object recognition in space and time NeuroImage · Elsevier BV · 2017 10.1016/j.neuroimage.2017.07.018
  18. Image-Based Learning to Measure Traffic Density Using a Deep Convolutional Neural Network IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tits.2017.2732029
  19. Yarn-dyed fabric defect classification based on convolutional neural network Optical Engineering · SPIE · 2017 10.1117/1.oe.56.9.093104
  20. Deep convolution neural network for accurate diagnosis of glaucoma using digital fundus images Information Sciences · Elsevier BV · 2018 10.1016/j.ins.2018.01.051
  21. Deep learning Nature · Nature Portfolio · 2015 10.1038/nature14539
  22. Analysis of Multi-View Face Detection using Deep Convolutional Neural Networks Indian Journal of Industrial and Applied Mathematics · Diva Enterprises Private Limited · 2018 10.5958/1945-919x.2018.00018.x
  23. Automatic fabric defect detection using a deep convolutional neural network Coloration Technology · Wiley · 2019 10.1111/cote.12394
  24. Fabric defect detection based on deep-feature and low-rank decomposition Journal of Engineered Fibers and Fabrics · SAGE Publishing · 2020 10.1177/1558925020903026
  25. Texture defect classification with multiple pooling and filter ensemble based on deep neural network Expert Systems with Applications · Elsevier BV · 2021 10.1016/j.eswa.2021.114838
  26. Detection of fabric defects with intertwined frame vector feature extraction Alexandria Engineering Journal · Elsevier BV · 2021 10.1016/j.aej.2021.08.017
  27. Fabric defect detection with an attention mechanism based on hard sample training Textile Research Journal · SAGE Publishing · 2021 10.1177/00405175211060081
  28. The Research of Chronic Gastritis Diagnosis with Electronic Noses Journal of Sensors · Hindawi Publishing Corporation · 2021 10.1155/2021/5592614
  29. Fabric defect detection based on completed local quartet patterns and majority decision algorithm Expert Systems with Applications · Elsevier BV · 2022 10.1016/j.eswa.2022.116827
  30. A robust approach for surface defect detection based on one dimensional local binary patterns Indian Journal of Science and Technology · Indian Society for Education and Environment · 2012 10.17485/ijst/2012/v5i8.12
  31. Improved MobileNetV2-SSDLite for automatic fabric defect detection system based on cloud-edge computing Measurement · Elsevier BV · 2022 10.1016/j.measurement.2022.111665
  32. Hybrid mutation moth flame optimization with deep learning-based smart fabric defect detection Computers & Electrical Engineering · Elsevier BV · 2023 10.1016/j.compeleceng.2023.108706