• 首页
  • 期刊简介
  • 编委会
  • 投稿指南
  • 收录情况
  • 杂志订阅
  • 联系我们
引用本文:李一凡,刘从军.基于改进YOLOv5s的樱桃成熟度检测模型[J].软件工程,2025,28(4):47-52.【点击复制】
【打印本页】   【下载PDF全文】   【查看/发表评论】  【下载PDF阅读器】  
←前一篇|后一篇→ 过刊浏览
分享到: 微信 更多
基于改进YOLOv5s的樱桃成熟度检测模型
李一凡,刘从军
(江苏科技大学计算机学院,江苏 镇江 210034)
211710701111@stu.just.edu.cn; jsjxy@just.edu.cn
摘 要: 针对智能采摘领域中樱桃成熟度检测的挑战,文章选取了YOLOv5s模型作为基础,并进行了针对性的改进和优化,旨在提升模型在樱桃成熟度检测任务中的性能和准确性。首先采用GhostNet替代主干网络,其次增加了NAMAttention模块,显著减少了模型的参数数量和计算需求,并且提升了检测准确性。实验结果显示,改进后的模型与YOLOv5s相比,每秒帧数提升了34%,参数数量减少了25%,FLOPs降低了29%,并且在mAP@0.5 指标上实现了约6.2%的提升。此外,与多阶段模型相比,该模型在平均精度、效率和计算负载方面均表现优越。由此可见,改进后的模型能够更加高效、精准地进行樱桃成熟度识别。
关键词: 目标检测;果实成熟度检测;YOLOv5s;Ghostnet;NAMAttention
中图分类号: TP399    文献标识码: A
Cherry Ripeness Detection Model Based onImproved YOLOv5s
LI Yifan, LIU Congjun
(School of Computer Science, Jiangsu University of Science and Technology, Zhenjiang 210034, China)
211710701111@stu.just.edu.cn; jsjxy@just.edu.cn
Abstract: In response to the challenges of cherry ripeness detection in the field of intelligent harvesting, this paper selects the YOLOv5s model as the foundation and introduces targeted improvements and optimizations to enhance the model's performance and accuracy in cherry ripeness detection tasks. Firstly, GhostNet replaces the original backbone network, followed by the integration of a NAMAttention module, significantly reducing the model ' s parameter count and computational demands while improving detection accuracy. Experimental results demonstrate that,compared to YOLOv5s, the improved model achieves a 34% increase in frames per second, a 25% reduction in parameter count, a 29% decrease in FLOPs, and an approximate 6. 2% improvement in the mAP@ 0. 5 metric.Furthermore, compared to multi-stage models, the proposed model exhibits superior performance in average precision, efficiency, and computational load. These findings indicate that the improved model can perform cherry ripeness recognition more efficiently and accurately.
Keywords: object detection; fruit ripeness detection;YOLOv5s; Ghostnet; NAMAttention


版权所有:软件工程杂志社
地址:辽宁省沈阳市浑南区新秀街2号 邮政编码:110179
电话:0411-84767887 传真:0411-84835089 Email:semagazine@neusoft.edu.cn
备案号:辽ICP备17007376号-1
技术支持:北京勤云科技发展有限公司

用微信扫一扫

用微信扫一扫