欢迎您访问《智慧农业(中英文)》官方网站! English

Smart Agriculture

• •    

基于无人机低空近景图像的玉米螟虫害检测方法

赵峻1, 聂志刚1,2(), 李广2, 刘佳宇1   

  1. 1. 甘肃农业大学信息科学技术学院,甘肃 兰州 730000,中国
    2. 甘肃农业大学省部共建干旱生境作物学国家重点实验室,甘肃 兰州 730000,中国
  • 收稿日期:2025-05-08 出版日期:2025-07-09
  • 基金项目:
    甘肃省高等学校产业支撑计划项目(2025CYZC-042); 甘肃省科技重大专项(24ZD13NA019); 中央引导地方科技发展资金项(24ZYQA023)
  • 作者简介:

    赵 峻,硕士研究生,研究方向为智慧农业。E-mail:

  • 通信作者:
    聂志刚,博士,教授,研究方向为智慧农业。E-mail:

A Study on Corn Borer Detection Using Low-Altitude Close-Range UAV Imagery

ZHAO Jun1, NIE Zhigang1,2(), LI Guang2, LIU Jiayu1   

  1. 1. College of Information Science and Technology, Gansu Agricultural University, Lanzhou 730000, China
    2. State Key Laboratory of Aridland Crop Science, Gansu Agricultural University, Lanzhou 730000, China
  • Received:2025-05-08 Online:2025-07-09
  • Foundation items:Gansu Provincial Industry Support Program for Higher Education Institutions(2025CYZC-042); Major Science and Technology Project of Gansu Province(24ZD13NA019); Gansu Provincial Project Funded by Central Government Guiding Local Science and Technology Development(24ZYQA023)
  • About author:
  • Corresponding author:
    NIE Zhigang, E-mail:

摘要:

【目的/意义】 玉米螟虫害检测对提高玉米的产量和质量至关重要,然而现有的检测方法存在一定的局限性,难以满足大规模应用的要求。针对该问题本研究实践了一种基于无人机低空近景图像和YOLO-ESN(You Only Look Once Enhanced Small object Network)模型检测玉米螟虫害的方法,以虫洞检测替代虫体检测,从而提高田间应用的适应性。 【方法】 本研究以YOLOv11(You Only Look Once version 11)模型为基础,在Backbone部分加入ELA(Enhanced Lightweight Attention)注意力机制,增强模型特征提取能力,在Neck部分采用轻量级C3k2-SCConv(C3k2-Spatial and Channel Reconstruction Convolution)模块,在仅增加较少参数量的情况下提升特征融合效率,在Head部分新增微小目标检测模块,直接利用浅层高分辨率特征提升模型性能,同时加入NWD+EIoU(Normalized Wasserstein Distance+ Efficient Intersection over Union)损失函数优化边界框回归精度。最后,结合决策树算法确定虫害严重程度并生成虫害分布热力图。 【结果和讨论】 在自建玉米螟虫害数据集上进行的实验表明,改进后的YOLO-ESN在mAP@50(mean Average Precision at IoU threshold of 0.50)和mAP@50:95(mean Average Precision Averaged over IoU Thresholds from 0.50 to 0.95 with Step Size 0.05)上分别达到88.6%和40.5%,较基准模型提升7.6个百分点和4.9个百分点,精准度与召回率分别达到80.2%和82.1%,较基准模型提升6.3个百分点和2.3个百分点,同时参数量减少11.52%。 【结论】 实验结果证明,本研究为玉米螟虫害大范围精准检测提供了一种高效解决方案,推动精准农业进一步发展。

关键词: 虫害检测, 玉米螟, 精准农业, 深度学习, 目标检测

Abstract:

[Objective] The detection of corn borer infestations is essential for improving maize yield and quality, as corn borer pests pose a significant threat to global maize production. In traditional agricultural practices, identifying corn borer infestations relies on manual field inspections or trapping tools, which are labor-intensive, time-consuming, and difficult to implement over large areas. These methods are further limited by their susceptibility to human error and inability to meet the demands of modern precision agriculture. To address these challenges, a method for detecting corn borer infestations using low-altitude, close-range imagery captured by unmanned aerial vehicles (UAVs) and a model are investigated, you only look once enhanced small object network (YOLO-ESN). By focusing on detecting boreholes rather than insect bodies, this approach overcomes the difficulties of detecting corn borers, which are nocturnal and often concealed within plant tissues, thereby enhancing the applicability of field-based detection and aligning with practical field conditions. [Methods] Based on the you only look once version 11 (YOLOv11) object detection algorithm, a model—YOLO-ESN was introduced, for corn borer infestation detection. The YOLO-ESN model has been optimized through multiple modifications. In the Backbone, an enhanced lightweight attention (ELA) mechanism was incorporated to increase sensitivity and improve the extraction of small visual features, such as boreholes, by modeling spatial dependencies in horizontal and vertical directions using one-dimensional convolutions. In the Neck, a C3k2-Spatial and channel reconstruction convolution (C3k2-SCConv) module was introduced to reduce the number of model parameters while improving feature fusion efficiency through spatial and channel reconstruction, suppressing redundant information. In the Head, a small-object detection branch, termed the P2 detection head, was added, enabling YOLO-ESN to directly utilize shallow, high-resolution features from early network layers to enhance the detection of fine-grained targets like boreholes. Additionally, a combined loss function of normalized wasserstein distance (NWD) and efficient intersection over union (EIoU) was employed to optimize bounding box regression accuracy, addressing gradient vanishing issues for small targets and improving target localization stability and robustness. A decision tree algorithm was applied to classify infestation severity levels based on borehole detection results, and heatmaps were generated to visualize the spatial distribution of corn borer infestations across the field. [Results and Discussions] Multiple experiments were conducted using a constructed dataset of corn borer infestation images. The results demonstrated that YOLO-ESN achieved an mAP@50 of 88.6% and an mAP@50:95 of 40.5%, representing an improvement of 7.6 and 4.9 percent points, respectively, compared to the original YOLOv11 model. The total number of parameters in YOLO-ESN was reduced by 11.52%, contributing to a lighter model suitable for UAV deployment. Ablation studies evaluated individual contributions: incorporating the ELA mechanism alone improved mAP@50 by 0.3 percent points, and the parameters are reduced by 10.57%; replacing the C3k2 module with C3k2-SCConv reduced parameters by 2.5% while increasing mAP@50 by 0.9 percent points; adding the P2 detection head enhanced mAP@50 and mAP@50:95 by 4.1 and 1.2 percent points, respectively; and introducing the NWD+EIoU loss function improved mAP@50 and mAP@50:95 by 1.9 and 1.2 percent points, respectively. Comparative experiments demonstrate that YOLO-ESN outperforms a range of mainstream object detection models, including Faster R-CNN, SSD, YOLOv8, YOLOv11, and YOLOv12. YOLO-ESN achieves an mAP@50 and an mAP@50:95, surpassing Faster R-CNN by 14.9 and 9.7 percentage points, respectively, and SSD by 17.8 and 11.4 percentage points, respectively. With a compact parameter size of 8.37 M, YOLO-ESN delivers excellent detection accuracy and generalization, striking a strong balance between performance and efficiency. Although its inference speed (32.48 FPS) was slightly slower than YOLOv12 (75.44 FPS), it offered a superior trade-off between accuracy and efficiency. These results validated YOLO-ESN as a lightweight, high-performing solution for small object detection tasks, such as dense small targets in remote sensing images. The decision tree algorithm classified infestation severity with high accuracy, achieving F1-Scores of 0.906, 0.803, and 0.842 for mild, moderate, and severe infestations, respectively. Heatmaps generated from borehole detection results enabled spatial visualization of infestation severity, providing a scientific basis for quantitative monitoring and targeted pesticide application in field infestations. [Conclusions] The results show that the YOLO-ESN model has more advantages in overall detection accuracy and running speed. While improving the lightweight degree and deployment efficiency of the model, it also shows better recognition ability in small target detection, and can accurately locate the wormhole area on the corn leaf, effectively improving the bounding box regression accuracy and feature extraction efficiency. Compared with the traditional insect recognition method, the use of wormholes as detection objects is more in line with the actual field situation, effectively avoiding the problems of insect occlusion and strong concealment, and improving the availability of field image data and algorithm robustness. The heat map generated by the model detection results can also effectively display the distribution changes of insect pests in farmland, providing a scientific basis for precision pesticide spraying and farmland management. Overall, this study provides an effective solution for the intelligent detection of corn borer pests, has strong versatility and promotion prospects, and can provide strong technical support for precision agriculture and smart farmland management.

Key words: pest detection, ostrinia furnacalis, precision agriculture, deep learning, object detection

中图分类号: