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

Fabric surface defect classification and systematic analysis using a cuckoo search optimized deep residual network

간접 관련 산업용 섬유 · (17) 스펀본드 부직포 (24) 패션(코오롱FnC)

기본 정보

저자
  1. Hiren Mewada — Electrical Engineering Department, Prince Mohammad bin Fahd University, P.O. Box 1664, Al Khobar 31952, Saudi Arabia
  2. Ivan Miguel Pires — Instituto de Telecomunicações, Escola Superior de Tecnologia e Gestão de Agueda, Universidade de Aveiro, Águeda, Portugal
  3. Pinalkumar Engineer — Department of Electronics Engineering, Sardar Vallabhbhai National Institute of Technology (SVNIT), Surat, Gujarat, India
  4. Amit Patel — Wolfson School of Mechanical, Electrical and Manufacturing Engineering, Loughborough University, LE11 3TU, United Kingdom
DOI
10.1016/j.jestch.2024.101681
저널
Engineering Science and Technology an International Journal
발행년도
2024
발행기관
Elsevier BV
피인용수
19
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.jestch.2024.101681
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W4393965338

평가 내용

관련도
간접 관련
사업분야
산업용 섬유 · (17) 스펀본드 부직포
부 분야
(24) 패션(코오롱FnC)
R&D 측면
공정·제조
확신도
0.90
근거 용어
fabric defect classification, textile industry, deep learning, ResNet50, manufacturing process
판단 근거
본 논문은 딥러닝을 이용한 섬유 표면 결함(holes, oil spots, thread errors 등)의 자동 분류 기술을 다루고 있습니다. 이는 코오롱인더스트리의 산업용 부직포(17)나 패션용 원단(24) 제조 공정에서 품질 관리(QC) 및 공정 효율화를 위한 스마트 팩토리 기술로 응용 가능합니다.
R&D 활용 포인트
산업용 부직포 및 패션 원단 생산 라인에 AI 기반 실시간 결함 검사 시스템을 도입하여 불량률을 낮추고 품질 신뢰성을 확보하는 데 활용할 수 있습니다.
평가 입력
섹션 본문 43,624자 중 30,032자 발췌

초록

Fabric defects can significantly impact the quality of a textile product. By analyzing the types and frequencies of defects, manufacturers can identify process inefficiencies, equipment malfunctions, or operator errors. Although deep learning networks are accurate in classification applications, some defects may be subtle and difficult to detect, while others may have complex patterns or occlusions. CNNs may struggle to capture a wide range of defect variations and generalize well to unseen defects. Discriminating between genuine defects and benign variations requires sophisticated feature extraction and modeling techniques. This paper proposes a residual network-based CNN model to enhance the classification of fabric defects. A pretrained residual network, ResNet50, is fine-tuned to classify fabric defects into four categories: holes, objects, oil spots, and thread errors on the fabric surface. The fine-tuned network is further optimized via cuckoo search optimization using classification error as a fitness function. The network is systematically analyzed at different layers, and the investigation of classification results are reported using a confusion matrix and classification accuracy for each class. The experimental results confirm that the proposed model achieved superior performance with 95.36% accuracy and a 95.35% F1 score for multiclass classification. In addition, the proposed model achieved higher accuracy with similar or fewer trainable parameters than traditional deep CNN networks.

본문 44,675자

