IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v12y2022i8p1104-d873416.html
   My bibliography  Save this article

Pest Region Detection in Complex Backgrounds via Contextual Information and Multi-Scale Mixed Attention Mechanism

Author

Listed:
  • Wei Zhang

    (Institutes of Physical Science and Information Technology, Anhui University, Hefei 230601, China
    Institute of Intelligent Machines, Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China)

  • Youqiang Sun

    (Institute of Intelligent Machines, Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China)

  • He Huang

    (Institute of Intelligent Machines, Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China)

  • Haotian Pei

    (Institutes of Physical Science and Information Technology, Anhui University, Hefei 230601, China
    Institute of Intelligent Machines, Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China)

  • Jiajia Sheng

    (Institute of Intelligent Machines, Hefei Institutes of Physical Science, Chinese Academy of Sciences, Hefei 230031, China)

  • Po Yang

    (Department of Computer Science, Sheffield University, Sheffield S1 1DA, UK)

Abstract

In precision agriculture, effective monitoring of corn pest regions is crucial to developing early scientific prevention strategies and reducing yield losses. However, complex backgrounds and small objects in real farmland bring challenges to accurate detection. In this paper, we propose an improved model based on YOLOv4 that uses contextual information and attention mechanism. Firstly, a context priming module with simple architecture is designed, where effective features of different layers are fused as additional context features to augment pest region feature representation. Secondly, we propose a multi-scale mixed attention mechanism (MSMAM) with more focus on pest regions and reduction of noise interference. Finally, the mixed attention feature-fusion module (MAFF) with MSMAM as the kernel is applied to selectively fuse effective information from additional features of different scales and alleviate the inconsistencies in their fusion. Experimental results show that the improved model performs better in different growth cycles and backgrounds of corn, such as corn in vegetative 12th, the vegetative tasseling stage, and the overall dataset. Compared with the baseline model (YOLOv4), our model achieves better average precision (AP) by 6.23%, 6.08%, and 7.2%, respectively. In addition, several comparative experiments were conducted on datasets with different corn growth cycles and backgrounds, and the results verified the effectiveness and usability of the proposed method for such tasks, providing technical reference and theoretical research for the automatic identification and control of pests.

Suggested Citation

  • Wei Zhang & Youqiang Sun & He Huang & Haotian Pei & Jiajia Sheng & Po Yang, 2022. "Pest Region Detection in Complex Backgrounds via Contextual Information and Multi-Scale Mixed Attention Mechanism," Agriculture, MDPI, vol. 12(8), pages 1-19, July.
  • Handle: RePEc:gam:jagris:v:12:y:2022:i:8:p:1104-:d:873416
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/12/8/1104/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/12/8/1104/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Lifa Fang & Yanqiang Wu & Yuhua Li & Hongen Guo & Hua Zhang & Xiaoyu Wang & Rui Xi & Jialin Hou, 2021. "Using Channel and Network Layer Pruning Based on Deep Learning for Real-Time Detection of Ginger Images," Agriculture, MDPI, vol. 11(12), pages 1-18, November.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Javeria Amin & Muhammad Almas Anjum & Rida Zahra & Muhammad Imran Sharif & Seifedine Kadry & Lukas Sevcik, 2023. "Pest Localization Using YOLOv5 and Classification Based on Quantum Convolutional Network," Agriculture, MDPI, vol. 13(3), pages 1-15, March.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Peichao Cong & Hao Feng & Kunfeng Lv & Jiachao Zhou & Shanda Li, 2023. "MYOLO: A Lightweight Fresh Shiitake Mushroom Detection Model Based on YOLOv3," Agriculture, MDPI, vol. 13(2), pages 1-23, February.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:12:y:2022:i:8:p:1104-:d:873416. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.