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

A Lightweight Detection Method for Blueberry Fruit Maturity Based on an Improved YOLOv5 Algorithm

Author

Listed:
  • Feng Xiao

    (College of Mechanical and Electrical Engineering, Northeast Forestry University, Harbin 150040, China)

  • Haibin Wang

    (College of Mechanical and Electrical Engineering, Northeast Forestry University, Harbin 150040, China)

  • Yueqin Xu

    (College of Mechanical and Electrical Engineering, Northeast Forestry University, Harbin 150040, China)

  • Zhen Shi

    (College of Mechanical and Electrical Engineering, Northeast Forestry University, Harbin 150040, China)

Abstract

In order to achieve accurate, fast, and robust recognition of blueberry fruit maturity stages for edge devices such as orchard inspection robots, this research proposes a lightweight detection method based on an improved YOLOv5 algorithm. In the improved YOLOv5 algorithm, the ShuffleNet module is used to achieve lightweight deep-convolutional neural networks. The Convolutional Block Attention Module (CBAM) is also used to enhance the feature fusion capability of lightweight deep-convolutional neural networks. The effectiveness of this method is evaluated using the blueberry fruit dataset. The experimental results demonstrate that this method can effectively detect blueberry fruits and recognize their maturity stages in orchard environments. The average recall ( R ) of the detection is 92.0%. The mean average precision (mAP) of the detection at a threshold of 0.5 is 91.5%. The average speed of the detection is 67.1 frames per second (fps). Compared to other detection algorithms, such as YOLOv5, SSD, and Faster R-CNN, this method has a smaller model size, smaller network parameters, lower memory usage, lower computation usage, and faster detection speed while maintaining high detection performance. It is more suitable for migration and deployment on edge devices. This research can serve as a reference for the development of fruit detection systems for intelligent orchard devices.

Suggested Citation

  • Feng Xiao & Haibin Wang & Yueqin Xu & Zhen Shi, 2023. "A Lightweight Detection Method for Blueberry Fruit Maturity Based on an Improved YOLOv5 Algorithm," Agriculture, MDPI, vol. 14(1), pages 1-18, December.
  • Handle: RePEc:gam:jagris:v:14:y:2023:i:1:p:36-:d:1306746
    as

    Download full text from publisher

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

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

    References listed on IDEAS

    as
    1. Huawei Yang & Yinzeng Liu & Shaowei Wang & Huixing Qu & Ning Li & Jie Wu & Yinfa Yan & Hongjian Zhang & Jinxing Wang & Jianfeng Qiu, 2023. "Improved Apple Fruit Target Recognition Method Based on YOLOv7 Model," Agriculture, MDPI, vol. 13(7), pages 1-21, June.
    2. Haibin Wang & Xiaomeng Lv & Feng Xiao & Liangliang Sun, 2022. "Analysis and Testing of Rigid–Flexible Coupling Collision Harvesting Processes in Blueberry Plants," Agriculture, MDPI, vol. 12(11), pages 1-30, November.
    3. Gui Yu & Xinglin Zhou, 2023. "An Improved YOLOv5 Crack Detection Method Combined with a Bottleneck Transformer," Mathematics, MDPI, vol. 11(10), pages 1-12, May.
    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. Yun Zhao & Yang Li & Xing Xu, 2024. "Object Detection in High-Resolution UAV Aerial Remote Sensing Images of Blueberry Canopy Fruits," Agriculture, MDPI, vol. 14(10), pages 1-17, 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. Jae Hyun Yoon & Jong Won Jung & Seok Bong Yoo, 2024. "Auxcoformer: Auxiliary and Contrastive Transformer for Robust Crack Detection in Adverse Weather Conditions," Mathematics, MDPI, vol. 12(5), pages 1-20, February.
    2. Nizar Faisal Alkayem & Ali Mayya & Lei Shen & Xin Zhang & Panagiotis G. Asteris & Qiang Wang & Maosen Cao, 2024. "Co-CrackSegment: A New Collaborative Deep Learning Framework for Pixel-Level Semantic Segmentation of Concrete Cracks," Mathematics, MDPI, vol. 12(19), pages 1-37, October.
    3. Ping Dong & Kuo Li & Ming Wang & Feitao Li & Wei Guo & Haiping Si, 2023. "Maize Leaf Compound Disease Recognition Based on Attention Mechanism," Agriculture, MDPI, vol. 14(1), pages 1-22, December.
    4. Rihong Zhang & Zejun Huang & Yuling Zhang & Zhong Xue & Xiaomin Li, 2023. "MSGV-YOLOv7: A Lightweight Pineapple Detection Method," Agriculture, MDPI, vol. 14(1), pages 1-16, December.
    5. Kunpeng Zhao & Jinyang Li & Wenqiang Shi & Liqiang Qi & Chuntao Yu & Wei Zhang, 2024. "Field-Based Soybean Flower and Pod Detection Using an Improved YOLOv8-VEW Method," Agriculture, MDPI, vol. 14(8), pages 1-15, August.
    6. Bo Yu & Qi Li & Wenhua Jiao & Shiyang Zhang & Yongjun Zhu, 2024. "SAB-YOLOv5: An Improved YOLOv5 Model for Permanent Magnetic Ferrite Magnet Rotor Detection," Mathematics, MDPI, vol. 12(7), pages 1-17, March.
    7. Mingming Liu & Yinzeng Liu & Qihuan Wang & Qinghao He & Duanyang Geng, 2024. "Real-Time Detection Technology of Corn Kernel Breakage and Mildew Based on Improved YOLOv5s," Agriculture, MDPI, vol. 14(5), pages 1-16, May.

    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:2023:i:1:p:36-:d:1306746. 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.