본문 펼치기
Fabric defects can significantly impact the quality of a textile product.By analyzing the types and frequencies of defects, manufacturers can identify process inefficiencies, equipment malfunctions, or operator errors.Although deep learning networks are accurate in classification applications, some defects may be subtle and difficult to detect, while others may have complex patterns or occlusions.CNNs may struggle to capture a wide range of defect variations and generalize well to unseen defects.Discriminating between genuine defects and benign variations requires sophisticated feature extraction and modeling techniques.This paper proposes a residual network-based CNN model to enhance the classification of fabric defects.A pretrained residual network, ResNet50, is fine-tuned to classify fabric defects into four categories: holes, objects, oil spots, and thread errors on the fabric surface.The fine-tuned network is further optimized via cuckoo search optimization using classification error as a fitness function.The network is systematically analyzed at different layers, and the investigation of classification results are reported using a confusion matrix and classification accuracy for each class.The experimental results confirm that the proposed model achieved superior performance with 95.36% accuracy and a 95.35% F1 score for multiclass classification.In addition, the proposed model achieved higher accuracy with similar or fewer trainable parameters than traditional deep CNN networks. Introduction The textile industry has large-scale production with complicated processes.A fault on the surface of a manufactured cloth is referred to as a fabric defect.There are many fabric flaws, most of which result from manufacturing or equipment errors.In addition, defective yarns or machine spoilage might result in flaws.Each aspect has a unique impact and significantly decreases the fabrics' sales and usability.Fabric defect classification is crucial for maintaining product quality, reducing costs, ensuring consumer safety, improving driving processes, meeting regulatory requirements, and facilitating effective supplier management.Fabric defects can significantly impact the quality of a textile product.Defective fabrics can result in waste and increased production costs.The faults in the earlier stage of the fabric production process hurt the later stage.Fabric defect classification provides valuable insights into the manufacturing process.Manufacturers can identify root causes by accurately classifying defects and taking appropriate corrective actions.This can lead to reduced material waste, improved production efficiency, and cost savings.Identifying the defects can ensure that however, they significantly affect the effectiveness of classification.Finding an optimum value of these hyperparameters is a significant and challenging task.These hyperparameters can be categorized as integer, continuous, or mixed according to their value type assignments.The gradient algorithm is primarily used for continuous-type hyperparameter optimization.Most researchers use evolutionary algorithms based on particle swam [5] and genetic algorithms [6] for hyperparameter optimization.However, nearly no analogous techniques for mixed hyperparameter optimization problems exist, except for Optuna [7], a built-in hyperparameter optimization algorithm in Python that has just begun to be utilized to address deep learning hyperparameter optimization issues.Given that the CS algorithm has demonstrated superior performance to other intelligent evolutionary algorithms and has proven helpful in solving a wide range of optimization issues [8], this research utilizes the cuckoo search method for hyperparameter optimization. Introduction This paper presents a new approach using a deep convolution network.Texture patterns can exhibit intricate and subtle details that are crucial for accurate classification.ResNets excels at capturing finegrained information due to its deep architecture.By stacking multiple residual blocks, ResNet can learn hierarchical representations of texture patterns, progressively capturing low-level and high-level features.It helps the network understand and discriminate between different texture patterns, even those with subtle variations.Therefore, a new approach using the ResNet architecture is presented in this paper.The ResNet architecture is pretrained using the ImageNet dataset.Thus, the network's learning rate, number of filters, and size are fixed according to the training experience from ImageNet feature sets.The learning rate and drop factors are optimized using the cuckoo search algorithm to fit this network well for our defect classification problem.The proposed network is analyzed in depth, examining the results at different layers.A well-established comparison with various literature demonstrating the strength of the proposed network is presented.The proposed network is analyzed in detail, and the results at different layers are examined.A well-established comparison with various literature reports demonstrating the strength of the proposed network is presented.The contributions of the paper are as follows: Introduction • A high diversity in size, shape, texture, and appearance of defects in the fabric makes it challenging to classify.We presented a deep CNN, ResNet, to classify defects in these challenging environments.A ResNet network providing intricate features and textures to discriminate defects well is presented to classify defects in fabrics with texture patterns.• A limited data size creates a risk of overfitting, and the network fails to be generalized well.Therefore, we augmented the datasets by presenting autoorientation and flipping images horizontally and vertically.The fabric could be skewed in either direction during the data collection process.Thus, random autoorientation along with vertical and horizontal flipping increases the variation in the position and orientation of the defect over the surface.It combats the overfitting problem of the network.Initially, the network's performance for each defect is individually presented, and later, the model's overall performance is presented.The study also shows where the model finds ambiguity in the classification.It provides insights into the specific patterns or instances that lead to misclassifications.By examining the misclassified samples, common characteristics, challenging scenarios, or classes that are prone to confusion can be identified.This analysis helps in understanding the model's limitations and weaknesses and guides improvements.• Finally, a comprehensive comparative analysis with state-of-theart networks is presented using the accuracy, F1-score, top-10 ambiguity score, and learnable parameters of the network. Introduction Overall, the structure of the paper is as follows: The relevant works are presented in Section 2, and the suggested model is presented in Section 3. The analytical findings are presented in Section 4. Finally, Section 5 summarizes them with feature scopes. Literature review Most literature findings are focused on whether fabric is defective or not.Therefore, most dataset developed by the researchers was categorized into two classes e.g.defective and non-defective and its annotation by localizing the defect was provided.A limited dataset provides a classification of defect types.The study of these private datasets was presented well in [9].Table 1 summarizes the dataset available publicly with its characteristics.This study uses optical images presented in [10,11]. Literature review The rapid growth in computer vision and image processing algorithms and advancements in machine learning techniques have replaced manual defect detection and classification with autonomous approaches.Upon fabric inspection, numerous faults are discovered, including drop stitches and color shading variance [16,17].The defect detection techniques can be classified into statistical, structural, model-based, and learning-based techniques [18].Statistical methods extract features that determine similarity and regularity using the mean and variance from an image plane [19].The sparse approximation using image patches and its dictionary formation can minimize the features in image classification [20].A similar approach to fabric flaw detection was presented in [21].These approaches are ineffective for low-contrast and patterned fabric images.The spectral methods used frequency domain approaches, i.e., Fourier transform, wavelet transform [22,23], local binary pattern [24], and gray-level co-occurrence matrix [25], to obtain spectral features from textured regions.Modelbased algorithms, i.e., Gaussian mixture model [26], are not robust and depend primarily on data.Therefore, this paper focuses on machine learning-based algorithms. Literature review An active contour can segment the desired region, and if the edges of the regions are enhanced well, the active contour can provide accurately segmented regions [27].Bumrungkun [28] extracted edge features using active contour, and subsequently, a support vector machine (SVM) was used to classify five defect types.This method fails for images with poor brightness and contrast.In Ref. [29], an Inception v3 model was used to extract features from texture fabric images.Later, a machine learning model was optimized and trained using these features for the classification and presented an improvement of 6% in classification compared to traditional CNNs.A binary classification approach, i.e., defective vs nondefective fabric, was presented in [30].They segregated the feature extraction and classification models using convolution features from CNN and SVM as a classifier.They observed that ResNet18 with SVM performed better, with a 94.66% classification rate.Meeradevi et al. [31] presented a review study of 79 research papers on detecting fabric defects and shade variation.They found that the deep learning model performed best among all traditional and machine learning models. Literature review A convolution model is adopted using a separable convolution process in the CNN network; the fabric defect location is identified in [32], and their model achieved 98.01% segmentation accuracy.However, the type of defect is not classified in their model.Furthermore, a binary classification model using a depthwise separable convolution network was presented by Chen et al. [33].An Xception network was adopted and tested on their dataset containing defective and nondefective fabrics.However, their model accuracy was limited to 93.57% for binary classification.Zhao et al. [34] adopted the VGG16 network by adding a squeezeand-excitation and SSD module.The course features were obtained using the squeeze operation on convolutional features, and later, the weights of layers were determined using the excitation operation.A comparison with MobileNetV3 and EfficientNet was presented for multiclass classification with an average accuracy of 81.7%.Using the transfer learning method, a pre-trained VGG16 network was tuned and features were extracted from fabric surfaces.They reduced the future size using principle component analysis.A CNN network adopted replacing the softmax layer with a moth flame-optimized parallel chaotic search (PCS) algorithm.The author showed that this model detected defective fabric accurately for regular patterned fabrics, unpatterned fabrics and irregularly patterned fabrics [35].Guo et al. [36] presented a YOLOv5 network with 95% accuracy to detect defects of lines and holes in fabric surfaces using their dataset.Their model performs well if the image of the fabric is clear.Otherwise, it fails to detect and classify the defect.A tiny YOLO network was presented in [37] to use onedge devices for binary classification, and the model achieved superior results of 99%. Literature review The Cascade R-CNN technique is the foundation of a fabric defect detection dataset in [38], and three tricks are presented to improve the precision of the detection algorithm.Initially, they used a multiscale approach for training the network.Then, dimension clustering was applied to the dataset, and the model was trained.The defect size (i.e., a box of width and height) from the images was adjusted before training in dimension clustering mode.Finally, a nonmaximum method was used to preprocess the dataset, and the model was trained using these new datasets.They performed binary classification, i.e., defective and nondefective fabric classification.The results were evaluated using the intersection of union parameters.Another cascaded approach integrating a faster R-CNN network with a feature pyramid network was presented in [39].The feature pyramid network allows shallow features with deep features of R-CNN, improving the semantic segmentation of defect location with 95% precision.In addition, the type of defect was also retrieved from the segmented region, but the classification accuracy was not investigated. Literature review A lightweight CNN can easily fit to mobile platforms and allows its use in resource-constrained devices [40].A lightweight CNN requiring fewer learnable parameters was presented and compared with VGG16, MobileNetV2, and EfficientNet to classify fabric surface images as either defective or not [41].They validated the model with their datasets and presented a 99% F1-score.State-of-the-art comparisons are limited to standard CNNs.A similar fabric defect detection model using the CNN network was presented by Huang and Xiang [42], where the CNN model was used to obtain features of repetitive patterns of the fabric, and later semantic segmentation was used using the Ghost network.An IoU measurement of 77% was presented for detecting fabric defects using the Tilda dataset.Liu et al. [43] also proposed a binary classification approach by optimizing the VGG16 neural network.However, the network is manually optimized by visualizing the features.Lin et al. [44] focused on defect classification for multicolor fabric.They preprocessed images using various filtering methods, a CNN transferlearning approach was used, and the model was trained to detect defects.However, they validated the model with limited raw data and without external data. Literature review In Ref. [45], the authors checked the performances of seven feature sets and three machine learning-based classifiers, namely, KNN, SVM, and decision tree on the Tilda dataset.A total of six defects were classified using these models.Overall, KNN performed better, with an average accuracy of 90.2%.A defect detection and classification model using two stages was presented in [46].Initially, the U-Net network was used to determine whether defects existed in the images of the AITEX dataset.Later, the VGG16 network and random forest algorithm were used to classify defects in the defective fabric.Although the model detection accuracy is high, the classification rate is relatively low, and the model fails to classify nep and cut salvage defects. Literature review The study showed that deep CNNs are widely used in fabric defect identification, and most studies have detected the presence of fabric defects and their location, irrespective of the type of defect.Among all networks, the YOLO network achieved superior accuracy in detecting defective fabrics.A limited number of studies have presented classifications among the types of defects.However, the lack of detailed results analysis of these models is a common weakness for these models. Overall structure of the proposed model Deep learning-based models are frequently used for image classification tasks and have exhibited their efficacy by producing outstanding results in many varied use cases.The main challenge in fabric defect classification is its background.In the presence of a textured background, global as well as, local features also participate in the classification.But traditional CNNs use global features only and therefore, they might underperform in fabric defect classification.This section develops a deep CNN model that can automatically identify subtle defects in fabric from fabric surface images.A defect in the fabric can be treated as a violation of patterns on the surface.Detecting violations in texture patterns can be effectively achieved by leveraging fine-grained details.Texture patterns often exhibit specific regularities and structures.Any deviation or violation from these patterns can indicate a defect or anomaly.Fine-grained details enable the detection of subtle variations, irregularities, or inconsistencies within the texture pattern.By analyzing intricate elements and small-scale features, such as texture gradients, local textures, or pixel-level variations, it becomes possible to identify deviations that may not be apparent at a coarser level of analysis.Fine-grained details provide a level of granularity that allows for the precise localization and characterization of texture pattern violations, facilitating the detection of defects or abnormalities on the fabric surface. Overall structure of the proposed model The proposed model uses a residual network for subtle defect classification from the fabric surface.ResNet's key innovation lies in introducing residual connections, which allow the network to learn residual mappings.By incorporating skip connections that bypass specific layers, ResNet enables the direct flow of gradients to earlier layers during training, effectively addressing the vanishing gradient problem.Fig. 1 shows the residual layer connection where the lower branch processes the features from the previous layer and the upper branch passes the features without any processing.The subtraction of the lower and upper branch features provides the residual features, i.e., fine-grained details. Overall structure of the proposed model A function () can be expressed using the input features and weights in layers.Therefore, the output of the ResNet structure is expressed as Overall structure of the proposed model In this equation, Overall structure of the proposed model • represents input to the residual layer, Overall structure of the proposed model • (, ) denotes the residual mapping, which is a sequence of convolutional layers with weights .• The output of the residual block is represented by . Overall structure of the proposed model • The ''+'' operation indicates elementwise addition. Overall structure of the proposed model The residual mapping (, ) can be further decomposed as follows: Overall structure of the proposed model In this decomposition: Overall structure of the proposed model • denotes a nonlinear activation function, such as ReLU. Overall structure of the proposed model • 1 and 2 are learnable weights associated with the convolutional layers. Overall structure of the proposed model Overall, the ResNet architecture consists of stacking multiple residual blocks together.Each residual block performs a residual mapping (, ) and adds the input to the mapping output, resulting in the transformed output .This formulation allows the network to learn the residual information effectively and facilitates the training of deeper neural networks. Overall structure of the proposed model This architectural design empowers ResNet to capture intricate and subtle details in the data, making it particularly well-suited for tasks that require fine-grained analysis, such as texture classification and object detection.The residual connections enable the network to focus on learning the incremental changes or deviations from the input data, leading to more efficient parameter optimization and improved performance in capturing fine details.The depth of ResNet, achieved through stacking multiple residual blocks, allows for the hierarchical learning of features, enabling the network to extract and exploit both low-level and high-level information progressively.The depth of ResNet plays a crucial role in its ability to extract both low-level and highlevel information.By stacking multiple residual blocks, ResNet creates a deep architecture that captures increasingly complex patterns and features.As information flows through the layers of a deep ResNet, each layer learns to extract and represent specific features at different levels of abstraction.The initial layers capture low-level details such as edges, corners, and textures, while the subsequent layers build upon these representations to capture more abstract and high-level features.This hierarchical learning enables the network to understand the data at multiple scales and levels of complexity. Overall structure of the proposed model ResNet's skip or residual connections facilitate the smooth propagation of gradients throughout the network, allowing for adequate information flow and gradient updates during training.It enables deep ResNet models to be trained successfully and prevents the degradation problem that can occur with very deep networks.By leveraging the depth of ResNet, the network can capture and combine features from different layers, allowing for the integration of low-level and highlevel information.This ability to extract and combine features from various depths enables ResNet to capture fine-grained details while also capturing global context and semantic information.The deep architecture of ResNet thus contributes to its capacity to learn and represent a wide range of features, making it highly effective in tasks that require extracting both low-level and high-level information, such as image recognition, object detection, and semantic segmentation. Overall structure of the proposed model Fig. 2 shows the flowchart of the proposed system.ResNet50 has deeper layers, requires less training time than does the ResNet34 architecture, and has significantly fewer trainable parameters than do the ResNet101 and ResNet152 networks.Therefore, a pretrained ReseNet50 architecture, which is trained using the ImageNet dataset, is used, and this network is retrained using the fabric defect dataset.Initially, the weight parameters of the pretrained ResNet50 network are obtained to release the original fully-connected layer.Then, the fully connected layer is replaced with a layer designed for four-class classification.Once the model is compiled successfully, the model is retrained using a fabric dataset to tune the model for defect classification.A data augmentation and k-fold classification approach is used, which suppresses the overfitting problem of the network.The experimental results obtained using this network are discussed in the next section. Hyperparameter optimization using the cuckoo search algorithm Hyperparameters and parameters significantly impact the performance of a CNN.Backpropagation algorithms are mostly used to optimize weights and biases of CNN networks with an objective function of minimizing a loss function.They may suffer from issues like getting stuck in local optima or the curse of dimensionality.In such cases, metaheuristic algorithms like Cuckoo Search provide an alternative by exploring the search space in a non-gradient-based manner, potentially overcoming these limitations.The cuckoo search efficiently explores large search space and therefore, it can find optimal or nearoptimal combinations of hyperparameters in comparison to gradientbased methods.By applying cuckoo search (CS), we can discover novel ResNet architecture that may have superior performance or efficiency compared to manually designed architectures. Hyperparameter optimization using the cuckoo search algorithm The CS algorithm emulates the search behavior of cuckoos in nature as they seek the best nest for incubating their eggs.The cuckoo in the algorithm selects nests of better quality to nurture its eggs and enhances nests of lower quality.The key feature of this optimization process is that the cuckoo employs the Levy flying mode and continuously refers to the optimum nests discovered thus far to create a very efficient optimization strategy.We used the cuckoo search algorithm to find the optimum value of the learning rate and its drop factor. Hyperparameter optimization using the cuckoo search algorithm The learning rate determines the step size at which the optimization algorithm updates the neural network weights during training.A high learning rate can cause the optimization process to converge quickly but may overshoot the optimal solution.On the other hand, a low learning rate can help the optimization process converge more accurately but may take a more time.The learning rate schedule adjusts the learning rate over time to strike a balance between convergence speed and accuracy.The learning rate typically decreases gradually as training progresses.The code implements the learning rate schedule Randomly replace some nests with new random solutions 13: end while 14: Post process the results Feature extraction The ResNet-50 network comprises an input layer, five stages of 49 convolutional layers, and an output layer.The five stages contain one convolutional layer and four residual layers, as shown in Fig. 3.As seen in Fig. 3, each stage comprises multiple residual blocks of varying sizes and widths.Stage 1 extracts a feature map from the input image using a 7 × 7 convolutional filter, and this stage employs 64 convolutional filters, each of which executes a convolutional computation on the input image.The stride value is set to 2, the interval between which the convolution filters are applied to the input image without overlapping.Thus, the filter moves by two pixels, and the size of the output feature map is calculated by dividing the size of the input picture by the stride value.This stage generates 64 feature maps. Feature extraction Stage 2 has a residual block with the size shown in Fig. 3.The downsampling of the image by 4 in this stage generates 256 feature maps.This downsampling process allows large-size filters in subsequent stages, improving the network's performance by allowing it to process more data.The first layer in this segment has a convolutional layer of size 1 × 1 that increases the number of channels of the feature map size from 64 to 256.To maintain a constant channel number, a 3 × 3 convolutional layer is employed.Furthermore, the 1 × 1 convolutional layer expands the size of the feature map to 256.The presence of the residual layer in this stage extracts the fine-grained information using skip connections and features from the previous layer. Feature extraction Stage 3 reduces the size by 1/8.Thus, a 1 × 1 convolution is employed initially to limit the number of channels of the input data to 128.The feature map is then processed with a 3 × 3 convolution, reducing the number of output channels back to 128.The output channels are then increased to 512 using a 1 × 1 convolution.It reduces the size of the input data by 1/8, resulting in a total of 128 feature maps.Stage 3 shrinks the input data while expanding the feature map size.As a result, the model can extract more diverse and complex information from the input image. Feature extraction Stage 4 has three residual layers.The first layer of the 1 × 1 convolutional operator reduces the number of channels in the input feature maps.Again, the channel numbers increase using the remaining 3 × 3 and 1 × 1 convolution operations.The final output is obtained using a residual connection, which adds the output feature map to the input feature map.Various features are taken from the input feature map throughout this procedure, resulting in a more sophisticated feature map.The feature map created in stage 4 is 14 × 14 in size and has 1024 channels.Downsampling converts the 14 × 14 feature map created in stage 4 to a 7 × 7 feature map.Using two convolution layers and max pooling, the size of the feature map is halved with a stride of 2 × 2. The generated 2048-channel feature map is then used to create a one-dimensional vector by calculating the average value for each channel via average pooling.Pooling is used to decrease the number of optimization parameters.Similarly, the feature map is processed using the convolution operation in stage 5. Finally, feature maps are passed through average pooling, dense layers, and fully connected layers, generating the probability of class prediction. Experiment results and analysis The Resenet model is used and retrained for the two datasets.The first fabric dataset from Roboflow [10] is used to test the proposed model.This dataset includes 2441 images for all types of defects, including holes, objects, oil spots, and thread errors.Fig. 4 shows a sample image of surface defects from the dataset.The second dataset DAGM 2007 [11] providing ten defects each with a different textured background is used.The dataset-2 contains 1950 images with 150 images for 8 classes and 300 images for remaining two classes.The sample images of three classes are shown in Fig. 5. Experiment results and analysis From the total images, 70% of the images are used to train the model, and 30% of the images are reserved for testing the model.Figs.6-9 visualize the images used to train and validate the models during the experiments. Experiment results and analysis A considerable discrepancy in the dataset's image size and total number of images will result in a data imbalance problem, leading to model overfitting.Simultaneously, if it is used to train hardware constraints, the initial image resolution will increase, and the computational burden during training will increase.As a result, before model training, the training data must be preprocessed.Therefore, the following preprocessing is applied to each image: Experiment results and analysis • Auto-orientation of the pixel data (with EXIF-orientation stripping) • Resize to 640 × 640 Furthermore, to increase the size of the images during the training process, the following augmentation was applied to create 3 versions of each source image: Experiment results and analysis • 50% probability of horizontal flip • 50% probability of vertical flip • Random rotation between −15 and +15 degrees It is necessary to adjust the network's hyperparameters to prevent overfitting during training to improve the model's classification rate.In a convolutional network, the top layers extract more general features, such as outlines or shapes, while the bottom layers extract more specific features, such as edges, textures, and colors.In this study, the top layers of the network were kept and retrained to retain course features relevant to defect features.The training and validation accuracy and loss were monitored for each epoch to prevent overfitting problems.A decrease in the accuracy of the validation data indicates the occurrence of overfitting.Therefore, an early stop and data augmentation are adopted to prevent this issue.The network training will be stopped if the validation accuracy is not optimized after 15 epochs of training. Experiment results and analysis To optimize the two hyperparameters, the learning rate and its drop factors were initialized to [0.001, 0.9], and the intervals for these parameters were = [0.0001,0.01] and = [0.1,0.99].The number of filters and filter size are kept constant from the pretrained model.classification rate for fabric defects compared to that for other defects for dataset-1.However, 12 images were misclassified as another defect type.Fig. 13 showcases a few sample images that were classified negatively by the network.These images are complex to classify, and even manual classification can lead to errors in prediction.The receiver operating characteristic (RoC) plot displayed in Fig. 14 helps analyze the model's overall response.The RoC curve illustrates the trade-off between the true positive rate (sensitivity) and the false positive rate (1 -specificity) at various classification thresholds.The RoC plot covers a 96% area under the curve, indicating that the model's performance is better.For dataset-2, model received 100% accuracy.The dataset-2 has variation in the textured background and therefore, it identifies the pattern well.The main limitation of this dataset is that it does not contain defect variation with a similar textured background which makes it challenging for classification. Experiment results and analysis The model is analyzed in detail for dataset-1, observing the ten classes those are most difficult for the model to classify accurately.These classes represent the areas where the model exhibited the highest level of uncertainty or confusion.Table 2 shows the model's ambiguity, in which it observed the oil spot defect but likely with a defect of the object type.The model predicted well, but the thread error defect was misclassified as an object.The quantitative analysis of the model was performed by calculating its classification accuracy, precision, specificity, and F1 score for each defect, as well as overall.Tables 3 and 4 present the detailed results of this analysis. Experiment results and analysis To understand more about network prediction for dataset-1 and to check that the proposed network focuses on the right region within image to identify the type of defect, a gradient-weighted class activation mapping (Grad-CAM) map of images was plotted.Grad-CAM provides a heatmap-like visualization that highlights the important regions in the input image.Accuracy is a widely used measure that evaluates the overall correctness of a classifier's predictions.It computes the proportion of accurate predictions (true positives (TP) and true negatives (TN)) to the total number of instances (N) in the dataset.The accuracy is expressed as a percentage, where higher values indicate better performance. Experiment results and analysis Precision is calculated by dividing the total number of true positives by the total number of instances predicted as positive (including both true and false positives).In simpler terms, precision provides insights into how effectively the classifier can avoid false positive errors. ? ???????? = + (4) When evaluating a classifier's performance, specificity measures its ability to identify negative instances correctly.It is calculated by dividing the number of true negatives by the total number of instances predicted as negative (true negatives plus false positives).Specificity complements precision by focusing on the true negative rate.A higher specificity indicates a lower rate of false negatives, meaning that the classifier can accurately identify negative instances.In simpler terms, the specificity metric tells us how well a classifier can identify instances that do not belong to a specific class, helping us to ensure that negative cases are not falsely labeled as positive. ?????? ????? = + (5) The F1 score is a harmonic mean of precision and recall (also known as the sensitivity or true positive rate).It provides a balanced measure of the classifier's performance, considering false positives and negatives.Table 3 shows that the model is well-balanced and classifies each defect well.The specificity score is larger than the precision score, indicating that negative defects were classified well compared to false predictions.The overall model achieved 95.36% classification accuracy for all defects with a 4.64% error rate as shown in Table 4. ?????? ????? = The proposed model results are validated by comparison with those of traditional CNN models, including the VGG16, ResNet50, and Xception networks in Table 5.The comparison shows that the proposed ResNet model performed better among all networks. ?????? ????? = Finally, a comparison with state-of-the-art methods using deep networks is presented in Table 6. ?????? ????? = A two-stage model using Inception 3 and a back propagation neural network (BPNN) was presented in [47].In the first stage, an inception model was used for feature extraction, and in the second stage, the BPNN network was optimized using the Moath Flame optimization technique and used for classification.This method was tested on a dataset containing two types of defects, including holes and lines (horizontal and vertical) in fabric.However, the algorithm testing was limited to horizontal and vertical lines only. ?????? ????? = Zhan et al. [48] approached the issue of imbalanced image distribution in a dataset by splitting the training set into support and query sets.The model was first trained using the support set and then fine-tuned using the query set.This technique resulted in the highest classification accuracy of 96.04% among the GoogleNet, ResNet, ResNetPreAct, and DenseNet networks.In [49], pretrained GoogleNet was proposed to classify woven fabric defects into six categories: holes, dark threads, spots, thread defects, switches off, and floods.The authors extracted features using GoogleNet, preprocessed images by histogram equalization and Gaussian filtering, and detected the fault location using the Fourier spectrum.Deep features from GoogleNet were then used to classify the flaws, achieving 94.46% accuracy. ?????? ????? = In [50], a GoogleNet network was used to classify the defects from fabric surface images.They used a subset of Tilda Dataset i.e. woven fabric dataset in their experiment.The preprocessed images using Gaussian filter and Fourier transform.Later edge features are used to train GoogleNet for classification.In [51], the author created a dataset with images having regular texture regions.They categorized images into five defect types.They filtered noise from images using a Gaussian filter and pseudo-CNN.Later modified VGG network was used to classify defects.Their network has 62 Million learnable parameters and its classification rate was 93.92%.In [52], the five types of defects Model Accuracy (%) Model Few-shot learning [48] 96.04 Fourier Spectrum + GoogleNet [49] 94.46 GoogleNet [50] 93.60 Pseudo-CNN + Weight Initialized Adaptive Window [51] 93.92 Alexnet [52] 92.60 ResNet50 + KNN [53] (Binary classification) 95.88 Ensemble approach of CNN [54] 97.84 Proposed ResNet 95.36 including cuts, colors, holes, threads, and metal contamination from the MVTec Anomaly Detection dataset were used to train the Alexnet network and the model received 92.60% accuracy.In a study [53], a comparison of four CNN networks was presented to detect if the surface is defective or not.Among CNN, VGG16, ResNet50 and Inception network, ResNet50 performed well with 95.88% classification.Zhao et al. [54] used an ensemble approach to improve the classification rate of fabric defects.A subset of the Tilda dataset i.e.Germal Tilda dataset was used to validate the network and it received 97% and 96% precision and recall rate respectively and the cost of computation is large due to integration of the Densenet, Inception and Xception networks.The accuracy of the network and individual classification rate were not presented in the work. Model The proposed model covers four different types of defects from dataset 1 that resemble the presence of objects and threads and ten defects from dataset 2. These defects are challenging to classify, but the model uses coarse features from the convolutional layer and finegrained features from the residual layers to distinguish between them.As a result, the proposed model achieves higher or similar accuracy without requiring any preprocessing or additional feature extraction process.The weakness of dataset 2 is that each defect has unique texture background therefore model showed 100% accuracy. Conclusions This article presents an automated approach for classifying challenging fabric defects.The method involves using a deep neural network to classify defects from dataset-1 (roboflow-based fabric dataset containing four defect types) and dataset-2 (10 defects).One of the most ambiguous defects is oil spots, which can appear similar to other flaws on the fabric surface.Thus, the dataset is augmented with image processing techniques to provide more images.The augmentation allows a pre-trained ResNet network to be tuned effectively to differentiate between these challenging defect types.The residual layer of the network provides fine-grained details of texture patterns, allowing the network to identify subtle variations, irregularities, or inconsistencies within the texture pattern more precisely. Conclusions The proposed model has exhibited the following capabilities: (a) It can accurately classify with high specificity, resulting in low false recognition compared to state-of-the-art models.(b) Based on experimental results, the proposed network achieved an average accuracy of 95.36% and 95.35% F1-score for complex patterned cloths of dataset-1 and 100% accuracy for dataset-2.(c) The proposed method is more resistant to various sorts of printed materials.(d) The convolution neural network can distinguish between four types of defects.In the future, we plan to adopt a hybrid approach using a CNN to further improve the accuracy and validate the model with various datasets.Dataset 2 can be modified by generating synthetic images of various defects with similar textured backgrounds and further testing of the network is expected.Additionally, the model requires further optimization to meet the needs of the fabric industry. Fig. 1 . Fig. 1.Structure of residual layer in the ResNet architecture. Fig. 2 . Fig. 2. Flowchart of the use of the pretrained ResNet50 network for defect classification. Algorithm 1 7 : using a piecewise function.Let represent the initial learning rate.It determines the starting point of the learning rate schedule. represents the learning rate drop factor.It determines how the learning rate is reduced during the training process.The learning rate is multiplied by beta every LearnRateDrop Period epoch.We can find the best values that minimize the classification error on the test set by optimizing these and parameters during the cuckoo search optimization.The pseudocode to optimize and of the network using the cuckoo search algorithm is presented in Algorithm-1.Cuckoo search based hyperparameter optimization of ResNet 1: Define range of and 2: Initialize fitness function = _(, , , ) 3: Generate initial host nests 4: Evaluate fitness function 5: Find the best nest and best fitness function 6: while < _ do Generate new host nests using Levy flight 8: Evaluate fitness function using new nests 9: if > then 10: Update best nests and best fitness function 11: Fig. 3 . Fig. 3. ResNet50 for feature extraction. Fig. 4 . Fig. 4. Sample images of fabric defects dataset (a) hole, (b) object, (c) oil spot, and (d) thread error in fabric. Fig. 5 . Fig. 5. Sample images of three defects from DGAM dataset. Fig. 6 . Fig. 6.Training images (70%) used in the experiment from dataset-1. Fig. 7 . Fig. 7. Validation images (30%) used in the experiment from dataset-1. Fig. 8 . Fig. 8. Training images (70%) used in the experiment from dataset-2. H .Mewada et al. Fig. 9 . Fig. 9. Validation images (30%) used in the experiment from dataset-2. Fig. 10 . Fig. 10.Accuracy and loss variation over the epochs for the train and validation subsets from dataset-1. Figs. 10 and 11 shows the accuracy and loss over the epoch for both the training and validation sets.The model achieved 100% accuracy for the train subset and 95.36% accuracy for the validation subset for dataset-1.For dataset-2, model received 100% accuracy.Fig. 12 displays confusion matrices that validates the model's performance.It provides insights into which classes were predicted successfully and flags any potential faults with the classifier.The results show that the model effectively predicted the defects, with the lowest Fig. 11 . Fig. 11.Accuracy and loss variation over the epochs for train and validation subsets from dataset-2. Fig. 11 . Fig. 15 plots the result over the original image with transparency to see which areas of the image contribute most to the classification score. H .Mewada et al. Fig. 12 . Fig. 12. Confusion matrix for dataset-1 and dataset-2. Fig. 13 . Fig. 13.Sample images where the model fails to predict. Fig. 14 . Fig. 14.ROC curve . Fig. 15 . Fig. 15.Grad-CAM for sample images (left) original image (right) Grad-CAM of image showing important region. Table 1 Publicly available dataset. Table 2 Top 10 classes with the most ambiguity. Table 3 Prediction results analysis for each defect individually from dataset-1. Table 4 Overall model prediction results in analysis from the confusion matrix for dataset-1. Table 5 Comparison of the deep networks. Table 6 Comparison with state-of-art fabric defect classification models.

