Fabric defect detection using fine-tuned Yolo-12

Defect identification is critical for ensuring the reliability and price of fabrics. Defective fabrics result in significant waste and losses. Automatic defect identification using the use of deep learning is a faster and more efficient way to analyze fabric quality, replacing human inspection. Furthermore, both plain and printed textiles are produced concurrently in enterprises; hence, one design should be effective in identifying faults in both types of fabric. As a result, a strong deep learning algorithm must be trained to detect defects within fabric datasets produced during manufacturing with excellent performance and cheap computing costs. This study incorporates a local dataset collected from Chenab Textiles and validated with three publicly available datasets, such as Tildav2, DPFD-DET, and ZJU-Leaper. The experiment provides a comprehensive and diversified range of defective images. To identify textile defects successfully, the suggested approach, universal and optimized YOLOv12, named universal defect detect network (UniDefectNet-Omni) for robust identification of a wide spectrum of fabric defects with multi and diverse types of fabric using YOLOv12 by fine-tuning and optimizing training, integrating high determination feature learning, heterogeneous defect representation, and adaptive augmentation. As a consequence, UniDefectNet-Omni is a lightweight, computationally efficient, and robust framework across varied fabrics.The Chenab textile dataset mean Average Precision (mAP) is 85.1%, precision is 84.5%, and recall is 81.7% over seven separate fabric defect categories. The proposed fine-tuned YOLOv12 outperformed on validated datasets, such as the TILDAv2 dataset, having a mean Average Precision (mAP) score 86.7%, precision about 83.7%, in addition recall about 83.6% over four separate fabric defect categories. DPFD-DET with a mean Average Precision (mAP) score 93.6%, precision is 92.2%, and recall is 87.8% over four separate fabric defect categories. ZJU-Leaper with groups 1, 2, 3, and 4 having a mean Average Precision (mAP) score 93%, precision about 78.1%, in addition recall about 90.3% over twelve separate fabric defect categories.

Authors

Publication Details

Journal
PLoS ONE
Published
2026-07-22
DOI
https://doi.org/10.1371/journal.pone.0353550
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Fabric defect detection using fine-tuned Yolo-12

Toqeer Mahmood, Muhammad Haris Abid, Waqar Ahmad, Rehan Ashraf et al.
PLoS ONE
Industrial Vision Systems and Defect Detection
article

Fabric defect detection using fine-tuned Yolo-12

Toqeer Mahmood, Muhammad Haris Abid, Waqar Ahmad, Rehan Ashraf, Tanveer Hussain
article en

Abstract

Defect identification is critical for ensuring the reliability and price of fabrics. Defective fabrics result in significant waste and losses. Automatic defect identification using the use of deep learning is a faster and more efficient way to analyze fabric quality, replacing human inspection. Furthermore, both plain and printed textiles are produced concurrently in enterprises; hence, one design should be effective in identifying faults in both types of fabric. As a result, a strong deep learning algorithm must be trained to detect defects within fabric datasets produced during manufacturing with excellent performance and cheap computing costs. This study incorporates a local dataset collected from Chenab Textiles and validated with three publicly available datasets, such as Tildav2, DPFD-DET, and ZJU-Leaper. The experiment provides a comprehensive and diversified range of defective images. To identify textile defects successfully, the suggested approach, universal and optimized YOLOv12, named universal defect detect network (UniDefectNet-Omni) for robust identification of a wide spectrum of fabric defects with multi and diverse types of fabric using YOLOv12 by fine-tuning and optimizing training, integrating high determination feature learning, heterogeneous defect representation, and adaptive augmentation. As a consequence, UniDefectNet-Omni is a lightweight, computationally efficient, and robust framework across varied fabrics.The Chenab textile dataset mean Average Precision (mAP) is 85.1%, precision is 84.5%, and recall is 81.7% over seven separate fabric defect categories. The proposed fine-tuned YOLOv12 outperformed on validated datasets, such as the TILDAv2 dataset, having a mean Average Precision (mAP) score 86.7%, precision about 83.7%, in addition recall about 83.6% over four separate fabric defect categories. DPFD-DET with a mean Average Precision (mAP) score 93.6%, precision is 92.2%, and recall is 87.8% over four separate fabric defect categories. ZJU-Leaper with groups 1, 2, 3, and 4 having a mean Average Precision (mAP) score 93%, precision about 78.1%, in addition recall about 90.3% over twelve separate fabric defect categories.

PLoS ONEVol. 21(7)
Industry, innovation and infrastructure
Openalex Percentile: Top 8%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.