• 中文核心期刊
  • CSCD来源期刊
  • 中国科技核心期刊
  • CA、CABI、ZR收录期刊

基于改进YOLOv8的茉莉花主要害虫识别算法

YOLOv8-based Algorithm for Identifying Major Pest Insects Infesting Jasmine Plants

  • 摘要:
    目的 为实现茉莉花主要害虫(双纹须歧角螟、蓟马)的高效监测,构建精准的茉莉花虫害分类模型,提出一种基于改进YOLOv8s的茉莉花害虫检测方法。
    方法 以田间粘虫板采集的茉莉花害虫图像构建数据集;以 YOLOv8s 为基线模型,引入 P2 小目标检测层、坐标注意力机制(coordinate attention, CA)与多尺度特征融合(multi-scale feature fusion, MSFF)模块;选取mAP0.5、精确率、召回率作为评价指标,开展注意力机制对比试验、消融试验以及与主流目标检测算法的对比试验,验证各改进模块有效性与模型综合性能。
    结果 消融试验表明,引入 P2 层、CA 注意力、MSFF 模块可逐步提升模型检测性能;相比原始 YOLOv8s,本文改进 YOLOv8s模型的mAP0.5提升2.94个百分点,双纹须歧角螟与蓟马的精确率分别提升1.97、4.38个百分点,召回率分别提升0.19、0.35个百分点;与 YOLOv9t 等主流模型对比,所提模型在检测精度与参数量之间取得平衡。
    结论 改进后YOLOv8s 模型能够兼顾参数量、计算量,有效提升复杂环境下茉莉花双纹须歧角螟和蓟马的检测精确率与召回率,方便移植到智能监测设备上,为茉莉花害虫的智能监测提供参考。

     

    Abstract:
    Objective An algorithm was developed based on YOLOv8s to accurately identify the pests like Trichophysetis cretacea and thrips on jasmine plants.
    Method Pest images were collected from field sticky traps in jasmine fields to construct the dataset. Taking YOLOv8s as the baseline model, a P2 layer for detecting small objects, coordinate attention (CA), and multi-scale feature fusion (MSFF) modules were introduced. mAP0.5, precision and recall were adopted as evaluation metrics. Ablation experiments and comparative tests with mainstream object detection algorithms were carried out to verify the effectiveness of the improved modules and the overall performance of the model.
    Result Ablation experiments demonstrated that the P2 detection layer, the CA module and the MSFF module progressively improved detection performance. Compared with the original YOLOv8s, the improved model achieved a gain of 2.94 percentage points in mAP0.5; the precision of T. cretacea and thrips increased by 1.97 and 4.38 percentage points, and the recall increased by 0.19 and 0.35 percentage points, respectively. Compared with mainstream models such as YOLOv9t, the modified YOLOv8s achieved a good balance between detection accuracy and the number of parameters.
    Conclusion The improved YOLOv8s model effectively enhances the detection precision and recall of T. cretacea and thrips in complex jasmine field environments while maintaining a low parameter count and computational cost, making it readily deployable on smart monitoring devices and providing a reference for the intelligent monitoring of jasmine pests.

     

/

返回文章
返回