섹션 본문 82문단 · 42,874자

(제목 없음)

1Fabric defects can significantly impact the quality of a textile product.By analyzing the types and frequencies of defects, manufacturers can identify process inefficiencies, equipment malfunctions, or operator errors.Although deep learning networks are accurate in classification applications, some defects may be subtle and difficult to detect, while others may have complex patterns or occlusions.CNNs may struggle to capture a wide range of defect variations and generalize well to unseen defects.Discriminating between genuine defects and benign variations requires sophisticated feature extraction and modeling techniques.This paper proposes a residual network-based CNN model to enhance the classification of fabric defects.A pretrained residual network, ResNet50, is fine-tuned to classify fabric defects into four categories: holes, objects, oil spots, and thread errors on the fabric surface.The fine-tuned network is further optimized via cuckoo search optimization using classification error as a fitness function.The network is systematically analyzed at different layers, and the investigation of classification results are reported using a confusion matrix and classification accuracy for each class.The experimental results confirm that the proposed model achieved superior performance with 95.36% accuracy and a 95.35% F1 score for multiclass classification.In addition, the proposed model achieved higher accuracy with similar or fewer trainable parameters than traditional deep CNN networks.

Introduction

2The textile industry has large-scale production with complicated processes.A fault on the surface of a manufactured cloth is referred to as a fabric defect.There are many fabric flaws, most of which result from manufacturing or equipment errors.In addition, defective yarns or machine spoilage might result in flaws.Each aspect has a unique impact and significantly decreases the fabrics' sales and usability.Fabric defect classification is crucial for maintaining product quality, reducing costs, ensuring consumer safety, improving driving processes, meeting regulatory requirements, and facilitating effective supplier management.Fabric defects can significantly impact the quality of a textile product.Defective fabrics can result in waste and increased production costs.The faults in the earlier stage of the fabric production process hurt the later stage.Fabric defect classification provides valuable insights into the manufacturing process.Manufacturers can identify root causes by accurately classifying defects and taking appropriate corrective actions.This can lead to reduced material waste, improved production efficiency, and cost savings.Identifying the defects can ensure that however, they significantly affect the effectiveness of classification.Finding an optimum value of these hyperparameters is a significant and challenging task.These hyperparameters can be categorized as integer, continuous, or mixed according to their value type assignments.The gradient algorithm is primarily used for continuous-type hyperparameter optimization.Most researchers use evolutionary algorithms based on particle swam [5] and genetic algorithms [6] for hyperparameter optimization.However, nearly no analogous techniques for mixed hyperparameter optimization problems exist, except for Optuna [7], a built-in hyperparameter optimization algorithm in Python that has just begun to be utilized to address deep learning hyperparameter optimization issues.Given that the CS algorithm has demonstrated superior performance to other intelligent evolutionary algorithms and has proven helpful in solving a wide range of optimization issues [8], this research utilizes the cuckoo search method for hyperparameter optimization.

