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

Improved Apple Fruit Target Recognition Method Based on YOLOv7 Model

Author

Listed:
  • Huawei Yang

    (College of Mechanical and Electrical Engineering, Shandong Agricultural University, Tai’an 271002, China
    College of Radiology, Shandong First Medical University, Tai’an 271000, China
    Shandong Academy of Agricultural Machinery Sciences, Jinan 250010, China)

  • Yinzeng Liu

    (Shandong Academy of Agricultural Machinery Sciences, Jinan 250010, China)

  • Shaowei Wang

    (Shandong Academy of Agricultural Machinery Sciences, Jinan 250010, China)

  • Huixing Qu

    (College of Mechanical and Electrical Engineering, Shandong Agricultural University, Tai’an 271002, China)

  • Ning Li

    (Shandong Academy of Agricultural Machinery Sciences, Jinan 250010, China)

  • Jie Wu

    (College of Mechanical and Electrical Engineering, Shandong Agricultural University, Tai’an 271002, China)

  • Yinfa Yan

    (College of Mechanical and Electrical Engineering, Shandong Agricultural University, Tai’an 271002, China)

  • Hongjian Zhang

    (College of Mechanical and Electrical Engineering, Shandong Agricultural University, Tai’an 271002, China)

  • Jinxing Wang

    (College of Mechanical and Electrical Engineering, Shandong Agricultural University, Tai’an 271002, China)

  • Jianfeng Qiu

    (College of Radiology, Shandong First Medical University, Tai’an 271000, China)

Abstract

This study proposes an improved algorithm based on the You Only Look Once v7 (YOLOv7) to address the low accuracy of apple fruit target recognition caused by high fruit density, occlusion, and overlapping issues. Firstly, we proposed a preprocessing algorithm for the split image with overlapping to improve the robotic intelligent picking recognition accuracy. Then, we divided the training, validation, and test sets. Secondly, the MobileOne module was introduced into the backbone network of YOLOv7 to achieve parametric fusion and reduce network computation. Afterward, we improved the SPPCSPS module and changed the serial channel to the parallel channel to enhance the speed of image feature fusion. We added an auxiliary detection head to the head structure. Finally, we conducted fruit target recognition based on model validation and tests. The results showed that the accuracy of the improved YOLOv7 algorithm increased by 6.9%. The recall rate increased by 10%, the mAP1 algorithm increased by 5%, and the mAP2 algorithm increased by 3.8%. The accuracy of the improved YOLOv7 algorithm was 3.5%, 14%, 9.1%, and 6.5% higher than that of other control YOLO algorithms, verifying that the improved YOLOv7 algorithm could significantly improve the fruit target recognition in high-density fruits.

Suggested Citation

  • 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.
  • Handle: RePEc:gam:jagris:v:13:y:2023:i:7:p:1278-:d:1175882
    as

    Download full text from publisher

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

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

    References listed on IDEAS

    as
    1. Takuya Otani & Akira Itoh & Hideki Mizukami & Masatsugu Murakami & Shunya Yoshida & Kota Terae & Taiga Tanaka & Koki Masaya & Shuntaro Aotake & Masatoshi Funabashi & Atsuo Takanishi, 2022. "Agricultural Robot under Solar Panels for Sowing, Pruning, and Harvesting in a Synecoculture Environment," Agriculture, MDPI, vol. 13(1), pages 1-22, December.
    2. Pan Fan & Guodong Lang & Pengju Guo & Zhijie Liu & Fuzeng Yang & Bin Yan & Xiaoyan Lei, 2021. "Multi-Feature Patch-Based Segmentation Technique in the Gray-Centered RGB Color Space for Improved Apple Target Recognition," Agriculture, MDPI, vol. 11(3), pages 1-18, March.
    3. Eleni Vrochidou & Viktoria Nikoleta Tsakalidou & Ioannis Kalathas & Theodoros Gkrimpizis & Theodore Pachidis & Vassilis G. Kaburlasos, 2022. "An Overview of End Effectors in Agricultural Robotic Harvesting Systems," Agriculture, MDPI, vol. 12(8), pages 1-35, August.
    4. Wei Ji & Yu Pan & Bo Xu & Juncheng Wang, 2022. "A Real-Time Apple Targets Detection Method for Picking Robot Based on ShufflenetV2-YOLOX," Agriculture, MDPI, vol. 12(6), pages 1-18, June.
    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. 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.
    2. 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.
    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. 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.
    5. 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.

    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. Huimin Xu & Gaohong Yu & Chenyu Niu & Xiong Zhao & Yimiao Wang & Yijin Chen, 2023. "Design and Experiment of an Underactuated Broccoli-Picking Manipulator," Agriculture, MDPI, vol. 13(4), pages 1-18, April.
    2. Łukasz Kuta & Piotr Komarnicki & Katarzyna Łakoma & Joanna Praska, 2023. "Tomato Fruit Quality as Affected by Ergonomic Conditions While Manually Harvested," Agriculture, MDPI, vol. 13(9), pages 1-18, September.
    3. Fu Zhang & Zijun Chen & Yafei Wang & Ruofei Bao & Xingguang Chen & Sanling Fu & Mimi Tian & Yakun Zhang, 2023. "Research on Flexible End-Effectors with Humanoid Grasp Function for Small Spherical Fruit Picking," Agriculture, MDPI, vol. 13(1), pages 1-18, January.
    4. Ruilong Gao & Qiaojun Zhou & Songxiao Cao & Qing Jiang, 2022. "An Algorithm for Calculating Apple Picking Direction Based on 3D Vision," Agriculture, MDPI, vol. 12(8), pages 1-19, August.
    5. Guangyu Hou & Haihua Chen & Mingkun Jiang & Runxin Niu, 2023. "An Overview of the Application of Machine Vision in Recognition and Localization of Fruit and Vegetable Harvesting Robots," Agriculture, MDPI, vol. 13(9), pages 1-31, September.

    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:7:p:1278-:d:1175882. 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.