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

Automatic Textile Stain Detection Using Yolo Algorithm

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

기본 정보

저자
  1. N. Keerthan — Dayananda Sagar Academy of Technology and Management, Karnataka, India
  2. Ushasree — Dayananda Sagar Academy of Technology and Management, Karnataka, India
  3. Priyanka Mohan — Dayananda Sagar Academy of Technology and Management, Karnataka, India
DOI
10.61453/joit.v2024no46
저널
Journal of Innovation and Technology
발행년도
2024
발행기관
–
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.61453/joit.v2024no46
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W4405820872

평가 내용

관련도
간접 관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
(17) 스펀본드 부직포, (3) 자동차 인테리어 소재
R&D 측면
물성·성능 평가
확신도
0.80
근거 용어
textile stain detection, quality control, YOLO algorithm, computer vision, fabric
판단 근거
본 논문은 딥러닝(YOLO)을 이용한 섬유 오염(stain) 자동 검출 기술을 다루고 있으며, 이는 섬유 및 의류 제조 공정의 품질 관리(Quality Control)를 위한 기술입니다.
R&D 활용 포인트
코오롱인더스트리의 산업용 부직포, 자동차 인테리어 소재, 패션 원단 생산 라인에서 AI 비전 검사 시스템을 도입하여 불량률을 낮추고 품질 관리 자동화를 구현하는 데 활용 가능합니다.
평가 입력
본문 15,678자

초록

Automatic textile stain detection is essential for optimizing the quality control process within the textile industry. Traditional hands-on inspection methods are time-consuming, not immune to errors, and expensive. This research paper proposes a novel approach for automatic textile stain detection using the YOLO (You Only Look Once) algorithm, a state-of-the-art object detection model. The proposed system utilizes a YOLOv5 model trained on a diverse dataset of stained textile images to accurately identify and localize stains in real-time. The model's performance is evaluated based on standard metrics such as precision, recall, and mean average precision (mAP). Experimental results Showcase the impact of the YOLO-based approach in achieving high accuracy and efficiency in stain detection, significantly outperforming traditional methods. This research contributes to the advancement of automation in the textile industry, ultimately leading to improved quality control, reduced costs, and enhanced productivity.

본문 15,678자

