[Paper Review] Image Segmentation for Fruit Detection and Yield Estimation in Apple Orchards
This paper presents a deep learning-based image segmentation framework for fruit detection and yield estimation in apple orchards using monocular UGV-captured imagery. By integrating metadata (e.g., camera position, sun angle) into multi-scale MLP and CNN architectures, the method improves pixel-wise segmentation and fruit counting accuracy, achieving a squared correlation coefficient of r² = 0.826 between estimated and actual post-harvest counts.
Ground vehicles equipped with monocular vision systems are a valuable source of high resolution image data for precision agriculture applications in orchards. This paper presents an image processing framework for fruit detection and counting using orchard image data. A general purpose image segmentation approach is used, including two feature learning algorithms; multi-scale Multi-Layered Perceptrons (MLP) and Convolutional Neural Networks (CNN). These networks were extended by including contextual information about how the image data was captured (metadata), which correlates with some of the appearance variations and/or class distributions observed in the data. The pixel-wise fruit segmentation output is processed using the Watershed Segmentation (WS) and Circular Hough Transform (CHT) algorithms to detect and count individual fruits. Experiments were conducted in a commercial apple orchard near Melbourne, Australia. The results show an improvement in fruit segmentation performance with the inclusion of metadata on the previously benchmarked MLP network. We extend this work with CNNs, bringing agrovision closer to the state-of-the-art in computer vision, where although metadata had negligible influence, the best pixel-wise F1-score of $0.791$ was achieved. The WS algorithm produced the best apple detection and counting results, with a detection F1-score of $0.858$. As a final step, image fruit counts were accumulated over multiple rows at the orchard and compared against the post-harvest fruit counts that were obtained from a grading and counting machine. The count estimates using CNN and WS resulted in the best performance for this dataset, with a squared correlation coefficient of $r^2=0.826$.
Motivation & Objective
- To develop an automated image processing pipeline for fruit detection and yield estimation in commercial apple orchards using ground-based monocular vision.
- To reduce reliance on hand-engineered features by employing general-purpose deep learning models (ms-MLP and CNN) for end-to-end image segmentation.
- To improve segmentation and detection performance by incorporating contextual metadata (e.g., camera trajectory, sun position) into the learning process.
- To evaluate the framework’s accuracy against ground truth counts from a post-harvest grading machine, enabling reliable yield mapping.
Proposed method
- Employed multi-scale Multi-Layered Perceptrons (ms-MLP) and Convolutional Neural Networks (CNNs) for pixel-wise image segmentation of fruits in orchard scenes.
- Integrated metadata—such as pixel position, row number, and sun position relative to the camera—into the input features of both ms-MLP and CNN models to model appearance variations.
- Post-processed segmentation outputs using Watershed Segmentation (WS) and Circular Hough Transform (CHT) to detect and count individual fruits.
- Calibrated image-based fruit counts against actual post-harvest counts from a grading machine to evaluate yield estimation accuracy.
- Trained models on a 0.5 ha apple orchard dataset captured under natural lighting, covering multiple varieties (red, pink-green, green) with diverse lighting and occlusion conditions.
- Used a pre-trained CNN with transfer learning principles to achieve state-of-the-art segmentation performance without significant metadata dependence.
Experimental results
Research questions
- RQ1Can incorporating metadata into deep learning models improve pixel-wise fruit segmentation performance in real-world orchard imagery?
- RQ2How does the inclusion of metadata affect the performance of ms-MLP versus CNN architectures in fruit segmentation tasks?
- RQ3Which post-processing algorithm—Watershed Segmentation or Circular Hough Transform—yields more accurate individual fruit detection and counting?
- RQ4To what extent can image-based fruit counts correlate with actual post-harvest counts, and what is the achievable accuracy of yield estimation using this framework?
Key findings
- Incorporating metadata improved segmentation performance on the ms-MLP network, demonstrating that metadata helps simpler models generalize better with fewer training examples.
- The CNN model achieved the best pixel-wise segmentation F1-score of 0.791, with metadata having a negligible impact, indicating that CNNs inherently capture complex visual patterns without metadata guidance.
- Watershed Segmentation (WS) outperformed Circular Hough Transform (CHT) in fruit detection, achieving a detection F1-score of 0.858.
- The combination of CNN-based segmentation and WS-based detection yielded the best yield estimation performance, with a squared correlation coefficient of r² = 0.826 between image-based and actual post-harvest counts.
- The system achieved a prediction time of approximately 7 seconds per 1232×1616 image, indicating potential for real-time deployment on robotic platforms.
- The framework enables accurate, non-destructive, and scalable yield mapping without requiring additional data collection beyond standard UGV imaging.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.