智能化农业装备学报(中英文)2026,Vol.7Issue(1):52-62,11.DOI:10.12398/j.issn.2096-7217.2026.01.006
基于改进YOLOv8n的苹果采摘机器人识别算法研究
Research on apple picking robot recognition algorithm based on improved YOLOv8n
摘要
Abstract
To address the issues of low detection accuracy and poor robustness of apple picking robots caused by complex environmental factors such as branch and leaf occlusion and uneven light distribution in orchards,this study proposes an apple fruit detection algorithm that improves the lightweight model of the YOLOv8n network,aiming to enhance the accuracy and reliability of apple detection in complex scenarios.Firstly,an"MPCA"(multi-scale position-channel attention)is added at the end of the backbone network to precisely capture the position information of apples at different scales,thereby enhancing the model's perception of target position features and effectively reducing the interference of complex orchard environments on detection results.Secondly,a"FocusFeature"feature fusion module is introduced in the neck network,which uses multi-scale depth wise separable convolution to achieve information fusion and feature enhancement,improving the model's detection capability.Finally,the loss function CIoU is replaced with WIoUv3(WiseIoU),dynamically adjusting the weight of samples in the loss calculation based on the matching quality of predicted and ground truth boxes,effectively enhancing the model's localization accuracy.Experiments show that the improved model achieves an accuracy of 92.2%,a recall rate of 86.4%,and mAP@0.5 and mAP@[0.5:0.95]of 94.4%and 72.4%respectively in complex orchard environments,representing improvements of 3.4%,6%,3.9%,and 2.8%compared to the original algorithm.Ablation experiments reveal that WIoUv3,MPCA,and FocusFeature feature fusion module increase mAP@0.5 by 0.3%,0.9%,and 1.1%respectively,with performance enhancement achieved through the synergy of multiple modules.The model size is 6.69 MB,only 0.74 MB larger thanthe original model,without significantly increasing the computational load.Compared with mainstream algorithms such as YOLOv5n,YOLOv7-tiny,and YOLOv11n,the improved model increases the accuracy by 3.9%,7.6%,and 5.7%respectively,and mAP@[0.5:0.95]by 2.5%,9.9%,and 13%,demonstrating significant advantages in detection accuracy and generalization ability.It is evident that the improved YOLOv8n algorithm proposed in this study significantly enhances the accuracy and robustness of apple detection in complex orchard environments through the collaborative effect of multiple modules,providing an effective technical solution for the practical application of picking robots and playing a crucial role in promoting the intelligent development of apple harvesting.关键词
YOLOv8n/采摘机器人/目标检测/轻量化/模型改进/复杂果园环境Key words
YOLOv8n/picking robot/object detection/lightweight/model improvement/complex orchard environment分类
农业科技引用本文复制引用
门晓龙,何义川,汤智辉,刘湛,潘思祺,姚欢杰..基于改进YOLOv8n的苹果采摘机器人识别算法研究[J].智能化农业装备学报(中英文),2026,7(1):52-62,11.基金项目
新疆生产建设兵团科技计划(2024BA005) Science and Technology Program of Xinjiang Production and Construction Corps(XPCC)(2024BA005) (2024BA005)