본문 펼치기
JOURNAL OF INNOVATION AND TECHNOLOGY <u>eISSN:2805-5179 Vol. 2024, No.46</u> # Automatic Textile Stain Detection Using Yolo Algorithm Keerthan N <sup>1*</sup> ., Ushasree <sup>2</sup>, Priyanka Mohan <sup>3</sup> 1,2,3Dayananda Sagar Academy of Technology and Management, Karnataka, India *Email: keerthann18@gmail.com Abstract Automatic textile stain detection is essential for optimizing the quality control process within the textile industry. Traditional hands-on inspection methods are time-consuming, not immune to errors, and expensive. This research paper proposes a novel approach for automatic textile stain detection using the YOLO (You Only Look Once) algorithm, a state-of-the-art object detection model. The proposed system utilizes a YOLOv5 model trained on a diverse dataset of stained textile images to accurately identify and localize stains in real-time. The model's performance is evaluated based on standard metrics such as precision, recall, and mean average precision (mAP). Experimental results Showcase the impact of the YOLO-based approach in achieving high accuracy and efficiency in stain detection, significantly outperforming traditional methods. This research contributes to the advancement of automation in the textile industry, ultimately leading to improved quality control, reduced costs, and enhanced productivity. Keywords Automation, Computer Vision, Object Detection, Textile Stain Detection, YOLO. Introduction The textile industry plays a pivotal role in the global economy, with the production of fabrics and garments encompassing numerous intricate processes. Ensuring the quality of textile products is paramount, and the detection of stains or defects is a critical step in maintaining high standards. Traditionally, stain detection relied on manual Inspection, which is often inefficient and demanding of resources but also Susceptible to mistakes due to fatigue and subjectivity. To address these challenges, automated stain detection systems have emerged as a promising solution. Advancements in computer vision, particularly in object detection algorithms, have paved the way for more accurate and efficient stain identification. Among these algorithms, You Only Look Once (YOLO) has garnered significant attention due to its real-time processing capabilities and impressive detection accuracy across various domains. This research paper Submission : 16 October 2024; Acceptance: 4 November 2024 Copyright: © 2024. All the authors listed in this paper. The distribution, reproduction, and any other usage of the content of this paper is permitted with credit given to all the author(s) and copyright owner(s) in accordance to common academic JOURNAL OF INNOVATION AND TECHNOLOGY <u>eISSN:2805-5179 Vol. 2024, No.46</u> proposes a novel approach for automatic textile stain detection leveraging the YOLOv5 algorithm. YOLOv5, an iteration of the YOLO family, boasts improved speed and accuracy while maintaining its signature single-stage detection architecture. By training the YOLOv5 model on a diverse dataset of stained textile images, the system aims to accurately localize and identify stains in real time, offering a significant advantage over traditional methods. The system's performance will be rigorously evaluated using standard metrics. The textile industry has historically relied on manual visual inspection for stain detection [1]. This process is labour-intensive, time-consuming, and prone to subjective errors due to variations in human perception and fatigue [2]. Moreover, manual inspection is costly as it requires a large workforce to maintain quality standards. Consequently, there has been a growing demand for automated solutions to address these limitations and enhance efficiency in textile quality control. The advent of machine vision and image processing technologies has opened up new possibilities for automatic stain detection. Early approaches often involved feature extraction techniques, such as color histograms, texture analysis (e.g., Gabor filters), and edge detection algorithms [3]. These features were then used to classify image regions as stained or unstained using traditional machine learning classifiers like Support Vector Machines (SVM) or Random Forests [4]. However, these methods often struggled with complex stain patterns and changes in lighting [5]. The emergence of deep learning, particularly Convolutional Neural Networks (CNNs), has revolutionized object recognition and image classification [6][7]. CNNs, such as AlexNet, VGGNet, and ResNet, have demonstrated remarkable performance in various domains, including textile stain detection. These models automatically learn hierarchical features from raw image data, eliminating the need for manual feature engineering. Furthermore, the ability of CNNs to capture intricate patterns and handle diverse stain types has made them a promising solution for automatic textile quality control [8]. Among the various deep learning-based object detection models, YOLO (You Only Look Once) has gained significant popularity due to its speed and accuracy [1][3]. YOLO offers real-time object detection capabilities, making it well-suited for industrial applications where rapid decisionmaking is crucial [5]. Methodology The automatic fabric stain detection system uses the power of the YOLOv5 object recognition algorithm to detect and place stains on different fabrics. A key element of this program is the creation of diverse and representative data sets. This data set will include images of various fabrics (e.g., cotton, silk, wool), colors, textures, and a wide variety of stains commonly encountered in textile manufacturing (e.g., oils, greases, inks, coffee, alcohol) per image indicating the exact location and nature of each stain It will be carefully described by means of bounding boxes. The fabric stain detection system is reimagined as a versatile multichannel conduit leveraging the power of the YOLOv5 detector The system has the following main features: http://ipublishing.intimal.edu.my/joint.html JOURNAL OF INNOVATION AND TECHNOLOGY <u>eISSN:2805-5179 Vol. 2024, No.46</u> - Dataset Collection and Annotation: ➢ A comprehensive dataset of textile images will be curated, encompassing a wide variety of fabrics, colours, textures, and stain types (e.g., oil, coffee, wine, ink). ➢ Each image will be meticulously Reimagined as a versatile, multichannel platform harnessing the power of providing ground-truth labels for training the model. - Data Preprocessing: ➢ Images will undergo preprocessing steps such as resizing, normalization, and augmentation (e.g., rotation, flipping, cropping) to enhance model robustness and generalization. ➢ Augmentation will increase the dataset's diversity and help the model learn to recognize stains under different conditions. - YOLOv5 Model Training: ➢ The YOLOv5 model will be trained on the annotated dataset, with the objective of learning to Precisely identify and locate objects within an image, along with their categories (stain types) for new, unseen textile images. This study used YOLOv3, a powerful real-time detection system, to dramatically improve textile stain detection. The unique YOLOv3 system, which uses Darknet-53 for feature extraction and multi-scale prediction, proved to be highly effective in accurately identifying and localizing stains of different sizes and shapes on a variety of fabrics Its ability to it shows objective scores and class probabilities not only to identify stains but their specific classes, because it enabled them to be classified as oil, coffee, or ink. The reason why YOLO v3 is ideal is stated as per below: - Real-Time Speed: Textile manufacturing is a fast-paced process, and your detection system needs to keep up; YOLOv3, renowned for its speed, processes images faster than many two-stage object detectors, ensuring real-time analysis of fabric on production lines without causing bottlenecks. - Accuracy on Varied Stain Sizes: YOLOv3's multi-scale prediction architecture enables it to detect both tiny specks and large stains on textiles, ensuring all defects are identified regardless of their size. - Adaptability to Textile Stains: YOLOv3 can be trained on your specific stained textile dataset, enabling the model to accurately recognize the unique characteristics of common stains in your manufacturing process. Results and Discussions Based on the quantitative finding, the individual precision and recall values for each stain category to highlight the model's ability to correctly identify true positives and minimize false positives/negatives. The processing time specify the average time taken by YOLOv3 to process a single image, highlighting its real-time capability. http://ipublishing.intimal.edu.my/joint.html JOURNAL OF INNOVATION AND TECHNOLOGY <u>eISSN:2805-5179 Vol. 2024, No.46</u> The qualitative outcome shows that the visual assessment with the model's performance in detecting stains of various sizes, shapes, colours, and textures on different fabric types. The success cases showcase examples where YOLOv3 accurately identified and localized stains, even in challenging conditions like low contrast or patterned fabrics. For the error analysis, it shows the analyse cases where the model struggled, such as occluded stains or those with similar appearances to the fabric pattern. Figure 1 shows the vertical bar graph representation of image comparison and Figure 2 shows the horizontal bar graph of two image comparison. Figure 1: Vertical bar graph representation of image comparison Figure 2: Horizontal bar graph of two image comparison The details of finding are stated below for file name, stain type, ground truth, predicted coordinates, confidence score and IoU. - Image Name: The filename or identifier of the textile image being analyzed, used for tracking and referencing results. - Stain Type: The specific category of the detected stain (e.g., oil, ink, coffee) based on its appearance and characteristics, aiding in classification. - Ground Truth Coordinates: The actual coordinates of the stain's bounding box (x1, y1: top-left corner; x2, y2: bottom-right corner). - Predicted Coordinates: The bounding box coordinates (x1, y1; x2, y2) estimated by the YOLOv5 model, representing its understanding of the stain's position and size. http://ipublishing.intimal.edu.my/joint.html JOURNAL OF INNOVATION AND TECHNOLOGY <u>eISSN:2805-5179 Vol. 2024, No.46</u> - Confidence Score: A numerical value between 0 and 1 that indicates the model's certainty about the prediction, with higher values implying greater reliability. - IoU (Intersection over Union): A performance metric calculated as the ratio of the overlap area between the predicted and ground truth boxes to their combined area, indicating the accuracy of localization. Conclusion This study demonstrates the significant ability of YOLOv3 to detect stains on textiles. Utilizing deep learning and computer vision capabilities, the developed algorithm achieved high accuracy and real-time performance, successfully addressing the limitations of traditional search methods. Although the results were promising, this study also identified areas for further research and improvement. Addressing the challenges of detecting blocked stains or optical complexity, as well as optimizing the model for specific stain types and fabric characteristics will increase system performance and reliability If systems are stain detection combined with a stain removal system can significantly simplify quality control procedures in the textile industry. Acknowledgements The authors would like to express their heartfelt gratitude to Dayananda Sagar Academy of Technology and Management (DSATM) for providing the necessary resources and facilities to conduct this research project on " Automatic Textile Stain Detection Using Yolo Algorithm" The institution's support and encouragement have been crucial to the successful completion of this endeavor. Furthermore, we extend our deepest thanks to our families, especially our mothers, for their unwavering love, support, and understanding throughout this journey. Their encouragement and belief in our abilities have been a constant source of motivation, and their financial support has enabled us to pursue this research project with dedication and commitment. http://ipublishing.intimal.edu.my/joint.html JOURNAL OF INNOVATION AND TECHNOLOGY <u>eISSN:2805-5179 Vol. 2024, No.46</u> References Bochkovskiy, A., Wang, C. Y., & Liao, H. Y. M. (2020). Yolov4: Optimal speed and accuracy of [object detection. http://dx.doi.org/10.48550/arXiv.2004.10934](http://dx.doi.org/10.48550/arXiv.2004.10934) Carrilho, R., Yaghoubi, E., Lindo, J., Hambarde, K., & Proença, H. (2024). Toward Automated Fabric Defect Detection: A Survey of Recent Computer Vision Approaches. _Electronics_, _13_ (18), 3728. https://doi.org/10.3390/electronics13183728 Chakraborty, S. (2021). _Automatic Printed Fabric Defect Detection Using a Convolutional Neural_ _Network_ [. North Carolina State University. http://dx.doi.org/10.48550/arXiv.2101.00703](http://dx.doi.org/10.48550/arXiv.2101.00703) Chan, C. H., & Pang, G. K. (2000). Fabric defect detection by Fourier analysis. IEEE transactions [on Industry Applications, 36(5), 1267-1276. http://dx.doi.org/10.1109/28.871274](http://dx.doi.org/10.1109/28.871274) Jocher, G., Chaurasia, A., Stoken, A., Borovec, J., Kwon, Y., Fang, J., ... & Thanh Minh, M. (2022). ultralytics/yolov5: v6. 1-tensorrt, tensorflow edge tpu and openvino export and [inference. https://zenodo.org/records/6222936](https://zenodo.org/records/6222936) Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2012). Imagenet classification with deep convolutional neural networks. Advances in neural information processing systems, 25. <u>[https://proceedings.neurips.cc/paper_files/paper/2012/file/c399862d3b9d6b76c8436e924](https://proceedings.neurips.cc/paper_files/paper/2012/file/c399862d3b9d6b76c8436e924a68c45b-Paper.pdf)</u> <u>[a68c45b-Paper.pdf](https://proceedings.neurips.cc/paper_files/paper/2012/file/c399862d3b9d6b76c8436e924a68c45b-Paper.pdf)</u> LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. nature, 521(7553), 436-444. <u>[http://dx.doi.org/10.1038/nature14539](http://dx.doi.org/10.1038/nature14539)</u> Ngan, H. Y., Pang, G. K., & Yung, N. H. (2011). Automated fabric defect detection—A review. Image and vision computing, 29(7), 442-458. <u>[https://doi.org/10.1016/j.imavis.2011.02.002](https://doi.org/10.1016/j.imavis.2011.02.002)</u> Rasheed, A., Zafar, B., Rasheed, A., Ali, N., Sajid, M., Dar, S. H., ... & Mahmood, M. T. (2020). Fabric defect detection using computer vision techniques: a comprehensive review. _Mathematical_ _Problems_ _in_ _Engineering_, _2020_ (1), 8189403. <u>[https://doi.org/10.1155/2020/8189403](https://doi.org/10.1155/2020/8189403)</u> Silvestre-Blanes, J., Albero-Albero, T., Miralles, I., Pérez-Llorens, R., & Moreno, J. (2019). A public fabric database for defect detection methods and results. _Autex Research_ _Journal_, _19_ [(4), 363-374. http://dx.doi.org/10.2478/aut-2019-0035](http://dx.doi.org/10.2478/aut-2019-0035) http://ipublishing.intimal.edu.my/joint.html

섹션 본문 19문단 · 9,427자

(제목 없음)

1Automatic textile stain detection is essential for optimizing the quality control process within the textile industry.Traditional hands-on inspection methods are time-consuming, not immune to errors, and expensive.This research paper proposes a novel approach for automatic textile stain detection using the YOLO (You Only Look Once) algorithm, a state-of-the-art object detection model.The proposed system utilizes a YOLOv5 model trained on a diverse dataset of stained textile images to accurately identify and localize stains in real-time.The model's performance is evaluated based on standard metrics such as precision, recall, and mean average precision (mAP).Experimental results Showcase the impact of the YOLO-based approach in achieving high accuracy and efficiency in stain detection, significantly outperforming traditional methods.This research contributes to the advancement of automation in the textile industry, ultimately leading to improved quality control, reduced costs, and enhanced productivity.

Introduction

2The textile industry plays a pivotal role in the global economy, with the production of fabrics and garments encompassing numerous intricate processes.Ensuring the quality of textile products is paramount, and the detection of stains or defects is a critical step in maintaining high standards.Traditionally, stain detection relied on manual Inspection, which is often inefficient and demanding of resources but also Susceptible to mistakes due to fatigue and subjectivity.

3To address these challenges, automated stain detection systems have emerged as a promising solution.Advancements in computer vision, particularly in object detection algorithms, have paved the way for more accurate and efficient stain identification.Among these algorithms, You Only Look Once (YOLO) has garnered significant attention due to its real-time processing capabilities and impressive detection accuracy across various domains.This research paper proposes a novel approach for automatic textile stain detection leveraging the YOLOv5 algorithm.YOLOv5, an iteration of the YOLO family, boasts improved speed and accuracy while maintaining its signature single-stage detection architecture.By training the YOLOv5 model on a diverse dataset of stained textile images, the system aims to accurately localize and identify stains in real time, offering a significant advantage over traditional methods.The system's performance will be rigorously evaluated using standard metrics.

4The textile industry has historically relied on manual visual inspection for stain detection [1].This process is labour-intensive, time-consuming, and prone to subjective errors due to variations in human perception and fatigue [2].Moreover, manual inspection is costly as it requires a large workforce to maintain quality standards.Consequently, there has been a growing demand for automated solutions to address these limitations and enhance efficiency in textile quality control.

5The advent of machine vision and image processing technologies has opened up new possibilities for automatic stain detection.Early approaches often involved feature extraction techniques, such as color histograms, texture analysis (e.g., Gabor filters), and edge detection algorithms [3].These features were then used to classify image regions as stained or unstained using traditional machine learning classifiers like Support Vector Machines (SVM) or Random Forests [4].However, these methods often struggled with complex stain patterns and changes in lighting [5].

6The emergence of deep learning, particularly Convolutional Neural Networks (CNNs), has revolutionized object recognition and image classification [6][7].CNNs, such as AlexNet, VGGNet, and ResNet, have demonstrated remarkable performance in various domains, including textile stain detection.These models automatically learn hierarchical features from raw image data, eliminating the need for manual feature engineering.Furthermore, the ability of CNNs to capture intricate patterns and handle diverse stain types has made them a promising solution for automatic textile quality control [8].

7Among the various deep learning-based object detection models, YOLO (You Only Look Once) has gained significant popularity due to its speed and accuracy [1][3].YOLO offers real-time object detection capabilities, making it well-suited for industrial applications where rapid decisionmaking is crucial [5].

Methodology

8The automatic fabric stain detection system uses the power of the YOLOv5 object recognition algorithm to detect and place stains on different fabrics.A key element of this program is the creation of diverse and representative data sets.This data set will include images of various fabrics (e.g., cotton, silk, wool), colors, textures, and a wide variety of stains commonly encountered in textile manufacturing (e.g., oils, greases, inks, coffee, alcohol) per image indicating the exact location and nature of each stain It will be carefully described by means of bounding boxes.The fabric stain detection system is reimagined as a versatile multichannel conduit leveraging the power of the YOLOv5 detector The system has the following main features:

• Dataset Collection and Annotation:

9➢ A comprehensive dataset of textile images will be curated, encompassing a wide variety of fabrics, colours, textures, and stain types (e.g., oil, coffee, wine, ink).➢ Each image will be meticulously Reimagined as a versatile, multichannel platform harnessing the power of providing ground-truth labels for training the model.

10• Data Preprocessing:

11➢ Images will undergo preprocessing steps such as resizing, normalization, and augmentation (e.g., rotation, flipping, cropping) to enhance model robustness and generalization.➢ Augmentation will increase the dataset's diversity and help the model learn to recognize stains under different conditions.

• YOLOv5 Model Training:

12➢ The YOLOv5 model will be trained on the annotated dataset, with the objective of learning to Precisely identify and locate objects within an image, along with their categories (stain types) for new, unseen textile images.

13This study used YOLOv3, a powerful real-time detection system, to dramatically improve textile stain detection.The unique YOLOv3 system, which uses Darknet-53 for feature extraction and multi-scale prediction, proved to be highly effective in accurately identifying and localizing stains of different sizes and shapes on a variety of fabrics Its ability to it shows objective scores and class probabilities not only to identify stains but their specific classes, because it enabled them to be classified as oil, coffee, or ink.The reason why YOLO v3 is ideal is stated as per below:

14• Real-Time Speed: Textile manufacturing is a fast-paced process, and your detection system needs to keep up; YOLOv3, renowned for its speed, processes images faster than many two-stage object detectors, ensuring real-time analysis of fabric on production lines without causing bottlenecks.• Accuracy on Varied Stain Sizes: YOLOv3's multi-scale prediction architecture enables it to detect both tiny specks and large stains on textiles, ensuring all defects are identified regardless of their size.• Adaptability to Textile Stains: YOLOv3 can be trained on your specific stained textile dataset, enabling the model to accurately recognize the unique characteristics of common stains in your manufacturing process.

Results and Discussions

15Based on the quantitative finding, the individual precision and recall values for each stain category to highlight the model's ability to correctly identify true positives and minimize false positives/negatives.The processing time specify the average time taken by YOLOv3 to process a single image, highlighting its real-time capability.

16The qualitative outcome shows that the visual assessment with the model's performance in detecting stains of various sizes, shapes, colours, and textures on different fabric types.The success cases showcase examples where YOLOv3 accurately identified and localized stains, even in challenging conditions like low contrast or patterned fabrics.For the error analysis, it shows the analyse cases where the model struggled, such as occluded stains or those with similar appearances to the fabric pattern.Figure 1 • Confidence Score: A numerical value between 0 and 1 that indicates the model's certainty about the prediction, with higher values implying greater reliability.• IoU (Intersection over Union): A performance metric calculated as the ratio of the overlap area between the predicted and ground truth boxes to their combined area, indicating the accuracy of localization.

Conclusion

17This study demonstrates the significant ability of YOLOv3 to detect stains on textiles.Utilizing deep learning and computer vision capabilities, the developed algorithm achieved high accuracy and real-time performance, successfully addressing the limitations of traditional search methods.Although the results were promising, this study also identified areas for further research and improvement.Addressing the challenges of detecting blocked stains or optical complexity, as well as optimizing the model for specific stain types and fabric characteristics will increase system performance and reliability If systems are stain detection combined with a stain removal system can significantly simplify quality control procedures in the textile industry.

18Figure 2 shows the horizontal bar graph of two image comparison.

Figure 1 :

19Figure 1: Vertical bar graph representation of image comparison

참고문헌 9건

  1. Automated fabric defect detection—A review Image and Vision Computing · Elsevier BV · 2011 10.1016/j.imavis.2011.02.002
  2. ImageNet classification with deep convolutional neural networks Communications of the ACM · Association for Computing Machinery · 2017 10.1145/3065386
  3. Deep learning Nature · Nature Portfolio · 2015 10.1038/nature14539
  4. A Public Fabric Database for Defect Detection Methods and Results Autex Research Journal · De Gruyter Open · 2019 10.2478/aut-2019-0035
  5. YOLOv4: Optimal Speed and Accuracy of Object Detection arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2004.10934
  6. Fabric Defect Detection Using Computer Vision Techniques: A Comprehensive Review Mathematical Problems in Engineering · Hindawi Publishing Corporation · 2020 10.1155/2020/8189403
  7. Automatic defect detection for fabric printing using a deep convolutional neural network International Journal of Fashion Design Technology and Education · Taylor & Francis · 2021 10.1080/17543266.2021.1925355
  8. Fabric defect detection by Fourier analysis IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2000 10.1109/28.871274
  9. Toward Automated Fabric Defect Detection: A Survey of Recent Computer Vision Approaches Electronics · Multidisciplinary Digital Publishing Institute · 2024 10.3390/electronics13183728