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

Research on Detection Algorithm of Green Walnut in Complex Environment

Author

Listed:
  • Chenggui Yang

    (School of Information, Yunnan Normal University, Kunming 650500, China
    Computer Vision and Intelligent Control Technology Engineering Research Center, Yunnan Provincial Department of Education, Kunming 650500, China)

  • Zhengda Cai

    (Yunnan Woody Oilseed (Walnut) Full Industry Chain Innovation Research Institute, Kunming 650500, China)

  • Mingjie Wu

    (School of Information, Yunnan Normal University, Kunming 650500, China
    Computer Vision and Intelligent Control Technology Engineering Research Center, Yunnan Provincial Department of Education, Kunming 650500, China)

  • Lijun Yun

    (School of Information, Yunnan Normal University, Kunming 650500, China
    Computer Vision and Intelligent Control Technology Engineering Research Center, Yunnan Provincial Department of Education, Kunming 650500, China)

  • Zaiqing Chen

    (School of Information, Yunnan Normal University, Kunming 650500, China
    Computer Vision and Intelligent Control Technology Engineering Research Center, Yunnan Provincial Department of Education, Kunming 650500, China)

  • Yuelong Xia

    (School of Information, Yunnan Normal University, Kunming 650500, China
    Computer Vision and Intelligent Control Technology Engineering Research Center, Yunnan Provincial Department of Education, Kunming 650500, China)

Abstract

The growth environment of green walnuts is complex. In the actual picking and identification process, interference from near-background colors, occlusion by branches and leaves, and excessive model complexity pose higher demands on the performance of walnut detection algorithms. Therefore, a lightweight walnut detection algorithm suitable for complex environments is proposed based on YOLOv5s. First, the backbone network is reconstructed using the lightweight GhostNet network, laying the foundation for a lightweight model architecture. Next, the C3 structure in the feature fusion layer is optimized by proposing a lightweight C3 structure to enhance the model’s focus on important walnut features. Finally, the loss function is improved to address the problems of target loss and gradient adaptability during training. To further reduce model complexity, the improved algorithm undergoes pruning and knowledge distillation operations, and is then deployed and tested on small edge devices. Experimental results show that compared to the original YOLOv5s model, the improved algorithm reduces the number of parameters by 72.9% and the amount of computation by 84.1%. The mAP0.5 increased by 1.1%, the precision increased by 0.7%, the recall increased by 0.3%, and the FPS is 179.6% of the original model, meeting the real-time detection needs for walnut recognition and providing a reference for walnut harvesting identification.

Suggested Citation

  • Chenggui Yang & Zhengda Cai & Mingjie Wu & Lijun Yun & Zaiqing Chen & Yuelong Xia, 2024. "Research on Detection Algorithm of Green Walnut in Complex Environment," Agriculture, MDPI, vol. 14(9), pages 1-22, August.
  • Handle: RePEc:gam:jagris:v:14:y:2024:i:9:p:1441-:d:1463251
    as

    Download full text from publisher

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

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

    References listed on IDEAS

    as
    1. 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.
    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. Mingjie Wu & Xuanxi Yang & Lijun Yun & Chenggui Yang & Zaiqing Chen & Yuelong Xia, 2024. "A General Image Super-Resolution Reconstruction Technique for Walnut Object Detection Model," Agriculture, MDPI, vol. 14(8), pages 1-24, August.
    2. Jaehwi Seol & Yonghyun Park & Jeonghyeon Pak & Yuseung Jo & Giwan Lee & Yeongmin Kim & Chanyoung Ju & Ayoung Hong & Hyoung Il Son, 2024. "Human-Centered Robotic System for Agricultural Applications: Design, Development, and Field Evaluation," Agriculture, MDPI, vol. 14(11), pages 1-17, 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:14:y:2024:i:9:p:1441-:d:1463251. 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.