3This paper presents a new approach using a deep convolution network.Texture patterns can exhibit intricate and subtle details that are crucial for accurate classification.ResNets excels at capturing finegrained information due to its deep architecture.By stacking multiple residual blocks, ResNet can learn hierarchical representations of texture patterns, progressively capturing low-level and high-level features.It helps the network understand and discriminate between different texture patterns, even those with subtle variations.Therefore, a new approach using the ResNet architecture is presented in this paper.The ResNet architecture is pretrained using the ImageNet dataset.Thus, the network's learning rate, number of filters, and size are fixed according to the training experience from ImageNet feature sets.The learning rate and drop factors are optimized using the cuckoo search algorithm to fit this network well for our defect classification problem.The proposed network is analyzed in depth, examining the results at different layers.A well-established comparison with various literature demonstrating the strength of the proposed network is presented.The proposed network is analyzed in detail, and the results at different layers are examined.A well-established comparison with various literature reports demonstrating the strength of the proposed network is presented.The contributions of the paper are as follows:

4• A high diversity in size, shape, texture, and appearance of defects in the fabric makes it challenging to classify.We presented a deep CNN, ResNet, to classify defects in these challenging environments.A ResNet network providing intricate features and textures to discriminate defects well is presented to classify defects in fabrics with texture patterns.• A limited data size creates a risk of overfitting, and the network fails to be generalized well.Therefore, we augmented the datasets by presenting autoorientation and flipping images horizontally and vertically.The fabric could be skewed in either direction during the data collection process.Thus, random autoorientation along with vertical and horizontal flipping increases the variation in the position and orientation of the defect over the surface.It combats the overfitting problem of the network.Initially, the network's performance for each defect is individually presented, and later, the model's overall performance is presented.The study also shows where the model finds ambiguity in the classification.It provides insights into the specific patterns or instances that lead to misclassifications.By examining the misclassified samples, common characteristics, challenging scenarios, or classes that are prone to confusion can be identified.This analysis helps in understanding the model's limitations and weaknesses and guides improvements.• Finally, a comprehensive comparative analysis with state-of-theart networks is presented using the accuracy, F1-score, top-10 ambiguity score, and learnable parameters of the network.

