A fully convolutional neural network for fast detection, classification, and segmentation of fabric defects


Gökalp Clarke H.

NEURAL COMPUTING AND APPLICATIONS, vol.37, pp.23249-23272, 2025 (Scopus)

  • Publication Type: Article / Article
  • Volume: 37
  • Publication Date: 2025
  • Doi Number: 10.1007/s00521-025-11495-w
  • Journal Name: NEURAL COMPUTING AND APPLICATIONS
  • Journal Indexes: Scopus, Compendex, Index Islamicus, INSPEC, zbMATH
  • Page Numbers: pp.23249-23272
  • Ondokuz Mayıs University Affiliated: Yes

Abstract

The integration of artificial intelligence and image processing for fabric defect detection is gaining prominence due to its practical significance in enhancing production quality. This study proposes a fast and accurate convolutional neural network (CNN) designed to detect defects in fabric with minimal computational complexity. The model processes input images of size 256 × 256 and generates defect masks of size 64 × 64. To improve detection accuracy, the model incorporates techniques such as ResNet, scheduled learning rate policies, data augmentation, and a weighted cross-entropy loss function. Trained on a diverse dataset of 2,681 defect samples from four fabric types and defect classes (holes, oil stains, color stains, and roller marks), the model achieved an accuracy of over 96%, a loss value below 0.1, and high recall, precision, and F1-Score. Compared to other state-of-the-art models, the proposed model delivers competitive performance with significantly faster prediction times, making it suitable for real-world fabric inspection applications.