Fabric Defect Detection using YOLO - Multi-Source Dataset Preparation, Model Evaluation, and IoT-Based Prototype Development
Fabric defects such as holes, stains, weaving defects, and yarn defects have an effect on fabric quality, which is why it is necessary to use automated fabric inspection systems in fabric production process. In this paper, we discuss YOLO based fabric defect detection that includes the following areas: multi-source dataset preparation, comparison of the models, implementation, and hardware integration. Since there was no single dataset including all four fabric defect classes, so we collected several fabric defect datasets and unified them into one common dataset. We also created additional versions of the datasets by adding more samples of the defect class that the models had difficulty in detecting. Training and comparing multiple YOLO models such as YOLO26n, YOLO26s, YOLO26m and YOLO11m was conducted as well. In the experiment where the dataset size was increased, the performance of YOLO26m was much better than others, scoring 73.18% precision, 62.05% recall, 62.26% [email protected] and 31.95% [email protected]:0.95 in the test set. The YOLO26m model was selected as the final model to be used for the Streamlit web application in detecting defects in images, videos and live camera input. Also, a prototype using a motorized roller and an ESP32 microcontroller, controlled over Wi-Fi from the web application, was also built to feed fabric for inspection.
Authors
- Priyanka Palkar
- Swati Shinde
- Unnati Agavane
- Mauryan Savla
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24739638
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00