5Overall, the structure of the paper is as follows: The relevant works are presented in Section 2, and the suggested model is presented in Section 3. The analytical findings are presented in Section 4. Finally, Section 5 summarizes them with feature scopes.

Literature review

6Most literature findings are focused on whether fabric is defective or not.Therefore, most dataset developed by the researchers was categorized into two classes e.g.defective and non-defective and its annotation by localizing the defect was provided.A limited dataset provides a classification of defect types.The study of these private datasets was presented well in [9].Table 1 summarizes the dataset available publicly with its characteristics.This study uses optical images presented in [10,11].

7The rapid growth in computer vision and image processing algorithms and advancements in machine learning techniques have replaced manual defect detection and classification with autonomous approaches.Upon fabric inspection, numerous faults are discovered, including drop stitches and color shading variance [16,17].The defect detection techniques can be classified into statistical, structural, model-based, and learning-based techniques [18].Statistical methods extract features that determine similarity and regularity using the mean and variance from an image plane [19].The sparse approximation using image patches and its dictionary formation can minimize the features in image classification [20].A similar approach to fabric flaw detection was presented in [21].These approaches are ineffective for low-contrast and patterned fabric images.The spectral methods used frequency domain approaches, i.e., Fourier transform, wavelet transform [22,23], local binary pattern [24], and gray-level co-occurrence matrix [25], to obtain spectral features from textured regions.Modelbased algorithms, i.e., Gaussian mixture model [26], are not robust and depend primarily on data.Therefore, this paper focuses on machine learning-based algorithms.

8An active contour can segment the desired region, and if the edges of the regions are enhanced well, the active contour can provide accurately segmented regions [27].Bumrungkun [28] extracted edge features using active contour, and subsequently, a support vector machine (SVM) was used to classify five defect types.This method fails for images with poor brightness and contrast.In Ref. [29], an Inception v3 model was used to extract features from texture fabric images.Later, a machine learning model was optimized and trained using these features for the classification and presented an improvement of 6% in classification compared to traditional CNNs.A binary classification approach, i.e., defective vs nondefective fabric, was presented in [30].They segregated the feature extraction and classification models using convolution features from CNN and SVM as a classifier.They observed that ResNet18 with SVM performed better, with a 94.66% classification rate.Meeradevi et al. [31] presented a review study of 79 research papers on detecting fabric defects and shade variation.They found that the deep learning model performed best among all traditional and machine learning models.

9A convolution model is adopted using a separable convolution process in the CNN network; the fabric defect location is identified in [32], and their model achieved 98.01% segmentation accuracy.However, the type of defect is not classified in their model.Furthermore, a binary classification model using a depthwise separable convolution network was presented by Chen et al. [33].An Xception network was adopted and tested on their dataset containing defective and nondefective fabrics.However, their model accuracy was limited to 93.57% for binary classification.Zhao et al. [34] adopted the VGG16 network by adding a squeezeand-excitation and SSD module.The course features were obtained using the squeeze operation on convolutional features, and later, the weights of layers were determined using the excitation operation.A comparison with MobileNetV3 and EfficientNet was presented for multiclass classification with an average accuracy of 81.7%.Using the transfer learning method, a pre-trained VGG16 network was tuned and features were extracted from fabric surfaces.They reduced the future size using principle component analysis.A CNN network adopted replacing the softmax layer with a moth flame-optimized parallel chaotic search (PCS) algorithm.The author showed that this model detected defective fabric accurately for regular patterned fabrics, unpatterned fabrics and irregularly patterned fabrics [35].Guo et al. [36] presented a YOLOv5 network with 95% accuracy to detect defects of lines and holes in fabric surfaces using their dataset.Their model performs well if the image of the fabric is clear.Otherwise, it fails to detect and classify the defect.A tiny YOLO network was presented in [37] to use onedge devices for binary classification, and the model achieved superior results of 99%.

10The Cascade R-CNN technique is the foundation of a fabric defect detection dataset in [38], and three tricks are presented to improve the precision of the detection algorithm.Initially, they used a multiscale approach for training the network.Then, dimension clustering was applied to the dataset, and the model was trained.The defect size (i.e., a box of width and height) from the images was adjusted before training in dimension clustering mode.Finally, a nonmaximum method was used to preprocess the dataset, and the model was trained using these new datasets.They performed binary classification, i.e., defective and nondefective fabric classification.The results were evaluated using the intersection of union parameters.Another cascaded approach integrating a faster R-CNN network with a feature pyramid network was presented in [39].The feature pyramid network allows shallow features with deep features of R-CNN, improving the semantic segmentation of defect location with 95% precision.In addition, the type of defect was also retrieved from the segmented region, but the classification accuracy was not investigated.

11A lightweight CNN can easily fit to mobile platforms and allows its use in resource-constrained devices [40].A lightweight CNN requiring fewer learnable parameters was presented and compared with VGG16, MobileNetV2, and EfficientNet to classify fabric surface images as either defective or not [41].They validated the model with their datasets and presented a 99% F1-score.State-of-the-art comparisons are limited to standard CNNs.A similar fabric defect detection model using the CNN network was presented by Huang and Xiang [42], where the CNN model was used to obtain features of repetitive patterns of the fabric, and later semantic segmentation was used using the Ghost network.An IoU measurement of 77% was presented for detecting fabric defects using the Tilda dataset.Liu et al. [43] also proposed a binary classification approach by optimizing the VGG16 neural network.However, the network is manually optimized by visualizing the features.Lin et al. [44] focused on defect classification for multicolor fabric.They preprocessed images using various filtering methods, a CNN transferlearning approach was used, and the model was trained to detect defects.However, they validated the model with limited raw data and without external data.

12In Ref. [45], the authors checked the performances of seven feature sets and three machine learning-based classifiers, namely, KNN, SVM, and decision tree on the Tilda dataset.A total of six defects were classified using these models.Overall, KNN performed better, with an average accuracy of 90.2%.A defect detection and classification model using two stages was presented in [46].Initially, the U-Net network was used to determine whether defects existed in the images of the AITEX dataset.Later, the VGG16 network and random forest algorithm were used to classify defects in the defective fabric.Although the model detection accuracy is high, the classification rate is relatively low, and the model fails to classify nep and cut salvage defects.

13The study showed that deep CNNs are widely used in fabric defect identification, and most studies have detected the presence of fabric defects and their location, irrespective of the type of defect.Among all networks, the YOLO network achieved superior accuracy in detecting defective fabrics.A limited number of studies have presented classifications among the types of defects.However, the lack of detailed results analysis of these models is a common weakness for these models.

Overall structure of the proposed model

