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

Fruit Distribution Density Estimation in YOLO-Detected Strawberry Images: A Kernel Density and Nearest Neighbor Analysis Approach

Author

Listed:
  • Lili Jiang

    (Shandong Institute of Pomology, Taian 271018, China)

  • Yunfei Wang

    (School of Agricultural Engineering, Jiangsu University, Zhenjiang 212013, China)

  • Chong Wu

    (Shandong Institute of Pomology, Taian 271018, China)

  • Haibin Wu

    (Shandong Institute of Pomology, Taian 271018, China)

Abstract

Precise information on strawberry fruit distribution is of significant importance for optimizing planting density and formulating harvesting strategies. This study applied a combined analysis of kernel density estimation and nearest neighbor techniques to estimate fruit distribution density from YOLOdetected strawberry images. Initially, an improved yolov8n strawberry object detection model was employed to obtain the coordinates of the fruit centers in the images. The results indicated that the improved model achieved an accuracy of 94.7% with an mAP@0.5~0.95 of 87.3%. The relative error between the predicted and annotated coordinates ranged from 0.002 to 0.02, demonstrating high consistency between the model predictions and the annotated results. Subsequently, based on the strawberry center coordinates, the kernel density estimation algorithm was used to estimate the distribution density in the strawberry images. The results showed that with a bandwidth of 200, the kernel density estimation accurately reflected the actual strawberry density distribution, ensuring that all center points in high-density regions were consistently identified and delineated. Finally, to refine the strawberry distribution information, a comprehensive method based on nearest neighbor analysis was adopted, achieving target area segmentation and regional density estimation in the strawberry images. Experimental results demonstrated that when the distance threshold ϵ was set to 600 pixels, the correct grouping rate exceeded 94%, and the regional density estimation results indicated a significant positive correlation between the number of fruits and regional density. This study provides scientific evidence for optimizing strawberry planting density and formulating harvesting sequences, contributing to improved yield, harvesting efficiency, and reduced fruit damage. In future research, this study will further explore dynamic models that link fruit distribution density, planting density, and fruit growth status.

Suggested Citation

  • Lili Jiang & Yunfei Wang & Chong Wu & Haibin Wu, 2024. "Fruit Distribution Density Estimation in YOLO-Detected Strawberry Images: A Kernel Density and Nearest Neighbor Analysis Approach," Agriculture, MDPI, vol. 14(10), pages 1-16, October.
  • Handle: RePEc:gam:jagris:v:14:y:2024:i:10:p:1848-:d:1502522
    as

    Download full text from publisher

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

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

    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:10:p:1848-:d:1502522. 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.

    We have no bibliographic references for this item. You can help adding them by using 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.