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

A Novel Crop Pest Detection Model Based on YOLOv5

Author

Listed:
  • Wenji Yang

    (Software College, Jiangxi Agricultural University, Nanchang 330045, China)

  • Xiaoying Qiu

    (Software College, Jiangxi Agricultural University, Nanchang 330045, China)

Abstract

The damage caused by pests to crops results in reduced crop yield and compromised quality. Accurate and timely pest detection plays a crucial role in helping farmers to defend against and control pests. In this paper, a novel crop pest detection model named YOLOv5s-pest is proposed. Firstly, we design a hybrid spatial pyramid pooling fast (HSPPF) module, which enhances the model’s capability to capture multi-scale receptive field information. Secondly, we design a new convolutional block attention module (NCBAM) that highlights key features, suppresses redundant features, and improves detection precision. Thirdly, the recursive gated convolution ( g 3 C o n v ) is introduced into the neck, which extends the potential of self-attention mechanism to explore feature representation to arbitrary-order space, enhances model capacity and detection capability. Finally, we replace the non-maximum suppression (NMS) in the post-processing part with Soft-NMS, which improves the missed problem of detection in crowded and dense scenes. The experimental results show that the mAP@0.5 (mean average precision at intersection over union (IoU) threshold of 0.5) of YOLOv5s-pest achieves 92.5% and the mAP@0.5:0.95 (mean average precision from IoU 0.5 to 0.95) achieves 72.6% on the IP16. Furthermore, we also validate our proposed method on other datasets, and the outcomes indicate that YOLOv5s-pest is also effective in other detection tasks.

Suggested Citation

  • Wenji Yang & Xiaoying Qiu, 2024. "A Novel Crop Pest Detection Model Based on YOLOv5," Agriculture, MDPI, vol. 14(2), pages 1-23, February.
  • Handle: RePEc:gam:jagris:v:14:y:2024:i:2:p:275-:d:1335619
    as

    Download full text from publisher

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

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

    References listed on IDEAS

    as
    1. Zijia Yang & Hailin Feng & Yaoping Ruan & Xiang Weng, 2023. "Tea Tree Pest Detection Algorithm Based on Improved Yolov7-Tiny," Agriculture, MDPI, vol. 13(5), pages 1-22, May.
    2. 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.
    Full references (including those not matched with items on IDEAS)

    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. Juanli Jing & Menglin Zhai & Shiqing Dou & Lin Wang & Binghai Lou & Jichi Yan & Shixin Yuan, 2024. "Optimizing the YOLOv7-Tiny Model with Multiple Strategies for Citrus Fruit Yield Estimation in Complex Scenarios," Agriculture, MDPI, vol. 14(2), pages 1-16, February.
    2. Yuzhe Bai & Fengjun Hou & Xinyuan Fan & Weifan Lin & Jinghan Lu & Junyu Zhou & Dongchen Fan & Lin Li, 2023. "A Lightweight Pest Detection Model for Drones Based on Transformer and Super-Resolution Sampling Techniques," Agriculture, MDPI, vol. 13(9), pages 1-23, September.
    3. Yaxin Wang & Xinyuan Liu & Fanzhen Wang & Dongyue Ren & Yang Li & Zhimin Mu & Shide Li & Yongcheng Jiang, 2023. "Self-Attention-Mechanism-Improved YoloX-S for Briquette Biofuels Object Detection," Sustainability, MDPI, vol. 15(19), pages 1-16, October.

    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:14:y:2024:i:2:p:275-:d:1335619. 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.