14Deep learning-based models are frequently used for image classification tasks and have exhibited their efficacy by producing outstanding results in many varied use cases.The main challenge in fabric defect classification is its background.In the presence of a textured background, global as well as, local features also participate in the classification.But traditional CNNs use global features only and therefore, they might underperform in fabric defect classification.This section develops a deep CNN model that can automatically identify subtle defects in fabric from fabric surface images.A defect in the fabric can be treated as a violation of patterns on the surface.Detecting violations in texture patterns can be effectively achieved by leveraging fine-grained details.Texture patterns often exhibit specific regularities and structures.Any deviation or violation from these patterns can indicate a defect or anomaly.Fine-grained details enable the detection of subtle variations, irregularities, or inconsistencies within the texture pattern.By analyzing intricate elements and small-scale features, such as texture gradients, local textures, or pixel-level variations, it becomes possible to identify deviations that may not be apparent at a coarser level of analysis.Fine-grained details provide a level of granularity that allows for the precise localization and characterization of texture pattern violations, facilitating the detection of defects or abnormalities on the fabric surface.

15The proposed model uses a residual network for subtle defect classification from the fabric surface.ResNet's key innovation lies in introducing residual connections, which allow the network to learn residual mappings.By incorporating skip connections that bypass specific layers, ResNet enables the direct flow of gradients to earlier layers during training, effectively addressing the vanishing gradient problem.Fig. 1 shows the residual layer connection where the lower branch processes the features from the previous layer and the upper branch passes the features without any processing.The subtraction of the lower and upper branch features provides the residual features, i.e., fine-grained details.

16A function () can be expressed using the input features and weights in layers.Therefore, the output of the ResNet structure is expressed as

17In this equation,

18• represents input to the residual layer,

19• (, ) denotes the residual mapping, which is a sequence of convolutional layers with weights .• The output of the residual block is represented by .

20• The ''+'' operation indicates elementwise addition.

21The residual mapping (, ) can be further decomposed as follows:

22In this decomposition:

23• denotes a nonlinear activation function, such as ReLU.

24• 1 and 2 are learnable weights associated with the convolutional layers.

25Overall, the ResNet architecture consists of stacking multiple residual blocks together.Each residual block performs a residual mapping (, ) and adds the input to the mapping output, resulting in the transformed output .This formulation allows the network to learn the residual information effectively and facilitates the training of deeper neural networks.

26This architectural design empowers ResNet to capture intricate and subtle details in the data, making it particularly well-suited for tasks that require fine-grained analysis, such as texture classification and object detection.The residual connections enable the network to focus on learning the incremental changes or deviations from the input data, leading to more efficient parameter optimization and improved performance in capturing fine details.The depth of ResNet, achieved through stacking multiple residual blocks, allows for the hierarchical learning of features, enabling the network to extract and exploit both low-level and high-level information progressively.The depth of ResNet plays a crucial role in its ability to extract both low-level and highlevel information.By stacking multiple residual blocks, ResNet creates a deep architecture that captures increasingly complex patterns and features.As information flows through the layers of a deep ResNet, each layer learns to extract and represent specific features at different levels of abstraction.The initial layers capture low-level details such as edges, corners, and textures, while the subsequent layers build upon these representations to capture more abstract and high-level features.This hierarchical learning enables the network to understand the data at multiple scales and levels of complexity.

27ResNet's skip or residual connections facilitate the smooth propagation of gradients throughout the network, allowing for adequate information flow and gradient updates during training.It enables deep ResNet models to be trained successfully and prevents the degradation problem that can occur with very deep networks.By leveraging the depth of ResNet, the network can capture and combine features from different layers, allowing for the integration of low-level and highlevel information.This ability to extract and combine features from various depths enables ResNet to capture fine-grained details while also capturing global context and semantic information.The deep architecture of ResNet thus contributes to its capacity to learn and represent a wide range of features, making it highly effective in tasks that require extracting both low-level and high-level information, such as image recognition, object detection, and semantic segmentation.

28Fig. 2 shows the flowchart of the proposed system.ResNet50 has deeper layers, requires less training time than does the ResNet34 architecture, and has significantly fewer trainable parameters than do the ResNet101 and ResNet152 networks.Therefore, a pretrained ReseNet50 architecture, which is trained using the ImageNet dataset, is used, and this network is retrained using the fabric defect dataset.Initially, the weight parameters of the pretrained ResNet50 network are obtained to release the original fully-connected layer.Then, the fully connected layer is replaced with a layer designed for four-class classification.Once the model is compiled successfully, the model is retrained using a fabric dataset to tune the model for defect classification.A data augmentation and k-fold classification approach is used, which suppresses the overfitting problem of the network.The experimental results obtained using this network are discussed in the next section.

Hyperparameter optimization using the cuckoo search algorithm

29Hyperparameters and parameters significantly impact the performance of a CNN.Backpropagation algorithms are mostly used to optimize weights and biases of CNN networks with an objective function of minimizing a loss function.They may suffer from issues like getting stuck in local optima or the curse of dimensionality.In such cases, metaheuristic algorithms like Cuckoo Search provide an alternative by exploring the search space in a non-gradient-based manner, potentially overcoming these limitations.The cuckoo search efficiently explores large search space and therefore, it can find optimal or nearoptimal combinations of hyperparameters in comparison to gradientbased methods.By applying cuckoo search (CS), we can discover novel ResNet architecture that may have superior performance or efficiency compared to manually designed architectures.

30The CS algorithm emulates the search behavior of cuckoos in nature as they seek the best nest for incubating their eggs.The cuckoo in the algorithm selects nests of better quality to nurture its eggs and enhances nests of lower quality.The key feature of this optimization process is that the cuckoo employs the Levy flying mode and continuously refers to the optimum nests discovered thus far to create a very efficient optimization strategy.We used the cuckoo search algorithm to find the optimum value of the learning rate and its drop factor.

31The learning rate determines the step size at which the optimization algorithm updates the neural network weights during training.A high learning rate can cause the optimization process to converge quickly but may overshoot the optimal solution.On the other hand, a low learning rate can help the optimization process converge more accurately but may take a more time.The learning rate schedule adjusts the learning rate over time to strike a balance between convergence speed and accuracy.The learning rate typically decreases gradually as training progresses.The code implements the learning rate schedule Randomly replace some nests with new random solutions 13: end while 14: Post process the results

Feature extraction

32The ResNet-50 network comprises an input layer, five stages of 49 convolutional layers, and an output layer.The five stages contain one convolutional layer and four residual layers, as shown in Fig. 3.As seen in Fig. 3, each stage comprises multiple residual blocks of varying sizes and widths.Stage 1 extracts a feature map from the input image using a 7 × 7 convolutional filter, and this stage employs 64 convolutional filters, each of which executes a convolutional computation on the input image.The stride value is set to 2, the interval between which the convolution filters are applied to the input image without overlapping.Thus, the filter moves by two pixels, and the size of the output feature map is calculated by dividing the size of the input picture by the stride value.This stage generates 64 feature maps.

33Stage 2 has a residual block with the size shown in Fig. 3.The downsampling of the image by 4 in this stage generates 256 feature maps.This downsampling process allows large-size filters in subsequent stages, improving the network's performance by allowing it to process more data.The first layer in this segment has a convolutional layer of size 1 × 1 that increases the number of channels of the feature map size from 64 to 256.To maintain a constant channel number, a 3 × 3 convolutional layer is employed.Furthermore, the 1 × 1 convolutional layer expands the size of the feature map to 256.The presence of the residual layer in this stage extracts the fine-grained information using skip connections and features from the previous layer.

34Stage 3 reduces the size by 1/8.Thus, a 1 × 1 convolution is employed initially to limit the number of channels of the input data to 128.The feature map is then processed with a 3 × 3 convolution, reducing the number of output channels back to 128.The output channels are then increased to 512 using a 1 × 1 convolution.It reduces the size of the input data by 1/8, resulting in a total of 128 feature maps.Stage 3 shrinks the input data while expanding the feature map size.As a result, the model can extract more diverse and complex information from the input image.

35Stage 4 has three residual layers.The first layer of the 1 × 1 convolutional operator reduces the number of channels in the input feature maps.Again, the channel numbers increase using the remaining 3 × 3 and 1 × 1 convolution operations.The final output is obtained using a residual connection, which adds the output feature map to the input feature map.Various features are taken from the input feature map throughout this procedure, resulting in a more sophisticated feature map.The feature map created in stage 4 is 14 × 14 in size and has 1024 channels.Downsampling converts the 14 × 14 feature map created in stage 4 to a 7 × 7 feature map.Using two convolution layers and max pooling, the size of the feature map is halved with a stride of 2 × 2. The generated 2048-channel feature map is then used to create a one-dimensional vector by calculating the average value for each channel via average pooling.Pooling is used to decrease the number of optimization parameters.Similarly, the feature map is processed using the convolution operation in stage 5. Finally, feature maps are passed through average pooling, dense layers, and fully connected layers, generating the probability of class prediction.

Experiment results and analysis

36The Resenet model is used and retrained for the two datasets.The first fabric dataset from Roboflow [10] is used to test the proposed model.This dataset includes 2441 images for all types of defects, including holes, objects, oil spots, and thread errors.Fig. 4 shows a sample image of surface defects from the dataset.The second dataset DAGM 2007 [11] providing ten defects each with a different textured background is used.The dataset-2 contains 1950 images with 150 images for 8 classes and 300 images for remaining two classes.The sample images of three classes are shown in Fig. 5.

37From the total images, 70% of the images are used to train the model, and 30% of the images are reserved for testing the model.Figs.6-9 visualize the images used to train and validate the models during the experiments.

38A considerable discrepancy in the dataset's image size and total number of images will result in a data imbalance problem, leading to model overfitting.Simultaneously, if it is used to train hardware constraints, the initial image resolution will increase, and the computational burden during training will increase.As a result, before model training, the training data must be preprocessed.Therefore, the following preprocessing is applied to each image:

39• Auto-orientation of the pixel data (with EXIF-orientation stripping) • Resize to 640 × 640 Furthermore, to increase the size of the images during the training process, the following augmentation was applied to create 3 versions of each source image:

