Field pest detection method based on improved Cascade R-CNN by incorporating attention mechanism
Author:
Affiliation:

1.College of Informatics, Huazhong Agricultural University, Wuhan 430070, China;2.Shanghai Yunnong Information Technology Co., Ltd., Shanghai 201299, China;3.College of Plant Science and Technology, Huazhong Agricultural University, Wuhan 430070, China

Clc Number:

TP391.41;S126

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    In order to address the challenges of manual identification of pests in images collected by light traps, as well as the low reliability and poor accuracy of statistical results, this study proposes an improved Cascade R-CNN algorithm for field pest detection. The algorithm is based on the Cascade R-CNN framework and uses ResNeSt-50 as the backbone network, incorporating cross-channel attention mechanisms to obtain feature maps more conducive to pest detection. A unifying object detection head with attentions (DyHead) is used, incorporating scale awareness, spatial position awareness, and task awareness to improve the performance of the detection head. Additionally, the simple copy-paste (SCP) method is employed for data augmentation to enhance the model’s detection capabilities in complex scenarios. A total of 1 500 images of 20 pest categories were collected, and a monitoring lamp field pest dataset compliant with the microsoft common objects in context (MS COCO 2017) format was created. The results show that the F1-score of the proposed method reaches 86.2%. When the intersection over union (IoU) is set to 0.5, the F1-score increases by 2.8, 5.8, and 8.2 percentages compared to the classic Cascade R-CNN, Faster R-CNN, and YOLOv4, respectively. The results shows that the proposed method meets the requirements of discriminative ability and real-time performance for monitoring lamp pest detection tasks, achieving high-precision automatic identification and counting of pests, and can be directly applied to field pest detection.

    Reference
    Related
    Cited by
Get Citation

刘志,翟瑞芳,彭万伟,陈珂屹,杨万能. Field pest detection method based on improved Cascade R-CNN by incorporating attention mechanism[J]. Jorunal of Huazhong Agricultural University,2023,42(3):133-142.

Copy
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:February 13,2023
  • Revised:
  • Adopted:
  • Online: June 20,2023
  • Published: