首页|期刊导航|机械与电子|基于改进YOLOv5的复杂果园环境下梨桃果实轻量化检测与成熟度识别方法

基于改进YOLOv5的复杂果园环境下梨桃果实轻量化检测与成熟度识别方法OA

Lightweight Detection and Maturity Recognition of Pear and Peach Fruits in Complex Orchard Environments Based on an Improved YOLOv5 Model

中文摘要英文摘要

针对复杂果园环境下梨、桃果实检测精度不足以及现有模型计算开销较大的问题,提出一种基于改进 YOLOv5 的轻量化球类果实检测方法,实现梨、桃果实检测及成熟度识别.在模型设计上,引入BiFPN 双向特征融合结构增强多尺度特征表达;设计 PGR-C3 轻量化模块,在降低模型计算量和参数量的同时保持特征提取能力;设计 PR-ECA 注意力模块增强关键特征表征;采用 WIoU 损失函数优化边界框回归精度.实验结果表明:改进模型的精确率、召回率和平均精度(mAP50)分别达到 86.5%、84.0%和89.2%,较原始 YOLOv5 分别提高 4.9 百分点、3.2 百分点和 2.3 百分点;计算量、参数量和模型体积分别降低 26.6%、25.9%和 25.0%.与 Faster R-CNN、SSD、YOLOv3、YOLOv8 和 YOLOv1 1 等主流目标检测模型相比,所提方法在检测精度和轻量化性能方面均具有较好的综合优势.

To address the issues of insufficient detection accuracy for pear and peach fruits in complex orchard environments and the high computational cost of existing models,a lightweight spherical fruit de-tection method based on an improved YOLOv5 model is proposed for the simultaneous detection and matu-rity recognition.In model design,a BiFPN bidirectional feature fusion structure is introduced to enhance multi-scale feature representation;a PGR-C3 lightweight module is designed to reduce computational load and the number of parameters while preserving feature extraction capability;a PR-ECA attention module is developed to reinforce the representation of key features;and the WIoU loss function is adopted to optimize bounding box regression accuracy.Experimental results demonstrate that the improved model achieves a precision of 86.5%,recall of 84.0%,and a mean average precision(mAP50)of 89.2%,which are 4.9 percentage points,3.2 percentage points,and 2.3 percentage points higher than those of the original YOLOv5,respectively.Meanwhile,the computational complexity,the number of parameters,and the model size are reduced by 26.6%,25.9%,and 25.0%,respectively.Compared with mainstream object detection models such as Faster R-CNN,SSD,YOLOv3,YOLOv8,and YOLOv11,the proposed method demon-strates favorable comprehensive advantages in both detection accuracy and lightweight performance.

谢瑞平;张志安

南京理工大学机械工程学院,江苏 南京 210094南京理工大学机械工程学院,江苏 南京 210094

信息技术与安全科学

果实检测成熟度识别YOLOv5轻量化

fruit detectionmaturity recognitionYOLOv5lightweight

《机械与电子》 2026 (9)

26-33,8

江苏省现代农机装备与技术示范推广项目(NJ2023-13)

评论