吉林大学学报(理学版) ›› 2026, Vol. 64 ›› Issue (2): 329-0343.

• • 上一篇    下一篇

基于改进YOLOv9的玉米幼苗轻量级杂草检测模型Weed-YOLO

金先进1, 张晋恒2, 杨建平1, 孙晓海3, 周兵2   

  1. 1. 云南农业大学 大数据学院, 昆明 650201; 2. 云南农业大学 理学院, 昆明 650201;3. 吉林海诚科技有限公司, 长春 130119
  • 收稿日期:2024-12-05 出版日期:2026-03-26 发布日期:2026-03-26
  • 通讯作者: 周兵 E-mail:bingzhoukm@126.com

Lightweight Weed Detection Model Weed-YOLO for Corn Seedling Based on Improved YOLOv9

JIN Xianjin1, ZHANG Jinheng2, YANG Jianping1, SUN Xiaohai3, ZHOU Bing2   

  1. 1. College of Big Data, Yunnan Agricultural University, Kunming 650201, China;2. College of Science, Yunnan Agricultural University, Kunming 650201, China;3. Jilin Haicheng Technology Co., Ltd., Changchun 130119, China
  • Received:2024-12-05 Online:2026-03-26 Published:2026-03-26

摘要: 针对自然环境下玉米幼苗杂草识别模型存在的识别精度与网络结构复杂度不平衡的问题, 提出一种基于改进YOLOv9的玉米幼苗杂草轻量化识别模型Weed-YOLO. 首先, 引入FasterNet模块作为YOLOv9模型的主干网络, 以有效降低模型的复杂度; 其次, 使用双向特征金字塔网络(bidirectional feature pyramid network, BiFPN)代替原有的路径聚合网络(path aggregation network, PAN)和特征金字塔网络模块(feature pyramid network, FPN), 以融合多尺度的杂草特征, 弥补轻量化主干网络导致的识别精度下降问题, 并进一步降低模型复杂度; 最后, 采用Inner_CIoU损失函数计算边界框损失, 进一步提高模型的收敛速度和整体性能. 实验结果表明, Weed-YOLO模型在玉米幼苗杂草识别上准确率、 召回率、平均精度分别为94.1%,95.9%,97.6%, 参数量、 计算量、 模型大小分别下降了39.15%,44.79%,39.18%, 能精准识别杂草和作物, 并降低模型资源占用.

关键词: 杂草, 轻量化, YOLOv9模型, FasterNet模块, 双向特征金字塔网络, Inner_CIoU损失函数, 精准农业

Abstract: Aiming at  the problem of imbalance between recognition accuracy  and network  structure complexity, we proposed  a lightweight identification model Weed-YOLO for corn seedling weed based on improved YOLOv9. Firstly, FasterNet module was introduced as the backbone network of YOLOv9 model to effectively reduce the complexity of the model. Secondly, the bidirectional feature pyramid network was used to replace original path aggregation network and feature pyramid network modules to integrate 
multi-scale weed features, compensate for the decrease in recognition accuracy caused by lightweight backbone networks, and further reduce the complexity of the model. Finally, Inner_CIoU loss function was used to calculate the boundary frame loss, which improved the convergence speed and overall performance of the model. The experimental results show  that the accuracy, recall rate and mean precision of Weed-YOLO model in identifying corn seedling weeds are  94.1%, 95.9% and  97.6%, respectively.  The parameter count, amount of calculation and model size decrease by 39.15%,44.79% and 39.18%, respectively. It can accurately distinguish  weeds and crops, and reduce  resource utilization of the model.

Key words: weed, lightweight, YOLOv9 model, FasterNet module, bidirectional feature pyramid network, Inner_CIoU loss function, precision agriculture

中图分类号: 

  • TP391