arrow
Return

Fabric defect detection algorithm based on improved YOLOv5

delete2023-06-28
delete12
PRE
AI
L
Li Feng
K
Kang Xiao *
Z
Zhenpeng Hu
G
Guozheng Zhang
DOI:10.1007/s00371-023-02918-7delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Fabric defect detection is an important part of the textile industry, aiming at the problems of many types of fabric defects, small size defects and unbalanced samples, an improved YOLOv5 fabric defect detection algorithm, FD-YOLOv5, was proposed. First, the coordinate attention module is embedded in the YOLOv5 backbone network structure to replace the bottleneck structure in the original network model. While reducing the amount of parameters and calculation, it enhances the ability of the network to extract features and improves the model's ability to detect small target defects. Secondly, a smoother Mish activation function is used in the original model convolution structure for model training, which improves the nonlinear expression ability of the model; the SIoU loss function considering the direction of the anchor box is used to improve the convergence speed and detection accuracy of the model. Finally, combining the focal loss and GHM loss functions as the target confidence loss function to solve the problem of sample imbalance in the fabric defect dataset. The experimental results based on the public fabric defect dataset of Aliyun TianChi shows that the mAP@.5 and mAP@.5:.95 of the improved algorithm are 65.1% and 30.4%, respectively, which are 8.3% and 3.2% higher than the original model, respectively, and the parameter amount, calculation amount and weight of the model are reduced by 8.4%, 11.2% and 14.3%, respectively, compared with the original model. Even compared with the state-of-the-art YOLOv7 model, the mAP@.5 value of the proposed model is improved by 6.5%. Although the FPS value is lower than YOLOv7 model, it also achieves a detection speed of 79 frames per second, which can meet the real-time demand. The experimental results demonstrate the effectiveness of the method in this paper, which can provide a reference for the automatic detection method of fabric defects.
Keywords:
Computer vision
Fabric defect detection
YOLOv5
SIoU loss
GHM loss

Journal

Visual Computer cover
Visual Computer
IF:
2.9
Papers:
4.6K
Citations:
6.5K

Organization

D
Donghua University
Scholars:
2.0W
Papers: 1.4W
Citations: 2.9W
Cited Papers

Cited Papers

errShare
errSave
Enhancing Geometric Factors in Model Learning and Inference for Object Detection and Instance Segmentation
err2022-08-01
err620
errOAAI
errZheng, Zhaohui; Wang, Ping; Ren, Dongwei; Liu, Wei; Ye, Rongguang; Hu, Qinghua; Zuo, Wangmeng
errShare
errSave
Real-time detection of particleboard surface defects based on improved YOLOV5 target detection
err2021-11-05
err58
errOAAI
errZhao, Ziyu; Yang, Xiaoxia; Zhou, Yucheng; Sun, Qinqian; Ge, Zhedong; Liu, Dongfang
errShare
errSave
Breath Acetone-Based Non-Invasive Detection of Blood Glucose Levels
err2015-06-01
err0
errOAAI
errAnand Thati; Arunangshu Biswas; Shubhajit Roy Chowdhury; Tapan Kumar Sau
errShare
errSave
researcher View more