基于改进YOLO v5s 的水稻病害图像检测模型研究
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家重点研发计划青年科学家项目(2022YFD2000200)和国家自然科学基金(面上)项目(32171895)


Rice Disease Image Recognition Model Based on Improved YOLO v5s and FPGA Edge Resolution
Author:
Affiliation:

Fund Project:

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

    针对基于图像的水稻病害现场检测技术计算能力不足,难以实现快速识别和实时检测的问题,本文提出了一种基于现场可编程门阵列(Field programmable gate array, FPGA)本地部署推理的改进YOLO v5s 目标检测方法。首先,将主干网络替换为轻量级网络ShuffleNetV2,以减少冗余计算和内存访问;其次,引入归一化Wasserstein 距离(Normalized Wasserstein distance, NWD)损失函数,以增强对小目标病害的检测能力;然后,在颈部网络的每个综合卷积模块( Comprehensive convolution block, C3) 后添加指数移动平均注意力机制( Exponential moving average,EMA),以增强病害特征提取能力;最后将激活函数替换为修正线性单位(Rectified linear unit, ReLU)激活函数,进一步简化计算。改进后模型的参数量减少54.3% ,计算量减少62.7% ,帧速率提升16% ,精确率提高0.9 个百分点,平均精度均值为86.8% 。将改进模型映射到FPGA 平台上,并通过定点量化技术将模型内存占用量缩至4.2 MB,相较于原模型减少了71.03% 。试验结果表明,在FPGA 平台上部署后的平均精度均值为85.6% ,移植精度达98.6% ,单幅病害图像平台检测时间为0.048 5 s,平均功耗为12.80 W。该研究为农业生产过程中的病害检测提供高效的边缘解析方法。

    Abstract:

    Aiming to address the challenges of insufficient computational power, slow recognition, and the lack of real-time detection in image-based rice disease field detection, an improved YOLO v5s-based (you only look once version 5 small)model was proposed for rice disease image recognition and FPGA-based edge computing. Firstly, the backbone network was replaced with the lightweight ShuffleNetV2 to reduce redundant computation and memory access. Secondly, the normalized Wasserstein distance (NWD)loss function was introduced to enhance detection performance for small-target diseases. Thirdly, an exponential moving average ( EMA ) attention mechanism was added after each comprehensive convolution block( C3) in the neck network to strengthen feature extraction capabilities. Finally, the activation function was replaced with the rectified linear unit(ReLU)to further simplify calculations. The improved model reduced the number of parameters by 54.3% , computational complexity by 62.7% , increased FPS by 16% , and achieved a precision improvement of 0.9 percentage points, resulting in an mAP of 86.8% . The optimized model was mapped onto the FPGA platform, where fixed-point quantization reduced the model size to 4.2 MB, a 71.03% reduction compared with that of the original model. Experimental results demonstrated that the model achieved an mAP of 85.6% , a migration accuracy of 98.6% , an average detection time of 0.048 5 s per image, and an average power consumption of 12.80 W after being deployed on the FPGA platform. The research result can provide an efficient edge analytics solution for disease detection in agricultural production processes.

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

杨宁,张宇慧,刘淑华,毛罕平,王亚飞,程巍,王爱英.基于改进YOLO v5s 的水稻病害图像检测模型研究[J].农业机械学报,2026,57(23):329-337. Yang Ning, Zhang Yuhui, Liu Shuhua, Mao Hanping, Wang Yafei, Cheng Wei, Wang Aiying. Rice Disease Image Recognition Model Based on Improved YOLO v5s and FPGA Edge Resolution[J]. Transactions of the Chinese Society for Agricultural Machinery,2026,57(23):329-337.

复制
分享
相关视频

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