《电子技术应用》
您所在的位置:首页 > 人工智能 > 设计应用 > 基于改进YOLOv13的纺织品瑕疵检测方法分析
基于改进YOLOv13的纺织品瑕疵检测方法分析
集成电路应用
于邈,孙俊,彭逸飞,卢志强
江苏大学电气信息工程学院
摘要: 针对纺织品瑕疵检测中复杂纹理背景干扰强、小目标特征弱以及下采样过程中细节信息易丢失等问题,提出一种基于改进 YOLOv13 的纺织品瑕疵检测模型 WHA-YOLO。该方法在主干网络中引入小波残差下采样模块(Wavelet Residual Downsampling Module, WRDM),以保留边缘与纹理细节;在多尺度特征增强阶段设计基于超图的上下文增强模块(Hypergraph-based Context Enhancement Module, HyperCEM),以提升远距离上下文建模能力;在颈部网络中设计自适应特征调制聚合模块(Adaptive Feature Modulation and Aggregation Module, AFMAM),以实现空间细节与通道关系的联合增强……
中图分类号:TP3文献标识码:ADOI:10.19339/j.issn.1674-2583.2026.04.007
中文引用格式:于邈,孙俊,彭逸飞,等. 基于改进YOLOv13的纺织品瑕疵检测方法分析[J].集成电路应用,2026,43(4):39-44.
英文引用格式:Yu Miao, Sun Jun,Peng Yifei,et al. Research on textile defect detection method based on improved YOLOv13[J].Application of IC,2026,43(4):39-44.
Research on textile defect detection method based on improved YOLOv13
Yu Miao,Sun Jun,Peng Yifei, Lu Zhiqiang
School of Electrical and Information Engineering, Jiangsu University
Abstract: To address the issues of strong interference from complex texture backgrounds, weak features of small targets, and the loss of detail information during downsampling in textile defect detection, this paper proposes a textile defect detection model named WHA-YOLO based on an improved YOLOv13. In the backbone network, a Wavelet Residual Downsampling Module (WRDM) is introduced to preserve edge and texture details. In the multi-scale feature enhancement stage, a Hypergraph-based Context Enhancement Module (HyperCEM) is designed to improve long-range context modeling capability. In the neck network, an Adaptive Feature Modulation and Aggregation Module (AFMAM) is designed to achieve joint enhancement of spatial details and channel relationships. Experimental results show that the proposed WHA-YOLO achieves 94.2% mAP@0.5 on a mini-public dataset containing four types of defects, which is 3.4 percentage points higher than the baseline model YOLOv13n, and that on a public dataset containing ten types of defects, it achieves 75.1% mAP@0.5, which is also 2.3 percentage points higher than the second-best YOLOv13s method.
Key words : textile defect; object detection; YOLOv13; deep learning; feature enhancement

引言

纺织品瑕疵检测是保障产品质量与生产效率的关键环节。传统人工目检易受主观因素影响,误检率和漏检率高,难以满足现代纺织工业自动化、高速化生产的需求[1]。纺织品瑕疵具有小目标比例高、背景重复纹理强、形态尺度差异大等特点,使得其检测比自然场景目标检测更具挑战性。

早期方法依赖人工设计特征(如灰度共生矩阵、局部二值模式等),在规则纹理下尚有一定效果,但在复杂背景、弱批度瑕疵场景中鲁棒性和泛化能力不足[2]。深度学习技术的发展,尤其是基于卷积神经网络的目标检测算法,显著提升了检测精度与速度[3]。两阶段检测器(如Faster R-CNN[4])精度高但速度慢;一阶段检测器(如YOLO系列)更能满足实时性要求,成为主流方向[5-7]。现有研究多从注意力机制、特征融合、损失函数等角度改进YOLO模型,但仍存在三方面不足:下采样过程易丢失高频纹理与边缘细节,削弱对小目标和弱对比度缺陷的感知;重复纹理与复杂背景下,缺陷与背景局部相似,易导致误检与漏检;多尺度特征融合限制了全局上下文建模能力。

针对上述问题,本文以YOLOv13[8]为基础,提出改进的纺织品瑕疵检测模型WHAYOLO。具体地,该方法在主干网络中引入小波残差下采样模块(Wavelet Residual Downsampling Module, WRDM),以保留边缘与纹理细节;在多尺度特征增强阶段设计基于超图的上下文增强模块(Hypergraphbased Context Enhancement Module, HyperCEM),以提升远距离上下文建模能力;在颈部网络中设计自适应特征调制聚合模块(Adaptive Feature Modulation and Aggregation Module, AFMAM),以实现空间细节与通道关系的联合增强。实验表明,WHAYOLO在公共纺织品瑕疵数据集上取得了显著性能提升。


本文详细内容请下载:

http://www.chinaaet.com/resource/share/2000007261


投稿邮箱:ICAPP@belling.com.cn


作者信息:

于邈,孙俊,彭逸飞,卢志强

(江苏大学电气信息工程学院,江苏镇江212013)

2.jpg

此内容为AET网站原创,未经授权禁止转载。