[1]亢娟娜,王淏,刘强.基于改进YOLO v5的轻量级苹果识别方法[J].江苏农业科学,2026,54(4):63-71.
 Kang Juanna,et al.A lightweight apple recognition method based on improved YOLO v5[J].Jiangsu Agricultural Sciences,2026,54(4):63-71.
点击复制

基于改进YOLO v5的轻量级苹果识别方法()

《江苏农业科学》[ISSN:1002-1302/CN:32-1214/S]

卷:
第54卷
期数:
2026年第4期
页码:
63-71
栏目:
智能农业装备
出版日期:
2026-02-20

文章信息/Info

Title:
A lightweight apple recognition method based on improved YOLO v5
作者:
亢娟娜1; 王淏1; 刘强2
1.甘肃畜牧工程职业技术学院,甘肃武威 733006; 2.甘肃农业大学信息科学技术学院,甘肃兰州 730070
Author(s):
Kang Juanna; et al
关键词:
果园环境; 苹果识别; YOLO v5; 轻量化; CA模块; EIoU_Loss
Keywords:
-
分类号:
TP391.41;S126
DOI:
-
文献标志码:
A
摘要:
为了在计算资源有限的边缘计算设备上高效集成苹果果实检测系统,针对自然果园环境下苹果果实的快速准确识别问题,提出一种基于改进YOLO v5的轻量化检测模型。首先,将YOLO v5主干替换为由Ghost Conv、Ghost Bottleneck组成的4组轻量级下采样模型,以减少模型的参数量、计算量;同时,在每个特征层加入协同注意力(CA)模块,以提高模型的特征提取能力,改善复杂环境下被遮挡目标的错检、漏检问题;此外,采用EIoU_Loss损失函数获得更精准的定位框。结果表明,改进后模型的平均精度均值(mAP)为95.23%,权重大小为8.9 MB,参数量、每秒浮点运算次数(FLOPs)分别为41.04 M、9.7 G;相比于原始YOLO v5,提出的Ghost-CAE YOLO v5模型的参数量、权重、FLOPs分别降低了41.6%、39.5%、39.0%,mAP提升了5.05百分点。在微型计算机上进行实时检测试验发现,所提模型对不同遮挡情况和不同光照条件下的复杂场景具有较好的检测精度和鲁棒性,实时检测速度达到 26.52帧/s,比原始YOLO v5提升了1.36倍,表明该模型适合部署在低性能的边缘计算设备上,可以满足采摘机器人视觉系统的要求。
Abstract:
-

参考文献/References:

[1]苑进. 选择性收获机器人技术研究进展与分析[J]. 农业机械学报,2020,51(9):1-17.
[2]Zhang Z,Zhou J,Yi B Y,et al. A flexible swallowing gripper for harvesting apples and its grasping force sensing model[J]. Computers and Electronics in Agriculture,2023,204:107489.
[3]Mhamed M,Zhang Z,Yu J F,et al. Advances in apples automated orchard equipment:a comprehensive research[J]. Computers and Electronics in Agriculture,2024,221:108926.
[4]Xiao F,Wang H B,Xu Y Q,et al. Fruit detection and recognition based on deep learning for automatic harvesting:an overview and review[J]. Agronomy,2023,13(6):1625.
[5]王湾湾. 基于深度学习技术的农业图像处理研究综述[J]. 科技资讯,2024,22(16):168-170.
[6]Rehman T U,Mahmud M S,Chang Y K,et al. Current and future applications of statistical machine learning algorithms for agricultural machine vision systems[J]. Computers and Electronics in Agriculture,2019,156:585-605.
[7]Lin G C,Tang Y C,Zou X J,et al. In-field citrus detection and localisation based on RGB-D image analysis[J]. Biosystems Engineering,2019,186:34-44.
[8]王粮局,张立博,段运红,等. 基于视觉伺服的草莓采摘机器人果实定位方法[J]. 农业工程学报,2015,31(22):25-31.
[9]Lin G C,Tang Y C,Zou X J,et al. Color-,depth-,and shape-based 3D fruit detection[J]. Precision Agriculture,2020,21(1):1-17.
[10]Wang C L,Liu S C,Wang Y W,et al. Application of convolutional neural network-based detection methods in fresh fruit production:a comprehensive review[J]. Frontiers in Plant Science,2022,13:868745.
[11]Saleem M H,Potgieter J,Arif K M. Automation in agriculture by machine and deep learning techniques:a review of recent developments[J]. Precision Agriculture,2021,22(6):2053-2091.
[12]Fu L S,Majeed Y,Zhang X,et al. Faster R-CNN-based apple detection in dense-foliage fruiting-wall trees using RGB and depth features for robotic harvesting[J]. Biosystems Engineering,2020,197:245-256.
[13]Gao F F,Fu L S,Zhang X,et al. Multi-class fruit-on-plant detection for apple in SNAP system using Faster R-CNN[J]. Computers and Electronics in Agriculture,2020,176:105634.
[14]Yu Y,Zhang K L,Yang L,et al. Fruit detection for strawberry harvesting robot in non-structural environment based on Mask-RCNN[J]. Computers and Electronics in Agriculture,2019,163:104846.
[15]赵德安,吴任迪,刘晓洋,等. 基于YOLO深度卷积神经网络的复杂背景下机器人采摘苹果定位[J]. 农业工程学报,2019,35(3):164-173.
[16]闫彬,樊攀,王美茸,等. 基于改进 YOLO v5m的采摘机器人苹果采摘方式实时识别[J]. 农业机械学报,2022,53(9):28-38,59.
[17]Yuan T,Lv L,Zhang F,et al. Robust cherry tomatoes detection algorithm in greenhouse scene based on SSD[J]. Agriculture,2020,10(5):160.
[18]Lu Y H,Zhang L W,Xie W.YOLO-compact:an efficient YOLO network for single category real-time object detection[C]//2020 Chinese Control and Decision Conference (CCDC).August 22-24,2020.Hefei,China.IEEE,2020:1931-1936.
[19]张震,周俊,江自真,等. 基于改进YOLO v7轻量化模型的自然果园环境下苹果识别方法[J]. 农业机械学报,2024,55(3):231-242,262.
[20]Zhang C X,Kang F,Wang Y X. An improved apple object detection method based on lightweight YOLO v4 in complex backgrounds[J]. Remote Sensing,2022,14(17):4150.
[21]Chen J Y,Liu H,Zhang Y T,et al. A multiscale lightweight and efficient model based on YOLO v7:applied to citrus orchard[J]. Plants,2022,11(23):3260.
[22]Sun H,Wang B Q,Xue J L. YOLO-P:an efficient method for pear fast detection in complex orchard picking environment[J]. Frontiers in Plant Science,2023,13:1089454.
[23]黄少华,梁喜凤. 基于改进YOLO v5的茶叶杂质检测算法[J]. 农业工程学报,2022,38(17):329-336.
[24]Han K,Wang Y H,Tian Q,et al. GhostNet:more features from cheap operations[C]//2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).June 13-19,2020,Seattle,WA,USA.IEEE,2020:1577-1586.
[25]崔海彬,蒲东兵,陆云凤,等. 基于CA-YOLO的安全帽佩戴检测[J]. 东北师大学报(自然科学版),2023,55(3):94-100.
[26]Liu Z F,Abeyrathna R M R D,Mulya Sampurno R,et al. Faster-YOLO-AP:a lightweight apple detection algorithm based on improved YOLO v8 with a new efficient PDWConv in orchard[J]. Computers and Electronics in Agriculture,2024,223:109118.

相似文献/References:

[1]高梦圆,马双宝,董玉婕,等.基于实例分割苹果采摘机器人视觉定位与检测[J].江苏农业科学,2022,50(3):201.
 Gao Mengyuan,et al.Visual localization and detection of apple picking robot based on instance segmentation[J].Jiangsu Agricultural Sciences,2022,50(4):201.
[2]杨国亮,孙刘衍,洪鑫芳.果园复杂环境下的酥梨检测算法研究[J].江苏农业科学,2025,53(11):209.
 Yang Guoliang,et al.Study on pear detection algorithm in orchard complex environment[J].Jiangsu Agricultural Sciences,2025,53(4):209.

备注/Memo

备注/Memo:
收稿日期:2025-01-14
基金项目:国家自然科学基金(编号:32160416)。
作者简介:亢娟娜(1980—),女,陕西蒲城人,硕士,副教授,主要研究方向为计算机应用、农业信息化。E-mail:448915499@qq.com。
更新日期/Last Update: 2026-02-20