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

Read original: arXiv:2401.08629 - Published 4/3/2024 by Ranjan Sapkota, Dawood Ahmed, Martin Churuvija, Manoj Karkee
Total Score

0

🔎

Sign in to get full access

or

If you already have an account, we'll log you in

Overview

• Detecting and measuring the size of immature green apples (fruitlets) is crucial for predicting yield, managing pests, and making decisions about crop management, harvesting, and marketing.

• Traditional fruit size measurement methods are labor-intensive and time-consuming.

• This study used a state-of-the-art object detection and instance segmentation algorithm (YOLOv8) with 3D point cloud data to accurately determine the size of green apples in a commercial orchard environment.

• Two RGB-D sensors, the Intel RealSense D435i and Microsoft Azure Kinect DK, were used to capture the data.

Plain English Explanation

Growing apples is an important agricultural activity, but farmers face challenges in predicting the size and quantity of their crop. Accurately measuring the size of young, unripe apples (called fruitlets) can help farmers make better decisions about managing their orchards, preparing for harvest, and selling their produce.

Traditional methods of measuring fruit size are complex and time-consuming. This research explored a more efficient solution using advanced computer vision techniques. The researchers used a powerful object detection algorithm called YOLOv8 to identify and segment individual fruitlets in 3D images captured by specialized cameras. By analyzing the shape and size of the fruitlets, the researchers could accurately estimate their dimensions.

Compared to manual measurement, this automated approach was much faster and more precise. The researchers found that the Microsoft Azure Kinect camera produced more accurate size estimates than the Intel RealSense camera. However, the system still struggled with some challenges, like when fruitlets were partially hidden by other fruit on the tree.

Overall, this research demonstrates a promising new way for apple growers to monitor the development of their crop and make more informed decisions throughout the growing season and leading up to harvest.

Technical Explanation

The study employed the YOLOv8 object detection and instance segmentation algorithm to identify and delineate individual immature green apples (fruitlets) in 3D point cloud data. Two RGB-D sensors were used to capture the data:

  1. Intel RealSense D435i
  2. Microsoft Azure Kinect DK

The YOLOv8 instance segmentation models exhibited strong performance in detecting the green fruitlets, with the YOLOv8m-seg model achieving the highest [email protected] and [email protected] scores of 0.94 and 0.91, respectively.

To estimate the size of the fruitlets, an ellipsoid fitting technique was applied to the 3D point cloud data from the Azure Kinect sensor. This resulted in 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 comparison, the size estimation technique performed better on the Azure Kinect data than the RealSense D435i data. The Azure Kinect achieved an RMSE of 2.35 mm, MAE of 1.66 mm, and R-squared of 0.9, while the RealSense D435i had an RMSE of 9.65 mm, MAE of 7.8 mm, and R-squared of 0.77.

The researchers noted that partial occlusion of the fruitlets, particularly in clusters, caused some error in accurately delineating and sizing the green apples using the YOLOv8-based segmentation technique.

Critical Analysis

The research presents a promising approach for automating the measurement of immature apple size, but there are a few potential limitations and areas for further exploration:

  • The study was conducted in a commercial orchard environment, so the performance of the system may vary in different growing conditions or with different apple varieties.
  • The accuracy of the size estimation was still affected by occlusion, particularly for fruitlets in clusters. More advanced segmentation techniques or multi-view approaches may be needed to address this challenge.
  • The study compared two RGB-D sensors, but there may be other camera technologies or configurations that could further improve the accuracy and robustness of the size estimation.
  • The research did not explore the potential for this system to be integrated with other precision agriculture technologies, such as autonomous sprayers or robotic harvesters, which could enhance its real-world applicability.

Overall, this research demonstrates the potential for computer vision and 3D sensing to revolutionize fruit size measurement, but continued development and testing will be necessary to make the technology truly practical and scalable for commercial apple growers.

Conclusion

This study showcases a novel approach to accurately measuring the size of immature green apples (fruitlets) in a commercial orchard environment. By combining state-of-the-art object detection and instance segmentation techniques with 3D point cloud data, the researchers were able to achieve highly accurate size estimates, outperforming traditional manual measurement methods.

The ability to automatically and precisely monitor fruit development throughout the growing season has significant implications for apple growers. It can help them better predict yields, optimize crop management, and streamline harvesting and post-harvest logistics. As this technology continues to evolve, it could become an invaluable tool for increasing the efficiency and productivity of apple orchards around the world.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on 𝕏 →

Related Papers

🔎

Total Score

0

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

Ranjan Sapkota, Dawood Ahmed, Martin Churuvija, Manoj Karkee

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 [email protected] and [email protected] 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).

Read more

4/3/2024

🔎

Total Score

0

Precise Apple Detection and Localization in Orchards using YOLOv5 for Robotic Harvesting Systems

Jiang Ziyue, Yin Bo, Lu Boyun

