基于改进YOLO v8n ByteTrack的温室番茄果实巡检计数方法
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

北京市农林科学院创新能力建设专项(KJCX20260901)


Greenhouse Tomato Fruit Inspection and Counting Method Based on Improved YOLO v8n ByteTrack
Author:
Affiliation:

Fund Project:

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

    番茄果实数量的精确统计是产量评估和智能化管理的重要基础。为实现温室环境下丛生枝叶间果实动态检测与计数,提出了以改进YOLO v8n检测模型和ByteTrack跟踪算法组合为主要框架的番茄果实动态计数方法。在YOLO v8n检测模型中引入小波下采样模块和P2检测头,并设计MLLA注意力机制,提高模型在复杂背景下的检测性能,并基于ByteTrack引入自适应低分匹配重试策略。最后,基于改进后的ALRM Track提出一种基于序列区域匹配机制计数。试验结果表明,改进后的YOLO v8n MAFP模型在番茄果实数据集上的检测平均精度均值达到96.9%,较原始模型提升2.4个百分点;结合YOLO v8n MAFP改进的ALRM Track算法,多目标跟踪准确率提升至88.2%,ID跳变次数减少至2次;采用序列区域匹配机制计数,在5组温室视频试验中的平均绝对误差仅为1.4,平均计数精度达到96.6%,显著优于传统划线计数和区域计数方法。温室环境试验表明,基于改进YOLO v8n ByteTrack模型适用于温室番茄的估产统计需求。

    Abstract:

    Accurate counting of tomato fruits is crucial for yield assessment and intelligent management. To achieve dynamic detection and counting of fruits among clustered branches in greenhouse environments, a dynamic tomato fruit counting method was proposed, primarily based on an improved YOLO v8n detection model and the ByteTrack tracking algorithm. A wavelet downsampling module and a P2 detection head were introduced into the YOLO v8n detection model, and an MLLA attention mechanism was designed to improve the model's detection performance in complex backgrounds. An adaptive low-score matching retry strategy was introduced based on ByteTrack. Finally, a counting method based on sequence region matching was proposed by using the improved ALRM Track. Experimental results showed that the improved YOLO v8n MAFP model achieved an average detection accuracy of 96.9% on the tomato fruit dataset, a 2.4 percentage points improvement over the original model. Combined with the improved ALRM Track algorithm of YOLO v8n MAFP, the multi-target tracking accuracy was increased to 88.2%, and the number of ID switching operations was reduced to 2. Using a sequence region matching mechanism for counting, the average absolute error in five greenhouse video experiments was only 1.4, with a counting accuracy of 96.6%, significantly outperforming traditional line-based counting and region-based counting methods. Greenhouse environment experiments demonstrated that the improved YOLO v8n ByteTrack model was suitable for the statistical needs of greenhouse tomato yield estimation.

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

冯青春,李豪博,陈诗琪,刘静,李亚军.基于改进YOLO v8n ByteTrack的温室番茄果实巡检计数方法[J].农业机械学报,2026,57(5):127-137. FENG Qingchun, LI Haobo, CHEN Shiqi, LIU Jing, LI Yajun. Greenhouse Tomato Fruit Inspection and Counting Method Based on Improved YOLO v8n ByteTrack[J]. Transactions of the Chinese Society for Agricultural Machinery,2026,57(5):127-137.

复制
分享
相关视频

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