Applied Sciences (Dec 2024)

A Novel Deep Learning Approach for Yarn Hairiness Characterization Using an Improved YOLOv5 Algorithm

  • Filipe Pereira,
  • Helena Lopes,
  • Leandro Pinto,
  • Filomena Soares,
  • Rosa Vasconcelos,
  • José Machado,
  • Vítor Carvalho

DOI
https://doi.org/10.3390/app15010149
Journal volume & issue
Vol. 15, no. 1
p. 149

Abstract

Read online

In textile manufacturing, ensuring high-quality yarn is crucial, as it directly influences the overall quality of the end product. However, imperfections like protruding and loop fibers, known as ‘hairiness’, can significantly impact yarn quality, leading to defects in the final fabrics. Controlling yarn quality in the spinning process is essential, but current commercial equipment is expensive and limited to analyzing only a few parameters. The advent of artificial intelligence (AI) offers a promising solution to this challenge. By utilizing deep learning algorithms, a model can detect various yarn irregularities, including thick places, thin places, and neps, while characterizing hairiness by distinguishing between loop and protruding fibers in digital yarn images. This paper proposes a novel approach using deep learning, specifically, an enhanced algorithm based on YOLOv5s6, to characterize different types of yarn hairiness. Key performance indicators include precision, recall, F1-score, mAP0.5:0.95, and mAP0.5. The experimental results show significant improvements, with the proposed algorithm increasing model mAP0.5 by 5% to 6% and mAP0.5:0.95 by 11% to 12% compared to the standard YOLOv5s6 model. A 10k-fold cross-validation method is applied, providing an accurate estimate of the performance on unseen data and facilitating unbiased comparisons with other approaches.

Keywords