|国家科技期刊平台
首页|期刊导航|棉纺织技术|基于语义分割的纱筒余纱量检测方法研究

基于语义分割的纱筒余纱量检测方法研究OACSTPCD

Research on detection method of yarn surplus based on semantic segmentation

中文摘要英文摘要

为解决圆形纬编针织机器人自动化生产线背景复杂以及纱筒尺寸变化大而导致检测算法准确率较低且精度低等问题,提出了一种基于语义分割的纱筒余纱量检测方法.首先在YOLOv8 的基础上通过DSSConv模块替换C2F模块,防止出现特征冗余与特征信息丢失;针对纱筒尺寸多与背景纱筒对检测效果造成的影响,引入EMA注意力机制来提升获取前景纱筒的能力,最后在Neck层使用SQConv模块替换C3模块,利用改进的组卷积提高模型在Neck层的推理速度,添加了SENet注意力机制减少纱筒细节特征的遗漏率.试验表明:改进后的模型mAP@0.5:0.95值达到94.1%,推理速度为65.71帧/s,优于原YOLOv8模型.该研究算法检测纱筒余纱量的平均误差小于2 mm,可实现测量不同成像距离的纱筒余纱量,能够满足实际生产需求.

In order to solve the problems of complex background of circular knitting robot automatic production line and the large variation of the yarn bobbin sizes,which led to lower accuracy and lower precision of the detection algorithm,a method to detect yarn surplus of bobbin based on semantic segmentation was proposed.Firstly,on the basis of YOLOv8,the C2F module was replaced by DSSConv module to prevent feature redundancy and feature information loss.Aimed at the influence of multiple yarn bobbin sizes and background of yarn bobbin on detection effect,EMA attention mechanism was introduced to improve the ability of obtaining foreground of yarn bobbins.Finally,SQConv module was used to replace C3 module in the Neck layer.The improved group convolution is used to improve the reasoning speed of the model in the Neck layer.SENet attention mechanism was added to reduce the missing rate of the bobbin detail feature.The experiment showed that the improved model mAP@0.5:0.95 was reached 94.1%and the reasoning speed was 65.71 frames/s,which was better than the original YOLOv8 model.The average error of the algorithm was less than 2 mm.It could be used to measure the remaining yarn in different imaging distance and it could meet the actual production demand.

徐寅哲;陆伟健;史伟民

浙江理工大学,浙江杭州,310018

轻工业

语义分割YOLOv8模型EMA注意力机制纱筒余纱量机器视觉

semantic segmentationYOLOv8 modelEMA attention mechanismyarn surplusmachine vision

《棉纺织技术》 2024 (004)

23-29 / 7

国家重点研发计划重点专项课题(2017YFB1304005)

评论