针对传统目测法检测贴片二极管表面缺陷效率低下和基于手工特征的目标检测算法模型较浅,以及语义性不高等问题,提出了改进YOLO-V4的贴片二极管表面缺陷检测方法。首先考虑到随着网络加深使梯度消失,以及减少网络中的特征冗余和参数量的...针对传统目测法检测贴片二极管表面缺陷效率低下和基于手工特征的目标检测算法模型较浅,以及语义性不高等问题,提出了改进YOLO-V4的贴片二极管表面缺陷检测方法。首先考虑到随着网络加深使梯度消失,以及减少网络中的特征冗余和参数量的情况,CSP1模块采用DenseNet替换原网络中的ResNet;其次,为了实现特征信息的跨维度交互,让网络更加关注重要信息,在CSP1模块后引入了三分支注意力机制模块,同时使用FPN+PANet对特征进行融合;并且用CSP2替换CBL×5模块,降低了网络的运算量,提高了算法检测速度;最后优化了Focal Loss函数,对正负样本添加权重,以解决正负样本不平衡的问题。本文算法相较于YOLO-V4的检测精度(precision,P)、召回率(recall,R)和多分类平均精度(mean average precision,mAP),分别高出2.98%,2.65%,2.92%,表明改进YOLO-V4可以有效检测贴片二极管表面缺陷问题。展开更多
Traditional maize ear harvesters mainly rely on manual identification of fallen maize ears,which cannot realize real-time detection of ear falling.The improved You Only Look Once-V4(YOLO-V4)algorithm is combined with ...Traditional maize ear harvesters mainly rely on manual identification of fallen maize ears,which cannot realize real-time detection of ear falling.The improved You Only Look Once-V4(YOLO-V4)algorithm is combined with the channel pruning algorithm to detect the dropped ears of maize harvesters.K-means clustering algorithm is used to obtain a prior box matching the size of the dropped ears,which improves the Intersection Over Union(IOU).Compare the effect of different activation functions on the accuracy of the YOLO-V4 model,and use the Mish activation function as the activation function of this model.Improve the calculation of the regression positioning loss function,and use the CEIOU loss function to balance the accuracy of each category.Use improved Adam optimization function and multi-stage learning optimization technology to improve the accuracy of the YOLO-V4 model.The channel pruning algorithm is used to compress the model and distillation technology is used in the fine-tuning of the model.The final model size was only 10.77%before compression,and the test set mean Average Precision(mAP)was 93.14%.The detection speed was 112 fps,which can meet the need for real-time detection of maize harvester ears in the field.This study can provide technical reference for the detection of the ear loss rate of intelligent maize harvesters.展开更多
文摘针对传统目测法检测贴片二极管表面缺陷效率低下和基于手工特征的目标检测算法模型较浅,以及语义性不高等问题,提出了改进YOLO-V4的贴片二极管表面缺陷检测方法。首先考虑到随着网络加深使梯度消失,以及减少网络中的特征冗余和参数量的情况,CSP1模块采用DenseNet替换原网络中的ResNet;其次,为了实现特征信息的跨维度交互,让网络更加关注重要信息,在CSP1模块后引入了三分支注意力机制模块,同时使用FPN+PANet对特征进行融合;并且用CSP2替换CBL×5模块,降低了网络的运算量,提高了算法检测速度;最后优化了Focal Loss函数,对正负样本添加权重,以解决正负样本不平衡的问题。本文算法相较于YOLO-V4的检测精度(precision,P)、召回率(recall,R)和多分类平均精度(mean average precision,mAP),分别高出2.98%,2.65%,2.92%,表明改进YOLO-V4可以有效检测贴片二极管表面缺陷问题。
文摘为完成烟叶精选工艺流程中打叶复烤后破碎烟叶的进一步去梗,实现破碎烟叶中烟梗的自动化检测,文章提出基于改进YOLO v4的轻量化烟梗识别方法。在YOLO v4基础模型上先后进行通道剪枝和层剪枝,大幅简化模型结构,改进后模型存储空间下降了93.77%,模型平均精度均值(mean average precision,mAP)和前向运算时间与基础模型持平。与同类别算法相比,模型精度平均提升8.7%,模型参数量大幅缩减。实验结果表明该实验剪枝模型更具轻量化,识别效果更好,能够满足实际生产需求。
文摘针对养殖池塘内单环刺螠自动采捕和产量预测应用需求,提出一种基于深度学习的单环刺螠洞口识别方法,以适用于自动采捕船的嵌入式设备。该方法通过将YOLO v4的主干网络CSPDarkNet53替换为轻量型网络Mobilenet v2,降低网络参数量,提升检测速度,并在此基础上使用深度可分离卷积块代替原网络中Neck和Detection Head部分的普通卷积块,进一步降低模型参数量;选取带色彩恢复的多尺度视网膜(Multi-scale retinex with color restoration,MSRCR)增强算法进行图像增强;利用K-means++算法对数据集进行重新聚类,对获得的新锚点框尺寸进行线性缩放优化,以提高目标检测效果。在嵌入式设备Jetson AGX Xavier上部署训练好的模型,对水下单环刺螠洞口检测的平均精度均值(Mean average precision,mAP)可达92.26%,检测速度为36 f/s,模型内存占用量仅为22.2 MB。实验结果表明,该方法实现了检测速度和精度的平衡,可满足实际应用场景下模型部署在单环刺螠采捕船嵌入式设备的需求。
基金This work was funded and supported by the Shandong Provincial Key Science and Technology Innovation Engineering Project(Grant No.2018CXGC0217)the 13th Five-Year National Key Research and Development Program(Grant No.2018YFD0300606).
文摘Traditional maize ear harvesters mainly rely on manual identification of fallen maize ears,which cannot realize real-time detection of ear falling.The improved You Only Look Once-V4(YOLO-V4)algorithm is combined with the channel pruning algorithm to detect the dropped ears of maize harvesters.K-means clustering algorithm is used to obtain a prior box matching the size of the dropped ears,which improves the Intersection Over Union(IOU).Compare the effect of different activation functions on the accuracy of the YOLO-V4 model,and use the Mish activation function as the activation function of this model.Improve the calculation of the regression positioning loss function,and use the CEIOU loss function to balance the accuracy of each category.Use improved Adam optimization function and multi-stage learning optimization technology to improve the accuracy of the YOLO-V4 model.The channel pruning algorithm is used to compress the model and distillation technology is used in the fine-tuning of the model.The final model size was only 10.77%before compression,and the test set mean Average Precision(mAP)was 93.14%.The detection speed was 112 fps,which can meet the need for real-time detection of maize harvester ears in the field.This study can provide technical reference for the detection of the ear loss rate of intelligent maize harvesters.