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

Real-Time Detection of Apple Leaf Diseases in Natural Scenes Based on YOLOv5

Author

Listed:
  • Huishan Li

    (College of Information and Management Science, Henan Agricultural University, Zhengzhou 450046, China)

  • Lei Shi

    (College of Information and Management Science, Henan Agricultural University, Zhengzhou 450046, China)

  • Siwen Fang

    (College of Information and Management Science, Henan Agricultural University, Zhengzhou 450046, China)

  • Fei Yin

    (College of Information and Management Science, Henan Agricultural University, Zhengzhou 450046, China)

Abstract

Aiming at the problem of accurately locating and identifying multi-scale and differently shaped apple leaf diseases from a complex background in natural scenes, this study proposed an apple leaf disease detection method based on an improved YOLOv5s model. Firstly, the model utilized the bidirectional feature pyramid network (BiFPN) to achieve multi-scale feature fusion efficiently. Then, the transformer and convolutional block attention module (CBAM) attention mechanisms were added to reduce the interference from invalid background information, improving disease characteristics’ expression ability and increasing the accuracy and recall of the model. Experimental results showed that the proposed BTC-YOLOv5s model (with a model size of 15.8M) can effectively detect four types of apple leaf diseases in natural scenes, with 84.3% mean average precision (mAP). With an octa-core CPU, the model could process 8.7 leaf images per second on average. Compared with classic detection models of SSD, Faster R-CNN, YOLOv4-tiny, and YOLOx, the mAP of the proposed model was increased by 12.74%, 48.84%, 24.44%, and 4.2%, respectively, and offered higher detection accuracy and faster detection speed. Furthermore, the proposed model demonstrated strong robustness and mAP exceeding 80% under strong noise conditions, such as exposure to bright lights, dim lights, and fuzzy images. In conclusion, the new BTC-YOLOv5s was found to be lightweight, accurate, and efficient, making it suitable for application on mobile devices. The proposed method could provide technical support for early intervention and treatment of apple leaf diseases.

Suggested Citation

  • Huishan Li & Lei Shi & Siwen Fang & Fei Yin, 2023. "Real-Time Detection of Apple Leaf Diseases in Natural Scenes Based on YOLOv5," Agriculture, MDPI, vol. 13(4), pages 1-19, April.
  • Handle: RePEc:gam:jagris:v:13:y:2023:i:4:p:878-:d:1124589
    as

    Download full text from publisher

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

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

    References listed on IDEAS

    as
    1. Yuanjie Liu & Zunchao Lv & Yingyue Hu & Fei Dai & Hongzhou Zhang, 2022. "Improved Cotton Seed Breakage Detection Based on YOLOv5s," Agriculture, MDPI, vol. 12(10), pages 1-18, October.
    2. Chenglong Wang & Zhifeng Xiao, 2021. "Potato Surface Defect Detection Based on Deep Transfer Learning," Agriculture, MDPI, vol. 11(9), pages 1-18, September.
    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. Jibo Yue & Chengquan Zhou & Haikuan Feng & Yanjun Yang & Ning Zhang, 2023. "Novel Applications of Optical Sensors and Machine Learning in Agricultural Monitoring," Agriculture, MDPI, vol. 13(10), pages 1-4, October.

    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. Abozar Nasirahmadi & Ulrike Wilczek & Oliver Hensel, 2021. "Sugar Beet Damage Detection during Harvesting Using Different Convolutional Neural Network Models," Agriculture, MDPI, vol. 11(11), pages 1-13, November.

    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:4:p:878-:d:1124589. 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.