40• 50% probability of horizontal flip • 50% probability of vertical flip • Random rotation between −15 and +15 degrees It is necessary to adjust the network's hyperparameters to prevent overfitting during training to improve the model's classification rate.In a convolutional network, the top layers extract more general features, such as outlines or shapes, while the bottom layers extract more specific features, such as edges, textures, and colors.In this study, the top layers of the network were kept and retrained to retain course features relevant to defect features.The training and validation accuracy and loss were monitored for each epoch to prevent overfitting problems.A decrease in the accuracy of the validation data indicates the occurrence of overfitting.Therefore, an early stop and data augmentation are adopted to prevent this issue.The network training will be stopped if the validation accuracy is not optimized after 15 epochs of training.

41To optimize the two hyperparameters, the learning rate and its drop factors were initialized to [0.001, 0.9], and the intervals for these parameters were = [0.0001,0.01] and = [0.1,0.99].The number of filters and filter size are kept constant from the pretrained model.classification rate for fabric defects compared to that for other defects for dataset-1.However, 12 images were misclassified as another defect type.Fig. 13 showcases a few sample images that were classified negatively by the network.These images are complex to classify, and even manual classification can lead to errors in prediction.The receiver operating characteristic (RoC) plot displayed in Fig. 14 helps analyze the model's overall response.The RoC curve illustrates the trade-off between the true positive rate (sensitivity) and the false positive rate (1 -specificity) at various classification thresholds.The RoC plot covers a 96% area under the curve, indicating that the model's performance is better.For dataset-2, model received 100% accuracy.The dataset-2 has variation in the textured background and therefore, it identifies the pattern well.The main limitation of this dataset is that it does not contain defect variation with a similar textured background which makes it challenging for classification.

42The model is analyzed in detail for dataset-1, observing the ten classes those are most difficult for the model to classify accurately.These classes represent the areas where the model exhibited the highest level of uncertainty or confusion.Table 2 shows the model's ambiguity, in which it observed the oil spot defect but likely with a defect of the object type.The model predicted well, but the thread error defect was misclassified as an object.The quantitative analysis of the model was performed by calculating its classification accuracy, precision, specificity, and F1 score for each defect, as well as overall.Tables 3 and 4 present the detailed results of this analysis.

43To understand more about network prediction for dataset-1 and to check that the proposed network focuses on the right region within image to identify the type of defect, a gradient-weighted class activation mapping (Grad-CAM) map of images was plotted.Grad-CAM provides a heatmap-like visualization that highlights the important regions in the input image.Accuracy is a widely used measure that evaluates the overall correctness of a classifier's predictions.It computes the proportion of accurate predictions (true positives (TP) and true negatives (TN)) to the total number of instances (N) in the dataset.The accuracy is expressed as a percentage, where higher values indicate better performance.

44Precision is calculated by dividing the total number of true positives by the total number of instances predicted as positive (including both true and false positives).In simpler terms, precision provides insights into how effectively the classifier can avoid false positive errors.

𝑃 𝑟𝑒𝑐𝑖𝑠𝑖𝑜𝑛 =

45+ (4) When evaluating a classifier's performance, specificity measures its ability to identify negative instances correctly.It is calculated by dividing the number of true negatives by the total number of instances predicted as negative (true negatives plus false positives).Specificity complements precision by focusing on the true negative rate.A higher specificity indicates a lower rate of false negatives, meaning that the classifier can accurately identify negative instances.In simpler terms, the specificity metric tells us how well a classifier can identify instances that do not belong to a specific class, helping us to ensure that negative cases are not falsely labeled as positive.

𝑆𝑝𝑒𝑐𝑖𝑓 𝑖𝑐𝑖𝑡𝑦 =

46+ (5) The F1 score is a harmonic mean of precision and recall (also known as the sensitivity or true positive rate).It provides a balanced measure of the classifier's performance, considering false positives and negatives.Table 3 shows that the model is well-balanced and classifies each defect well.The specificity score is larger than the precision score, indicating that negative defects were classified well compared to false predictions.The overall model achieved 95.36% classification accuracy for all defects with a 4.64% error rate as shown in Table 4.

47The proposed model results are validated by comparison with those of traditional CNN models, including the VGG16, ResNet50, and Xception networks in Table 5.The comparison shows that the proposed ResNet model performed better among all networks.

48Finally, a comparison with state-of-the-art methods using deep networks is presented in Table 6.

49A two-stage model using Inception 3 and a back propagation neural network (BPNN) was presented in [47].In the first stage, an inception model was used for feature extraction, and in the second stage, the BPNN network was optimized using the Moath Flame optimization technique and used for classification.This method was tested on a dataset containing two types of defects, including holes and lines (horizontal and vertical) in fabric.However, the algorithm testing was limited to horizontal and vertical lines only.

50Zhan et al. [48] approached the issue of imbalanced image distribution in a dataset by splitting the training set into support and query sets.The model was first trained using the support set and then fine-tuned using the query set.This technique resulted in the highest classification accuracy of 96.04% among the GoogleNet, ResNet, ResNetPreAct, and DenseNet networks.In [49], pretrained GoogleNet was proposed to classify woven fabric defects into six categories: holes, dark threads, spots, thread defects, switches off, and floods.The authors extracted features using GoogleNet, preprocessed images by histogram equalization and Gaussian filtering, and detected the fault location using the Fourier spectrum.Deep features from GoogleNet were then used to classify the flaws, achieving 94.46% accuracy.

51In [50], a GoogleNet network was used to classify the defects from fabric surface images.They used a subset of Tilda Dataset i.e. woven fabric dataset in their experiment.The preprocessed images using Gaussian filter and Fourier transform.Later edge features are used to train GoogleNet for classification.In [51], the author created a dataset with images having regular texture regions.They categorized images into five defect types.They filtered noise from images using a Gaussian filter and pseudo-CNN.Later modified VGG network was used to classify defects.Their network has 62 Million learnable parameters and its classification rate was 93.92%.In [52], the five types of defects

Model

52Accuracy (%)

53Few-shot learning [48] 96.04 Fourier Spectrum + GoogleNet [49] 94.46 GoogleNet [50] 93.60 Pseudo-CNN + Weight Initialized Adaptive Window [51] 93.92 Alexnet [52] 92.60 ResNet50 + KNN [53] (Binary classification) 95.88 Ensemble approach of CNN [54] 97.84 Proposed ResNet 95.36 including cuts, colors, holes, threads, and metal contamination from the MVTec Anomaly Detection dataset were used to train the Alexnet network and the model received 92.60% accuracy.In a study [53], a comparison of four CNN networks was presented to detect if the surface is defective or not.Among CNN, VGG16, ResNet50 and Inception network, ResNet50 performed well with 95.88% classification.Zhao et al. [54] used an ensemble approach to improve the classification rate of fabric defects.A subset of the Tilda dataset i.e.Germal Tilda dataset was used to validate the network and it received 97% and 96% precision and recall rate respectively and the cost of computation is large due to integration of the Densenet, Inception and Xception networks.The accuracy of the network and individual classification rate were not presented in the work.

54The proposed model covers four different types of defects from dataset 1 that resemble the presence of objects and threads and ten defects from dataset 2. These defects are challenging to classify, but the model uses coarse features from the convolutional layer and finegrained features from the residual layers to distinguish between them.As a result, the proposed model achieves higher or similar accuracy without requiring any preprocessing or additional feature extraction process.The weakness of dataset 2 is that each defect has unique texture background therefore model showed 100% accuracy.

Conclusions

55This article presents an automated approach for classifying challenging fabric defects.The method involves using a deep neural network to classify defects from dataset-1 (roboflow-based fabric dataset containing four defect types) and dataset-2 (10 defects).One of the most ambiguous defects is oil spots, which can appear similar to other flaws on the fabric surface.Thus, the dataset is augmented with image processing techniques to provide more images.The augmentation allows a pre-trained ResNet network to be tuned effectively to differentiate between these challenging defect types.The residual layer of the network provides fine-grained details of texture patterns, allowing the network to identify subtle variations, irregularities, or inconsistencies within the texture pattern more precisely.

56The proposed model has exhibited the following capabilities: (a) It can accurately classify with high specificity, resulting in low false recognition compared to state-of-the-art models.(b) Based on experimental results, the proposed network achieved an average accuracy of 95.36% and 95.35% F1-score for complex patterned cloths of dataset-1 and 100% accuracy for dataset-2.(c) The proposed method is more resistant to various sorts of printed materials.(d) The convolution neural network can distinguish between four types of defects.In the future, we plan to adopt a hybrid approach using a CNN to further improve the accuracy and validate the model with various datasets.Dataset 2 can be modified by generating synthetic images of various defects with similar textured backgrounds and further testing of the network is expected.Additionally, the model requires further optimization to meet the needs of the fabric industry.

Fig. 1 .

57Fig. 1.Structure of residual layer in the ResNet architecture.

Fig. 2 .

58Fig. 2. Flowchart of the use of the pretrained ResNet50 network for defect classification.

Algorithm 1 7 :

59using a piecewise function.Let represent the initial learning rate.It determines the starting point of the learning rate schedule. represents the learning rate drop factor.It determines how the learning rate is reduced during the training process.The learning rate is multiplied by beta every LearnRateDrop Period epoch.We can find the best values that minimize the classification error on the test set by optimizing these and parameters during the cuckoo search optimization.The pseudocode to optimize and of the network using the cuckoo search algorithm is presented in Algorithm-1.Cuckoo search based hyperparameter optimization of ResNet 1: Define range of and 2: Initialize fitness function = _(, , , ) 3: Generate initial host nests 4: Evaluate fitness function 5: Find the best nest and best fitness function 6: while < _ do Generate new host nests using Levy flight 8: Evaluate fitness function using new nests 9: if > then 10: Update best nests and best fitness function 11:

Fig. 3 .

