Open Access
Open access
Sensors, volume 23, issue 1, pages 97

An Efficient and Intelligent Detection Method for Fabric Defects Based on Improved YOLOv5

Guijuan Lin 1
Keyu Liu 1
Xuke Xia 2
Ruopeng Yan 1
2
 
Quanzhou Institute of Equipment Manufacturing, Haixi Institute, Chinese Academy of Sciences, Jinjiang 362216, China
Publication typeJournal Article
Publication date2022-12-22
Journal: Sensors
scimago Q1
SJR0.786
CiteScore7.3
Impact factor3.4
ISSN14243210, 14248220
PubMed ID:  36616696
Biochemistry
Analytical Chemistry
Atomic and Molecular Physics, and Optics
Electrical and Electronic Engineering
Instrumentation
Abstract

Limited by computing resources of embedded devices, there are problems in the field of fabric defect detection, including small defect size, extremely unbalanced aspect ratio of defect size, and slow detection speed. To address these problems, a sliding window multihead self-attention mechanism is proposed for the detection of small targets, and the Swin Transformer module is introduced to replace the main module in the original YOLOv5 algorithm. First, to reduce the distance between several scales, the weighted bidirectional feature network is employed on embedded devices. In addition, it is helpful to improve the perception of small-target faults by incorporating a detection layer to achieve four-scale detection. At last, to improve the learning of positive sample instances and lower the missed detection rate, the generalized focal loss function is finally implemented on YOLOv5. Experimental results show that the accuracy of the improved algorithm on the fabric dataset reaches 85.6%, and the mAP is increased by 4.2% to 76.5%, which meets the requirements for real-time detection on embedded devices.

Found 
Found 

Top-30

Journals

1
2
3
4
5
1
2
3
4
5

Publishers

2
4
6
8
10
2
4
6
8
10
  • We do not take into account publications without a DOI.
  • Statistics recalculated only for publications connected to researchers, organizations and labs registered on the platform.
  • Statistics recalculated weekly.

Are you a researcher?

Create a profile to get free access to personal recommendations for colleagues and new articles.
Share
Cite this
GOST | RIS | BibTex | MLA
Found error?