期刊文献+

利用改进的YOLOv5s检测莲蓬成熟期 被引量:2

Detecting lotus seedpod maturation using improved YOLOv5s
下载PDF
导出
摘要 为解决莲田环境下不同成熟期莲蓬的视觉感知问题,该研究提出了一种改进YOLOv5s的莲蓬成熟期检测方法。首先,通过在主干特征网络中引入BoT(bottleneck transformer)自注意力机制模块,构建融合整体与局部混合特征的映射结构,增强不同成熟期莲蓬的区分度;其次,采用高效交并比损失函数EIoU(efficient IoU)提高了边界框回归定位精度,提升模型的检测精度;再者,采用K-means++聚类算法优化初始锚框尺寸的计算方法,提高网络的收敛速度。试验结果表明,改进后YOLOv5s模型在测试集下的精确率P、召回率R、平均精度均值mAP分别为98.95%、97.00%、98.30%,平均检测时间为6.4ms,模型尺寸为13.4M。与YOLOv3、 YOLOv3-tiny、 YOLOv4-tiny、 YOLOv5s、YOLOv7检测模型对比,平均精度均值mAP分别提升0.2、1.8、1.5、0.5、0.9个百分点。基于建立的模型,该研究搭建了莲蓬成熟期视觉检测试验平台,将改进YOLOv5s模型部署在移动控制器Raspberry Pi 4B中,对4种距离范围下获取的莲蓬场景图像进行模型测试。结果表明:在4种距离范围下改进的YOLOv5s算法m AP值均优于YOLOv5与YOLOv3-tiny模型,最佳的检测距离范围是0.5~1.0m。基于改进YOLOv5s网络的莲蓬成熟期检测方法可以为莲蓬智能采摘装备的研制提供理论依据,并为其他逆重力生长果蔬的成熟期检测提供借鉴。 An accurate detection has been a great challenge at the varying maturity stages of lotus seedpods within the dynamic field environments.In this study,a groundbreaking approach was proposed to robustly detect and distinguish the maturity levels of lotus seedpods.The improved YOLOv5s model was also selected for computer vision and precision agriculture.The Bottleneck Transformer(BoT)self-attention mechanism module was first incorporated into the core feature network.The global and local features were then integrated into the mapping structure.This fusion also amplified the discernibility between different maturity stages of lotus seedpods under the ever-changing visual conditions within the lotus fields.Intersection over Union(EIoU)loss function was used to enhance the precision of bounding box regression.The improved model was then optimized to precisely delineate the contours and boundaries of lotus seedpods.A substantial elevation of detection was found in precision agriculture.K-means++clustering was introduced to enhance the network convergence,in order to recalibrate the calculation of initial anchor box sizes.A more accurate and efficient learning process was then achieved to ultimately enhance the performance of the improved model more accessible for practical applications.The results show that outstanding performance was achieved in the improved YOLOv5s model on the test dataset,with the boasting precision(P)rates of 98.95%,recall(R)rates of 97.00%,and an impressive mean average precision(mAP)score of 98.30%.Notably,the average detection time remained at 6.4 ms,with a compact model size of 13.4 megabytes.The improved YOLOv5s model performed better than most detection models,including YOLOv3,YOLOv3-tiny,YOLOv4-tiny,YOLOv5s,and YOLOv7.There were substantial improvements of 0.2 percentage points,1.8 percentage points,1.5 percentage points,0.5 percentage points,and 0.9 percentage points in mAP,respectively,indicating better detection of the lotus seedpod maturity.Furthermore,a real-time detection system of lotus seedpod maturity was established to integrate the improved YOLOv5s model into a Raspberry Pi 4B mobile controller.Additionally,four distance ranges were tested to verify the improved model.The better performance was obtained in the 0.5-meter to 1.0-meter detection ranges,compared with the YOLOv5 and YOLOv3-tiny models.This YOLOv5s-based approach can be expected to detect the maturity of lotus seedpods for the development of intelligent harvesting equipment.The applicability of the improved model can also be extended to the defying gravity during growth for sustainable and efficient crop management in the frontiers of precision agriculture and industry practices.In summary,modern computer vision can greatly contribute to agricultural needs,such as the improved YOLOv5s model.The accurate and rapid detection of lotus seedpod maturity was achieved for better efficiency,sustainability,and productivity in precision agriculture and smart farming,as well as the crop maturity detection in gravity-defying plants.
作者 范万鹏 刘孟楠 马婕 刘国海 卢安舸 马秋成 FAN Wanpeng;LIU Mengnan;MA Jie;LIU Guohai;LU Ange;MA Qiucheng(School of Electrical and Information Engineering,Jiangsu University,Zhenjiang 212013,China;National Key Laboratory of Intelligent Agricultural Equipment,Luoyang 471039,China;School of Mechanical Engineering and Mechanics,Xiangtan University,Xiangtan 411105,China)
出处 《农业工程学报》 EI CAS CSCD 北大核心 2023年第18期183-191,共9页 Transactions of the Chinese Society of Agricultural Engineering
基金 国家自然科学基金项目(52205285,52175255) 智能农业动力装备全国重点实验室开放基金项目(SKLIAPE2023010) 复杂轨迹加工工艺及装备教育部工程研究中心开放基金项目(FZGJ2020-007) 中国博士后科学基金面上资助(2023M731374)。
关键词 图像处理 深度学习 莲蓬 YOLOv5s 成熟期检测 自注意力机制 image processing deep learning lotus seedpod YOLOv5s maturation detection self-attention mechanism
  • 相关文献

参考文献15

二级参考文献183

共引文献229

同被引文献27

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部