60Fig. 3. ResNet50 for feature extraction.

Fig. 4 .

61Fig. 4. Sample images of fabric defects dataset (a) hole, (b) object, (c) oil spot, and (d) thread error in fabric.

Fig. 5 .

62Fig. 5. Sample images of three defects from DGAM dataset.

Fig. 6 .

63Fig. 6.Training images (70%) used in the experiment from dataset-1.

Fig. 7 .

64Fig. 7. Validation images (30%) used in the experiment from dataset-1.

Fig. 8 .

65Fig. 8. Training images (70%) used in the experiment from dataset-2.

H

66.Mewada et al.

Fig. 9 .

67Fig. 9. Validation images (30%) used in the experiment from dataset-2.

Fig. 10 .

68Fig. 10.Accuracy and loss variation over the epochs for the train and validation subsets from dataset-1.

Figs. 10

69and 11 shows the accuracy and loss over the epoch for both the training and validation sets.The model achieved 100% accuracy for the train subset and 95.36% accuracy for the validation subset for dataset-1.For dataset-2, model received 100% accuracy.Fig. 12 displays confusion matrices that validates the model's performance.It provides insights into which classes were predicted successfully and flags any potential faults with the classifier.The results show that the model effectively predicted the defects, with the lowest

Fig. 11 .

70Fig. 11.Accuracy and loss variation over the epochs for train and validation subsets from dataset-2.

71Fig. 15 plots the result over the original image with transparency to see which areas of the image contribute most to the classification score.

H

72.Mewada et al.

Fig. 12 .

73Fig. 12. Confusion matrix for dataset-1 and dataset-2.

Fig. 13 .

74Fig. 13.Sample images where the model fails to predict.

Fig. 14 .

75Fig. 14.ROC curve .

Fig. 15 .

76Fig. 15.Grad-CAM for sample images (left) original image (right) Grad-CAM of image showing important region.

Table 1

77Publicly available dataset.

Table 2

78Top 10 classes with the most ambiguity.

Table 3

79Prediction results analysis for each defect individually from dataset-1.

Table 4

80Overall model prediction results in analysis from the confusion matrix for dataset-1.

Table 5

81Comparison of the deep networks.

Table 6

82Comparison with state-of-art fabric defect classification models.

참고문헌 45건

  1. Wavelet based methods on patterned fabric defect detection Pattern Recognition · Elsevier BV · 2004 10.1016/j.patcog.2004.07.009
  2. A Novel Structure Tensor Modulated Chan–Vese Model for Texture Image Segmentation The Computer Journal · Oxford University Press · 2014 10.1093/comjnl/bxu143
  3. Application of Gaussian mixture model on defect detection of print fabric Textile Research Journal · SAGE Publishing · 2015
  4. Dictionary Properties for Sparse Representation: Implementation and Analysis Journal of Artificial Intelligence · Science Alert · 2017 10.3923/jai.2018.1.8
  5. Defect detection in textile fabrics with snake active contour and support vector machines Journal of Physics Conference Series · IOP Publishing · 2019 10.1088/1742-6596/1195/1/012006
  6. Optuna 2019 10.1145/3292500.3330701
  7. A Public Fabric Database for Defect Detection Methods and Results Autex Research Journal · De Gruyter Open · 2019 10.2478/aut-2019-0035
  8. Effective textile quality processing and an accurate inspection system using the advanced deep learning technique Textile Research Journal · SAGE Publishing · 2019 10.1177/0040517519884124
  9. Fabric defect recognition using optimized neural networks Journal of Engineered Fibers and Fabrics · SAGE Publishing · 2019 10.1177/1558925019897396
  10. Composite fuzzy-wavelet-based active contour for medical image segmentation Engineering Computations · Emerald Publishing Limited · 2020 10.1108/ec-11-2019-0529
  11. Bag of tricks for fabric defect detection based on Cascade R-CNN Textile Research Journal · SAGE Publishing · 2020 10.1177/0040517520955229
  12. Color difference classification of dyed fabrics via a kernel extreme learning machine based on an improved grasshopper optimization algorithm Color Research & Application · Wiley · 2020 10.1002/col.22581
  13. Real‐time fabric defect detection based on multi‐scale convolutional neural network IET Collaborative Intelligent Manufacturing · Institution of Engineering and Technology · 2020 10.1049/iet-cim.2020.0062
  14. Fabric Defect Segmentation Method Based on Deep Learning IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2021 10.1109/tim.2020.3047190
  15. Ensemble learning-based CNN for textile fabric defects classification International Journal of Clothing Science and Technology · Emerald Publishing Limited · 2021 10.1108/ijcst-12-2019-0188
  16. Fabric defect detection based on feature fusion of a convolutional neural network and optimized extreme learning machine Textile Research Journal · SAGE Publishing · 2021 10.1177/00405175211044794
  17. Improved faster R-CNN for fabric defect detection based on Gabor filter with Genetic Algorithm optimization Computers in Industry · Elsevier BV · 2021 10.1016/j.compind.2021.103551
  18. Defective and nondefective classif ication of fabric images using shallow and deep networks International Journal of Intelligent Systems · Wiley · 2021 10.1002/int.22774
  19. Fabric Defect Detection Using Competitive Cat Swarm Optimizer Based RideNN and Deep Neuro Fuzzy Network Sensing and Imaging · Springer Science+Business Media · 2021 10.1007/s11220-021-00370-2
  20. Multi-Channel Local Binary Pattern Guided Convolutional Neural Network for Breast Cancer Classification The Open Biomedical Engineering Journal · Bentham Science Publishers · 2021 10.2174/1874120702115010132
  21. Automated Fabric Defect Detection and Classification: A Deep Learning Approach Textile & Leather Review · Seniko Studio Ltd · 2021 10.31881/tlr.2021.24
  22. Fabric defect classification using prototypical network of few-shot learning algorithm Computers in Industry · Elsevier BV · 2022 10.1016/j.compind.2022.103628
  23. Identifying defective solar cells in electroluminescence images using deep feature representations PeerJ Computer Science · PeerJ, Inc. · 2022 10.7717/peerj-cs.992
  24. FN-Net: A lightweight CNN-based architecture for fabric defect detection with adaptive threshold-based class determination Displays · Elsevier BV · 2022 10.1016/j.displa.2022.102241
  25. Fabric defect detection based on transfer learning and improved Faster R-CNN Journal of Engineered Fibers and Fabrics · SAGE Publishing · 2022 10.1177/15589250221086647
  26. Classifying fabric defects with evolving Inception v3 by improved L<sub>2,1</sub>-norm regularized extreme learning machine Textile Research Journal · SAGE Publishing · 2022 10.1177/00405175221114633
  27. Fabric defect detection and classification using modified VGG network Journal of the Textile Institute · Taylor & Francis · 2022 10.1080/00405000.2022.2105112
  28. Fabric defect detection based on separate convolutional UNet Multimedia Tools and Applications · Springer Science+Business Media · 2022 10.1007/s11042-022-13568-7
  29. An analytical survey of textile fabric defect and shade variation detection system using image processing Multimedia Tools and Applications · Springer Science+Business Media · 2022 10.1007/s11042-022-13575-8
  30. RPDNet: Automatic Fabric Defect Detection Based on a Convolutional Neural Network and Repeated Pattern Analysis Sensors · Multidisciplinary Digital Publishing Institute · 2022 10.3390/s22166226
  31. Classification of Woven Fabric Faulty Images Using Convolution Neural Network Mathematical Problems in Engineering · Hindawi Publishing Corporation · 2022 10.1155/2022/2573805
  32. An Approach to Fabric Defect Detection using Statistical Methods for Feature Extraction Journal of Physics Conference Series · IOP Publishing · 2022 10.1088/1742-6596/2327/1/012033
  33. Self-Transfer Learning Network for Multicolor Fabric Defect Detection Neural Processing Letters · Springer Science+Business Media · 2022 10.1007/s11063-022-11063-6
  34. Fabric Surface Defect Detection Using SE-SSDNet Symmetry · Multidisciplinary Digital Publishing Institute · 2022 10.3390/sym14112373
  35. Weft-knitted fabric defect classification based on a Swin transformer deformable convolutional network Textile Research Journal · SAGE Publishing · 2022 10.1177/00405175221137010
  36. 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
  37. Determination of various fabric defects using different machine learning techniques Journal of the Textile Institute · Taylor & Francis · 2023 10.1080/00405000.2023.2201978
  38. Real-time textile fabric flaw inspection system using grouped sparse dictionary Journal of Real-Time Image Processing · Springer Science+Business Media · 2023 10.1007/s11554-023-01319-2
  39. Automatic Fabric Defect Detection Method Using AC-YOLOv5 Electronics · Multidisciplinary Digital Publishing Institute · 2023 10.3390/electronics12132950
  40. The effects of fusion-based feature extraction for fabric defect classification Textile Research Journal · SAGE Publishing · 2023 10.1177/00405175231188535
  41. Fabric Defect Detection Using a One-class Classification Based on Depthwise Separable Convolution Autoencoder Journal of Physics Conference Series · IOP Publishing · 2023 10.1088/1742-6596/2562/1/012053
  42. Improved Cuckoo Search Algorithm for Hyper-parameter Optimization in Deep Learning and Its Application in Activity Recognition Research Square · 2023 10.21203/rs.3.rs-3267317/v1
  43. YOLOV4-TinyS: a new convolutional neural architecture for real-time detection of fabric defects in edge devices Textile Research Journal · SAGE Publishing · 2023 10.1177/00405175231202035
  44. Electrocardiogram Signal Classification Using Lightweight DNN for Mobile Devices Procedia Computer Science · Elsevier BV · 2023 10.1016/j.procs.2023.09.081
  45. Detection and Classification of Fabric Defects Using Deep Learning Algorithms Journal of Polytechnic · 2024 10.2339/politeknik.1386458