Ye Wei, Jiang Fei, Li Zhaoxing, Zhao Lei, Wang Jiaoyu, Wang Hongkai
College of Control Science and Engineering, Zhejiang University, Hangzhou 310027, China.
Huzhou Institute of Zhejiang University, Huzhou, China.
Plant Dis. 2025 Jun;109(6):1328-1339. doi: 10.1094/PDIS-08-24-1685-RE. Epub 2025 Jun 19.
To meet the need of crop leaf disease detection in complex scenarios, this study designs a method based on the computing power of mobile devices that ensures both detection accuracy and real-time efficiency, offering significant practical application value. Based on a comparison with existing mainstream detection models, this paper proposes a target detection and recognition algorithm, TG_YOLOv5, which utilizes multidimensional data fusion on the YOLOv5 model. The Triplet Attention mechanism and C3CBAM module are incorporated into the network structure to capture connections between spatial and channel dimensions of input feature maps, thereby enhancing the model's feature extraction capabilities without significantly increasing the parameter count. The GhostConv lightweight module is used to construct the backbone network, reducing model complexity, shrinking the model size, and improving detection speed. A self-constructed rice leaf disease dataset is used for experimentation. Results show that TG_YOLOv5 achieves a mean Average Precision (mAP) of 98.3% and a recall rate of 97.2%, representing a 1.2% improvement in mAP and a 4.3% improvement in recall over the traditional YOLOv5 algorithm. The trained lightweight model is then deployed on a Raspberry Pi using the mobile neural network (MNN) engine for acceleration, showing a 73.8% increase in detection speed across models after MNN acceleration. Additionally, this model achieves satisfactory detection accuracy and speed on apple and tomato datasets, validating its generalization ability. This research provides a theoretical foundation for remote real-time detection of rice diseases in agriculture.
为满足复杂场景下作物叶片病害检测的需求,本研究基于移动设备的计算能力设计了一种方法,该方法兼顾检测精度和实时效率,具有重要的实际应用价值。通过与现有主流检测模型对比,本文提出了一种目标检测与识别算法TG_YOLOv5,该算法在YOLOv5模型上进行了多维数据融合。将三重注意力机制和C3CBAM模块融入网络结构,以捕捉输入特征图空间维度和通道维度之间的联系,从而在不显著增加参数数量的情况下增强模型的特征提取能力。使用GhostConv轻量级模块构建主干网络,降低模型复杂度,缩小模型规模,提高检测速度。利用自行构建的水稻叶片病害数据集进行实验。结果表明,TG_YOLOv5的平均精度均值(mAP)达到98.3%,召回率为97.2%,相较于传统YOLOv5算法,mAP提高了1.2%,召回率提高了4.3%。随后,使用移动神经网络(MNN)引擎将训练好的轻量级模型部署到树莓派上进行加速,MNN加速后各模型的检测速度提高了73.8%。此外,该模型在苹果和番茄数据集上也取得了令人满意的检测精度和速度,验证了其泛化能力。本研究为农业中水稻病害的远程实时检测提供了理论基础。