河北建筑工程学院学报2024,Vol.42Issue(1) :222-229.DOI:10.3969/j.issn.1008-4185.2024.01.036

基于DCGAN和改进YOLOv5的织物疵点检测算法

Fabric defect detection algorithm based on DCGAN and improved YOLOv5 Model

张天宇 李子熠 李鸿强
河北建筑工程学院学报2024,Vol.42Issue(1) :222-229.DOI:10.3969/j.issn.1008-4185.2024.01.036

基于DCGAN和改进YOLOv5的织物疵点检测算法

Fabric defect detection algorithm based on DCGAN and improved YOLOv5 Model

张天宇 1李子熠 1李鸿强1
扫码查看

作者信息

  • 1. 河北建筑工程学院,河北张家口 075000
  • 折叠

摘要

针对传统的织物疵点检测算法的精度低、速度慢、漏检率高等难点,提出了基于深度卷积生成式对抗网络和改进YOLOv5的织物疵点检测算法.首先,将公开的天池阿里云织物疵点图像通过DCGAN网络进行数据增强,建立各类疵点样本较为完善的数据集;其次,为了提高模型的检测精度,在YOLOv5模型上引入CBAM注意力机制模块,让模型检测更能聚焦在缺陷区域,从而降低漏检率;再次,将Mish激活函数替换Leaky ReLU函数,增强模型的泛化能力.最后通过改进模型与原模型的对比实验,得出结论,提出的模型相比其他深度学习模型具有更好的检测度和鲁棒性.

Abstract

In view of the difficulties of traditional fabric defects detection algorithms such as low preci-sion,slow speed and high missing rate,a fabric defects detection algorithm based on deep convolu-tion generative adversation network and improved YOLOv5 was proposed.Firstly,the public fab-ric defects images of Tianchi Alibaba Cloud were enhanced through DCGAN network to establish a relatively complete data set of all kinds of fabric defects samples.Secondly,in order to improve the detection accuracy of the model,CBAM attention mechanism module is introduced into the YOLOv5 model to make the model detection more focused on the defect area,so as to reduce the missed detection rate.Thirdly,the Mish activation function was replaced with the Leaky ReLU function to enhance the generalization ability of the model.Finally,through the comparison experi-ment between the improved model and the original model,it is concluded that the model proposed in this paper has better detection and robustness than other deep learning models.

关键词

织物疵点检测/YOLOv5/深度卷积生成式对抗网络/CBAM

Key words

fabric defect detection/YOLOv5/DCGAN/CBAM

引用本文复制引用

出版年

2024
河北建筑工程学院学报
河北建筑工程学院

河北建筑工程学院学报

影响因子:0.502
ISSN:1008-4185
参考文献量19
段落导航相关论文