计算机工程与应用 ›› 2025, Vol. 61 ›› Issue (16): 305-314.DOI: 10.3778/j.issn.1002-8331.2411-0193

• 工程与应用 • 上一篇    下一篇

嵌入式平台的番茄叶片病虫害检测模型

孙寿松,李新凯,张宏立,何亮,赵苓   

  1. 1.新疆大学 电气工程学院,乌鲁木齐 830017 
    2.新疆大学 智能科学与技术学院,乌鲁木齐 830017
    3.清华大学 电子工程系 北京信息科学与技术国家研究中心,北京 100084 
    4.天津大学 精密仪器与光电子工程学院,天津 300072
  • 出版日期:2025-08-15 发布日期:2025-08-15

Embedded Platform for Tomato Leaf Pest Detection Model

SUN Shousong, LI Xinkai, ZHANG Hongli, HE Liang, ZHAO Ling   

  1. 1.School of Electrical Engineering, Xinjiang University, Urumqi 830017, China
    2.College of Intelligent Science and Technology, Xinjiang University, Urumqi 830017, China
    3.Beijing National Research Center of Information Science and Technology, Department of Electronic Engineering, Tsinghua University, Beijing 100084, China
    4.College of Precision Instrument and Optoelectronic Engineering, Tianjin University, Tianjin 300072, China
  • Online:2025-08-15 Published:2025-08-15

摘要: 针对真实田间环境下背景复杂、病虫害特征小以及现有检测模型难以部署的问题,提出一种RHEO-YOLO模型,并将改进模型部署于移动平台以实现实时检测。设计高效重参数聚合网络(RepELAN)模块以优化原有的C2f模块,在模型推理时将多分支网络结构重参数化,实现在不影响精度的同时降低模型参数量。使用高层筛选特征金字塔网络(high-level screening feature pyramid network,HSFPN)替换原有特征融合网络,增强模型对番茄叶片病虫害特征的表达能力。重新设计YOLOv8的检测头,并将损失函数更改为OIOU,加快模型收敛速度,并提高检测精度。实验结果表明改进后模型的精确率和召回率为89.4%和84.2%,平均检测精度为88.9%,同时参数量和模型大小分别降低约63%和60%,与其他目标检测模型相比,RHEO-YOLO模型在计算复杂度、检测精度方面具有更好的综合检测性能。在嵌入式设备Jetson Nano和Jetson Xavier NX上实时检测帧率分别为8.3?FPS和29.4?FPS,基本满足实时检测要求。改进后的模型能够有效检测自然环境下的番茄叶片病虫害目标,为番茄叶片病虫害检测算法改进和实际应用提供理论和技术支持。

关键词: 番茄叶片, YOLOv8, 轻量化, 目标检测, 嵌入式设备

Abstract: Aiming at the problems of complex background, small characteristics of pests and diseases and the difficulty in deploying existing detection models in the real field environment, a RHEO-YOLO model is proposed, and the deep learning model is deployed on a mobile platform to enable real-time detection. The re-parameterized efficient layer aggregation network (RepELAN) module is designed to optimize the original C2f module, and the multi-branch network structure is re-parameterized during model inference, so as to reduce the number of model parameters without affecting the accuracy. A high-level screening feature pyramid network (HSFPN) is employed to replace the original feature fusion network, enhancing the representational capability of the model for detecting tomato leaf pests and diseases. The detection head of YOLOv8 is redesigned, and the loss function is changed to OIOU to accelerate model convergence and improve detection accuracy. Experimental results show that the improved model achieves an accuracy of 89.4% and a recall rate of 84.2%, with an average detection accuracy of 88.9%. Furthermore, the number of parameters and model size are reduced by approximately 63% and 60%, respectively. Compared with other target detection models, the improved model demonstrates superior comprehensive detection performance in terms of computational complexity and detection accuracy. On the embedded devices Jetson Nano and Jetson Xavier NX, real-time detection frame rates of 8.3 FPS and 29.4 FPS are achieved, basically meeting the real-time detection requirements. The proposed model effectively detects tomato leaf pests and diseases in complex environments, providing theoretical and technical support for the enhancement and practical application of tomato leaf pest detection algorithms.

Key words: tomato leaf, YOLOv8, lightweight, target detection, embedded device