Research on Accurate Recognition and Anti-occlusion Optimization of Camellia Oleifera Fruits Based on YOLOv11
摘要
针对油茶采摘受枝叶遮挡、光照干扰与多尺度目标混杂的影响,传统检测模型存在漏检率高、定位精度差的问题,本文提出一种改进的YOLOv11的茶油果视觉识别方法.该方法以YOLOv11网络为基础,在主干特征提取部分引入多尺度边缘增强模块强化茶油果轮廓与浅层细节的特征表达;再采用SIoU损失函数替换CIoU损失函数,增加方向约束与位置收敛效果,提升遮挡果实的边界框定位精度;最后,结合茶油果实际尺寸分布完成锚框聚类优化,以适配小目标与密集果实的检测场景.试验结果显示,改进后的YOLOv11模型较原始模型与YOLOv8模型的综合性能有明显提升,mAP@0.5达到68.77%,召回率达到68.07%,检测帧率能达到46FPS.该方法能有效改善枝叶遮挡、背景杂乱造成的漏检与误检问题,兼顾识别精度与实时性,可为油茶果园智能化监测、自动化采摘设备的视觉感知提供技术参考,也能为林果类作物在复杂田间的目标检测任务提供有价值的借鉴.
To address the challenges of branch and leaf occlusion,illumination interference,and multi-scale target mixing in Camellia oleifera fruit harvesting,where traditional detection models suffer from high miss rates and poor localization accuracy,this paper proposed an improved YOLOv11-based visual recognition method for Camellia oleifera fruit.Built upon the YOLOv11 network,this method introduced a multi-scale edge enhancement module in the backbone feature extraction stage to strengthen the feature representation of fruit contours and shallow details.Furthermore,the CIoU loss function was replaced with the SIoU loss function,adding directional constraints and improving positional convergence to enhance bounding box localization accuracy for occluded fruits.Finally,anchor box clustering optimization is performed based on the actual size distribution of Camellia oleifera fruit to adapt to detection scenarios involving small targets and dense fruit clusters.Experimental results demonstrated that the improved YOLOv11 model significantly outperforms both the original model and the YOLOv8 model in comprehensive performance,achieving an mAP@0.5 of 68.77%,a recall of 68.07%,and a detection frame rate of 46 FPS.This method effectively reduced missed and false detections caused by branch and leaf occlusion and cluttered backgrounds,while balancing recognition accuracy and real-time performance.It provided a technical reference for the visual perception of intelligent monitoring and automated harvesting equipment in Camellia oleifera orchards,as well as offer valuable insights for object detection tasks of fruit trees in complex field environments.