Research on fabric defect detection method based on lightweight network

IF 2.2 4区 工程技术 Q1 MATERIALS SCIENCE, TEXTILES
Xuejuan Kang
{"title":"Research on fabric defect detection method based on lightweight network","authors":"Xuejuan Kang","doi":"10.1177/15589250241232153","DOIUrl":null,"url":null,"abstract":"Due to the complexity of fabric texture, the diversity of defect types and the high real-time requirements of textile enterprises, fabric defect detection is faced with considerable challenges. At present, fabric defect detection algorithms based on deep learning have achieved good results, but there are still some key problems to be solved. Firstly, due to the complex construction of deep learning models and high network complexity, it is difficult to meet the real-time requirements of industrial sites, which limits its application in industrial sites. Secondly, in the face of textile enterprises’ requirements for detection accuracy, how to achieve fabric defect detection through a simpler network model, so as to better balance the accuracy and complexity of deep learning models is a major challenge for textile enterprises and academic researchers. In order to solve these problems, a fabric defect detection method based on lightweight network is proposed in this paper. This method takes lightweight network YOLOv5s model as the infrastructure, integrates Convolution Block Attention Module and Feature Enhancement Module in Backbone part and Neck part respectively, and modifies the loss function of YOLOv5s to CIoU_Loss. Compared with the original YOLOv5s, it makes up for the lack of information extraction ability of the network, improves the speed of model inference and the speed and accuracy of prediction box regression. It provides technical support for the application of lightweight network model in industrial field. The performance of the model is tested by using raw fabric and patterned fabric data sets on the deep learning workstation platform. The experimental results show that when the IoU threshold is 0.5, the mean Accuracy Precision mAP of raw fabric and pattern fabric is 86.4% and 75.8%, respectively, which increases by 7.6% and 1.7% compared with the original YOLOv5s algorithm. The average detection speed is as high as 102 FPS, which can meet the real-time requirement of industrial field target detection.","PeriodicalId":15718,"journal":{"name":"Journal of Engineered Fibers and Fabrics","volume":null,"pages":null},"PeriodicalIF":2.2000,"publicationDate":"2024-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Engineered Fibers and Fabrics","FirstCategoryId":"88","ListUrlMain":"https://doi.org/10.1177/15589250241232153","RegionNum":4,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MATERIALS SCIENCE, TEXTILES","Score":null,"Total":0}
引用次数: 0

Abstract

Due to the complexity of fabric texture, the diversity of defect types and the high real-time requirements of textile enterprises, fabric defect detection is faced with considerable challenges. At present, fabric defect detection algorithms based on deep learning have achieved good results, but there are still some key problems to be solved. Firstly, due to the complex construction of deep learning models and high network complexity, it is difficult to meet the real-time requirements of industrial sites, which limits its application in industrial sites. Secondly, in the face of textile enterprises’ requirements for detection accuracy, how to achieve fabric defect detection through a simpler network model, so as to better balance the accuracy and complexity of deep learning models is a major challenge for textile enterprises and academic researchers. In order to solve these problems, a fabric defect detection method based on lightweight network is proposed in this paper. This method takes lightweight network YOLOv5s model as the infrastructure, integrates Convolution Block Attention Module and Feature Enhancement Module in Backbone part and Neck part respectively, and modifies the loss function of YOLOv5s to CIoU_Loss. Compared with the original YOLOv5s, it makes up for the lack of information extraction ability of the network, improves the speed of model inference and the speed and accuracy of prediction box regression. It provides technical support for the application of lightweight network model in industrial field. The performance of the model is tested by using raw fabric and patterned fabric data sets on the deep learning workstation platform. The experimental results show that when the IoU threshold is 0.5, the mean Accuracy Precision mAP of raw fabric and pattern fabric is 86.4% and 75.8%, respectively, which increases by 7.6% and 1.7% compared with the original YOLOv5s algorithm. The average detection speed is as high as 102 FPS, which can meet the real-time requirement of industrial field target detection.
基于轻量级网络的织物疵点检测方法研究
由于织物纹理的复杂性、疵点类型的多样性以及纺织企业对实时性的高要求,织物疵点检测面临着相当大的挑战。目前,基于深度学习的织物疵点检测算法取得了不错的效果,但仍存在一些关键问题亟待解决。首先,由于深度学习模型构建复杂,网络复杂度高,难以满足工业现场的实时性要求,限制了其在工业现场的应用。其次,面对纺织企业对检测精度的要求,如何通过更简单的网络模型实现织物疵点检测,从而更好地平衡深度学习模型的精度和复杂度,是纺织企业和学术研究人员面临的一大挑战。为了解决这些问题,本文提出了一种基于轻量级网络的织物疵点检测方法。该方法以轻量级网络YOLOv5s模型为基础架构,在骨干部分和颈部部分分别集成了卷积块注意模块和特征增强模块,并将YOLOv5s的损失函数修改为CIoU_Loss。与原来的 YOLOv5s 相比,它弥补了网络信息提取能力的不足,提高了模型推理的速度和预测箱回归的速度和准确性。为轻量级网络模型在工业领域的应用提供了技术支持。在深度学习工作站平台上,使用原始织物和图案织物数据集测试了模型的性能。实验结果表明,当IoU阈值为0.5时,原始织物和图案织物的平均精度mAP分别为86.4%和75.8%,与原始YOLOv5s算法相比分别提高了7.6%和1.7%。平均检测速度高达 102 FPS,可以满足工业现场目标检测的实时性要求。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of Engineered Fibers and Fabrics
Journal of Engineered Fibers and Fabrics 工程技术-材料科学:纺织
CiteScore
5.00
自引率
6.90%
发文量
41
审稿时长
4 months
期刊介绍: Journal of Engineered Fibers and Fabrics is a peer-reviewed, open access journal which aims to facilitate the rapid and wide dissemination of research in the engineering of textiles, clothing and fiber based structures.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信