The advancement of agricultural robotics holds immense promise for transforming fruit harvesting practices, particularly within the apple industry. The accurate detection and localization of fruits are pivotal for the successful implementation of robotic harvesting systems. In this paper, we propose a novel approach to apple detection and position estimation utilizing an object detection model, YOLOv5. Our primary objective is to develop a robust system capable of identifying apples in complex orchard environments and providing precise location information. To achieve this, we curated an autonomously labeled dataset comprising diverse apple tree images, which was utilized for both training and evaluation purposes. Through rigorous experimentation, we compared the performance of our YOLOv5-based system with other popular object detection models, including SSD. Our results demonstrate that the YOLOv5 model outperforms its counterparts, achieving an impressive apple detection accuracy of approximately 85%. We believe that our proposed system's accurate apple detection and position estimation capabilities represent a significant advancement in agricultural robotics, laying the groundwork for more efficient and sustainable fruit harvesting practices.

Read more

5/13/2024

🚀

Total Score

0

Comprehensive Performance Evaluation of YOLOv10, YOLOv9 and YOLOv8 on Detecting and Counting Fruitlet in Complex Orchard Environments

Ranjan Sapkota, Zhichao Meng, Martin Churuvija, Xiaoqiang Du, Zenghong Ma, Manoj Karkee

This study performed an extensive evaluation of the performances of all configurations of YOLOv8, YOLOv9, and YOLOv10 object detection algorithms for fruitlet (of green fruit) detection in commercial orchards. Additionally, this research performed and validated in-field counting of fruitlets using an iPhone and machine vision sensors in 5 different apple varieties (Scifresh, Scilate, Honeycrisp, Cosmic crisp & Golden delicious). This comprehensive investigation of total 17 different configurations (5 for YOLOv8, 6 for YOLOv9 and 6 for YOLOv10) revealed that YOLOv9 outperforms YOLOv10 and YOLOv8 in terms of mAP@50, while YOLOv10x outperformed all 17 configurations tested in terms of precision and recall. Specifically, YOLOv9 Gelan-e achieved the highest mAP@50 of 0.935, outperforming YOLOv10n's 0.921 and YOLOv8s's 0.924. In terms of precision, YOLOv10x achieved the highest precision of 0.908, indicating superior object identification accuracy compared to other configurations tested (e.g. YOLOv9 Gelan-c with a precision of 0.903 and YOLOv8m with 0.897. In terms of recall, YOLOv10s achieved the highest in its series (0.872), while YOLOv9 Gelan m performed the best among YOLOv9 configurations (0.899), and YOLOv8n performed the best among the YOLOv8 configurations (0.883). Meanwhile, three configurations of YOLOv10: YOLOv10b, YOLOv10l, and YOLOv10x achieved superior post-processing speeds of 1.5 milliseconds, outperforming all other configurations within the YOLOv9 and YOLOv8 families. Specifically, YOLOv9 Gelan-e recorded a post-processing speed of 1.9 milliseconds, and YOLOv8m achieved 2.1 milliseconds. Furthermore, YOLOv8n exhibited the highest inference speed among all configurations tested, achieving a processing time of 4.1 milliseconds while YOLOv9 Gelan-t and YOLOv10n also demonstrated comparatively slower inference speeds of 9.3 ms and 5.5 ms, respectively.

Read more

8/28/2024

Performance Evaluation of YOLOv8 Model Configurations, for Instance Segmentation of Strawberry Fruit Development Stages in an Open Field Environment
Total Score

0

Performance Evaluation of YOLOv8 Model Configurations, for Instance Segmentation of Strawberry Fruit Development Stages in an Open Field Environment

Abdul-Razak Alhassan Gamani, Ibrahim Arhin, Adrena Kyeremateng Asamoah

Accurate identification of strawberries during their maturing stages is crucial for optimizing yield management, and pest control, and making informed decisions related to harvest and post-harvest logistics. This study evaluates the performance of YOLOv8 model configurations for instance segmentation of strawberries into ripe and unripe stages in an open field environment. The YOLOv8n model demonstrated superior segmentation accuracy with a mean Average Precision (mAP) of 80.9%, outperforming other YOLOv8 configurations. In terms of inference speed, YOLOv8n processed images at 12.9 milliseconds, while YOLOv8s, the least-performing model, processed at 22.2 milliseconds. Over 86 test images with 348 ground truth labels, YOLOv8n detected 235 ripe fruit classes and 51 unripe fruit classes out of 251 ground truth ripe fruits and 97 unripe ground truth labels, respectively. In comparison, YOLOv8s detected 204 ripe fruits and 37 unripe fruits. Overall, YOLOv8n achieved the fastest inference speed of 24.2 milliseconds, outperforming YOLOv8s, YOLOv8m, YOLOv8l, and YOLOv8x, which processed images at 33.0 milliseconds, 44.3 milliseconds, 53.6 milliseconds, and 62.5 milliseconds, respectively. These results underscore the potential of advanced object segmentation algorithms to address complex visual recognition tasks in open-field agriculture effectively to address complex visual recognition tasks in open-field agriculture effectively.

Read more

8/14/2024