基于YOLO v5-MNv4S与RANSAC-GN的柑橘姿态估计方法
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

重庆市杰出青年科学基金项目(2022NSCQ-JQX0030)、宜宾市双城协议保障科研经费科技项目(XNDX2022020015)、中央高校基本科研业务费项目(Swu-XDJH202302)和重庆市研究生科研创新项目(CYB23125)


Citrus Pose Estimation Based on YOLO v5-MNv4S and RANSAC-GN
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    为解决果园环境下的柑橘多变姿态估计问题,提高柑橘采收成功率,本文提出一种轻量化目标检测网络YOLO v5-MNv4S,与改进的随机采样一致性-高斯牛顿(Random sample consensus-Gauss Newton,RANSAC-GN)点云处理算法,根据柑橘生长及末端采摘流程定义柑橘姿态,构建了柑橘姿态实时估计系统。首先将YOLO v5s骨干网络优化为轻量化特征提取网络(MNv4-Conv-S),大幅降低训练参数,使最终输出网络权重轻量化,减少计算量,提高识别效率;其次添加CA注意力机制及替换损失函数为SIoU,解决了轻量化网络特征提取能力弱的问题。上述改进实现了YOLO v5-MNv4S网络轻量化与优于YOLO v5s的检测能力。D435i型相机采集图像后输入到YOLO v5-MNv4S获取目标边界框,使用针孔模型输出柑橘区域点云,分割出柑橘表面点云,结合本文改进的RANSAC-GN点云算法拟合出准确稳定的柑橘参数,融合果蒂空间坐标,最终输出待采摘柑橘空间姿态结果。消融试验及网络对比试验结果表明,轻量化的YOLO v5-MNv4S精度为93.1%,参数量仅为YOLO v5s的14.7%,对比 YOLO v5s-Ghost以及YOLO v7 、YOLO v8等网络,其在参数大幅缩减的同时,识别精度最佳。柑橘定位与姿态识别试验结果表明,采用RANSAC-GN的柑橘参数拟合误差为(0.18,0.19,0.44)mm,姿态估计误差为2.56°,姿态估计准确,真实果园环境下柑橘姿态估计结果与真实柑橘一致。该研究能满足果园环境下对柑橘姿态的识别,可为结构化柑橘果园机械采收设备提供技术支持。

    Abstract:

    Aiming to address the challenge of estimating the variable pose of citrus in orchard environments and enhance the citrus harvesting success rate, a lightweight target detection network, YOLO v5-MNv4S, along with an improved random sample consensus-Gauss Newton (RANSAC-GN) point cloud processing algorithm was introduced. The citrus pose was defined based on actual citrus growth and the final harvesting process, constructing a real-time citrus pose estimation system. The YOLO v5s backbone network was optimized to be a lightweight feature extraction network (MNv4- Conv-S), which significantly reduced the training parameters so that the final output network weights were lightweight, reducing the amount of computation and improving the recognition efficiency. Additionally, the CA attention mechanism was incorporated, and the loss function was replaced with SIoU, addressing the weak feature extraction ability of the lightweight network. These improvements resulted in a lightweight YOLO v5-MNv4S network with superior detection capabilities compared with YOLO v5s. After the D435i image acquisition, YOLO v5-MNv4S was input to detect the target bounding box by using the pinhole model to output the citrus regional point cloud, segment the citrus surface point cloud, combined with the improved RANSAC-GN point cloud algorithm to fit accurate and stable citrus parameters, then fusion of the stemend spatial coordinates, and ultimately the output of citrus spatial pose results to be harvested. Ablation experiments and network comparisons demonstrated that the lightweight YOLO v5-MNv4S achieved 93.1% accuracy, with only 14.7% of the parameters found in YOLO v5s. Compared with YOLO-Ghost, YOLO v7, YOLO v8, and other networks, it offered the best recognition accuracy with significantly reduced parameters. Experimental results for citrus localization and pose recognition showed that the citrus parameter fitting error using RANSAC-GN was (0.18,0.19,0.44) mm, and the pose estimation error was 2.56°. The pose estimation was accurate, and the estimation results of citrus pose in real orchard environments were consistent with real citrus. The research result can recognize citrus pose in orchard environments and provide technical support for structured citrus orchard mechanical harvesting equipment.

    参考文献
    相似文献
    引证文献
引用本文

李丽,张官明,张云峰,梁继元,淳长品.基于YOLO v5-MNv4S与RANSAC-GN的柑橘姿态估计方法[J].农业机械学报,2025,56(10):558-566. LI Li, ZHANG Guanming, ZHANG Yunfeng, LIANG Jiyuan, CHUN Changpin. Citrus Pose Estimation Based on YOLO v5-MNv4S and RANSAC-GN[J]. Transactions of the Chinese Society for Agricultural Machinery,2025,56(10):558-566.

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2024-07-16
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2025-10-10
  • 出版日期:
文章二维码