Computer Vision-Driven Textile Quality Assessment
Two-stage EfficientNet-B0 inspection pipeline screening defective fabric and classifying five woven defect types across a 2,739-image dataset.
97% overall accuracy on 548 held-out test samples (0.93–1.00 per-class F1; ICCIT 2025)
- PyTorch
- EfficientNet-B0
- OpenCV
- Two-Stage Classification

Problem
Manual textile inspection is slow and error-prone across subtle woven fabric defects.
Approach
Built a two-stage EfficientNet-B0 computer vision pipeline: Stage 1 screens defective vs. defect-free fabric, and Stage 2 classifies defects into 5 categories (hole, horizontal line, vertical line, stain, and other line defects) across a 2,739-image dataset.
Results
On the 548-sample held-out test set, the pipeline reached 97% overall classification accuracy with per-class F1 scores between 0.93 and 1.00.
What Went Wrong
Specular lighting glare and subtle fabric weave variations caused false positives during early single-stage experiments.
What I Learned
On this dataset, data quality, illumination-invariant preprocessing, and two-stage decoupling mattered significantly more than increasing backbone depth.
Photo Gallery // 3 Assets
Links & Artifacts
Code / artifacts being prepared for release.