# Immature Green Apple Detection and Sizing in Commercial Orchards using YOLOv8 and Shape Fitting Techniques

arXiv: https://arxiv.org/abs/2401.08629 · HTML: https://mlsanity.com/paper/2401.08629/

## Key facts

- Cited by 9 papers in the map (data through 14 Oct 2026).
- Builds on 5 of its 59 references that are in the map.
- First posted on arXiv 8 Dec 2023.

## Builds on (most cited first, 5 of 5)

- [Deep Fruit Detection in Orchards](https://mlsanity.com/paper/1610.03677/) (2016)
- [Real-time Multi-Class Helmet Violation Detection Using Few-Shot Data Sampling Technique and YOLOv8](https://mlsanity.com/paper/2304.08256/) (2023)
- [Viewpoint Planning for Fruit Size and Position Estimation](https://mlsanity.com/paper/2011.00275/) (2020)
- [Fruit Mapping with Shape Completion for Autonomous Crop Monitoring](https://mlsanity.com/paper/2203.15489/) (2022)
- [Machine Vision-Based Crop-Load Estimation Using YOLOv8](https://mlsanity.com/paper/2304.13282/) (2023)

## Built on by (most cited first, 9 of 9)

- [Comparing YOLOv8 and Mask R-CNN for instance segmentation in complex orchard environments](https://mlsanity.com/paper/2312.07935/) (2023)
- [RF-DETR Object Detection vs YOLOv12 : A Study of Transformer-based and CNN-based Architectures for Single-Class and Multi-Class Greenfruit Detection in Complex Orchard Environments Under Label Ambiguity](https://mlsanity.com/paper/2504.13099/) (2025)
- [Comprehensive Performance Evaluation of YOLOv12, YOLO11, YOLOv10, YOLOv9 and YOLOv8 on Detecting and Counting Fruitlet in Complex Orchard Environments](https://mlsanity.com/paper/2407.12040/) (2024)
- [Comparing YOLOv11 and YOLOv8 for instance segmentation of occluded and non-occluded immature green fruits in complex orchard environment](https://mlsanity.com/paper/2410.19869/) (2024)
- [Zero-Shot Automatic Annotation and Instance Segmentation using LLM-Generated Datasets: Eliminating Field Imaging and Manual Annotation for Deep Learning Model Development](https://mlsanity.com/paper/2411.11285/) (2024)
- [Improved YOLOv12 with LLM-Generated Synthetic Data for Enhanced Apple Detection and Benchmarking Against YOLOv11 and YOLOv10](https://mlsanity.com/paper/2503.00057/) (2025)
- [Performance Evaluation of YOLOv8 Model Configurations, for Instance Segmentation of Strawberry Fruit Development Stages in an Open Field Environment](https://mlsanity.com/paper/2408.05661/) (2024)
- [Foundation Model-Based Apple Ripeness and Size Estimation for Selective Harvesting](https://mlsanity.com/paper/2502.01850/) (2025)
- [Optimizing YOLO27, YOLO26, YOLO11, and YOLOv8 for Fine-Grained Small-Object Detection and Segmentation in Complex Orchard Environments](https://mlsanity.com/paper/2608.23636/) (2026)

## Abstract (arXiv)

Detecting and estimating size of apples during the early stages of growth is crucial for predicting yield, pest management, and making informed decisions related to crop-load management, harvest and post-harvest logistics, and marketing. Traditional fruit size measurement methods are laborious and timeconsuming. This study employs the state-of-the-art YOLOv8 object detection and instance segmentation algorithm in conjunction with geometric shape fitting techniques on 3D point cloud data to accurately determine the size of immature green apples (or fruitlet) in a commercial orchard environment. The methodology utilized two RGB-D sensors: Intel RealSense D435i and Microsoft Azure Kinect DK. Notably, the YOLOv8 instance segmentation models exhibited proficiency in immature green apple detection, with the YOLOv8m-seg model achieving the highest AP@0.5 and AP@0.75 scores of 0.94 and 0.91, respectively. Using the ellipsoid fitting technique on images from the Azure Kinect, we achieved an RMSE of 2.35 mm, MAE of 1.66 mm, MAPE of 6.15 mm, and an R-squared value of 0.9 in estimating the size of apple fruitlets. Challenges such as partial occlusion caused some error in accurately delineating and sizing green apples using the YOLOv8-based segmentation technique, particularly in fruit clusters. In a comparison with 102 outdoor samples, the size estimation technique performed better on the images acquired with Microsoft Azure Kinect than the same with Intel Realsense D435i. This superiority is evident from the metrics: the RMSE values (2.35 mm for Azure Kinect vs. 9.65 mm for Realsense D435i), MAE values (1.66 mm for Azure Kinect vs. 7.8 mm for Realsense D435i), and the R-squared values (0.9 for Azure Kinect vs. 0.77 for Realsense D435i).
