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

Research on Multi-Scale Pest Detection and Identification Method in Granary Based on Improved YOLOv5

Author

Listed:
  • Jinyu Chu

    (College of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, China
    Key Laboratory of Forestry Intelligent Monitoring and Information Technology of Zhejiang Province, Hangzhou 311300, China
    China Key Laboratory of State Forestry and Grassland Administration on Forestry Sensing Technology and Intelligent Equipment, Hangzhou 311300, China)

  • Yane Li

    (College of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, China
    Key Laboratory of Forestry Intelligent Monitoring and Information Technology of Zhejiang Province, Hangzhou 311300, China
    China Key Laboratory of State Forestry and Grassland Administration on Forestry Sensing Technology and Intelligent Equipment, Hangzhou 311300, China)

  • Hailin Feng

    (College of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, China
    Key Laboratory of Forestry Intelligent Monitoring and Information Technology of Zhejiang Province, Hangzhou 311300, China
    China Key Laboratory of State Forestry and Grassland Administration on Forestry Sensing Technology and Intelligent Equipment, Hangzhou 311300, China)

  • Xiang Weng

    (College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China)

  • Yaoping Ruan

    (College of Mathematics and Computer Science, Zhejiang A&F University, Hangzhou 311300, China
    Key Laboratory of Forestry Intelligent Monitoring and Information Technology of Zhejiang Province, Hangzhou 311300, China
    China Key Laboratory of State Forestry and Grassland Administration on Forestry Sensing Technology and Intelligent Equipment, Hangzhou 311300, China)

Abstract

Accurately detecting and identifying granary pests is important in effectively controlling damage to a granary, ensuring food security scientifically and efficiently. In this paper, multi-scale images of seven common granary pests were collected. The dataset had 5231 images acquired with DSLR-shot, microscope, cell phone and online crawler. Each image contains different species of granary pests in a different background. In this paper, we designed a multi-scale granary pest recognition model, using the YOLOv5 (You Look Only Once version 5) object detection algorithm incorporating bidirectional feature pyramid network (BiFPN) with distance intersection over union, non-maximum suppression (DIOU_NMS) and efficient channel attention (ECA) modules. In addition, we compared the performance of the different models established with Efficientdet, Faster rcnn, Retinanet, SSD, YOLOx, YOLOv3, YOLOv4 and YOLOv5s, and we designed improved YOLOv5s on this dataset. The results show that the average accuracy of the model we designed for seven common pests reached 98.2%, which is the most accurate model among those identified in this paper. For further detecting the robustness of the proposed model, ablation analysis was conducted. Furthermore, the results show that the average accuracy of models established using the YOLOv5s network model combined with the attention mechanism was 96.9%. When replacing the model of PANet with BiFPN, the average accuracy reached 97.2%. At the same time, feature visualization was analyzed. The results show that the proposed model is good for capturing features of pests. The results of the model have good practical significance for the recognition of multi-scale granary pests.

Suggested Citation

  • Jinyu Chu & Yane Li & Hailin Feng & Xiang Weng & Yaoping Ruan, 2023. "Research on Multi-Scale Pest Detection and Identification Method in Granary Based on Improved YOLOv5," Agriculture, MDPI, vol. 13(2), pages 1-17, February.
  • Handle: RePEc:gam:jagris:v:13:y:2023:i:2:p:364-:d:1055578
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/13/2/364/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/13/2/364/
    Download Restriction: no
    ---><---

    Citations

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


    Cited by:

    1. Wenji Yang & Xiaoying Qiu, 2024. "A Novel Crop Pest Detection Model Based on YOLOv5," Agriculture, MDPI, vol. 14(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:13:y:2023:i:2:p:364-:d:1055578. 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.

    We have no bibliographic references for this item. You can help adding them by using 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.