IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0353550.html

Fabric defect detection using fine-tuned Yolo-12

Author

Listed:
  • Waqar Ahmad
  • Rehan Ashraf
  • Toqeer Mahmood
  • Tanveer Hussain
  • Muhammad Haris Abid

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.

Suggested Citation

  • Waqar Ahmad & Rehan Ashraf & Toqeer Mahmood & Tanveer Hussain & Muhammad Haris Abid, 2026. "Fabric defect detection using fine-tuned Yolo-12," PLOS ONE, Public Library of Science, vol. 21(7), pages 1-39, July.
  • Handle: RePEc:plo:pone00:0353550
    DOI: 10.1371/journal.pone.0353550
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0353550
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0353550&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0353550?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0353550. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.