Automatic Cucumber Maturity Classification and Size Estimation via RGB-D Vision and YOLOv8n
Gaia Moretti, Filippo Orazi, Vito Aurelio Cerasola, Matteo Landolfo, Giuseppina Pennisi, Giorgio Gianquinto, Francesco Orsini
Key points
From the paper's conclusion- This study proposes an RGB-D perception framework combining YOLOv8n object detection with depth-based geometric estimation.
Abstract
Automated cucumber harvesting requires a perception system that can detect fruit, assess ripeness and localize the peduncle for cutting under real commercial greenhouse conditions. This study proposes an RGB-D perception framework combining YOLOv8n object detection with depth-based geometric estimation. The framework was evaluated on data collected in commercial greenhouses with dense, continuously varying occlusion, variable illumination and multiple co-visible fruits at different maturity stages. Detections were assigned to five operational classes: ripe, unripe, flagged (non-marketable due to overripeness or deformity), obstructed and peduncle. The detector achieved an overall mAP50 of 0.568, but appearance-based ripeness classification proved unreliable. Confusion concentrated along two boundaries: a continuous, judgment-based occlusion criterion and an absolute length threshold that RGB appearance cannot directly resolve. Depth-based length estimation, by contrast, achieved an MAE of 0.72 cm (RMSE = 1.15 cm, MAPE = 4.04%) directly in the greenhouse. Applying the ripeness length threshold to the estimated lengths misclassified 6.4% of fruits at the RIPE/UNRIPE boundary on the dimensional validation set, indicating that length-based ripeness assignment is feasible. Diameter estimation was markedly less accurate (R2 = 0.49) and is not proposed as a validated measurement for grading or yield estimation. The framework also estimated candidate 3D cutting points that remained spatially consistent across frames; cutting accuracy requires future robotic validation. These results suggest that, in complex greenhouse environments, ripeness decisions of cucumber should rely on depth-based geometric measurement, with object detection used primarily for fruit and peduncle localization. Combining visual detection with quantitative measurement therefore appears to be a promising basis for robotic cucumber harvesting.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- RGB-Based Non-Destructive Measurement of Greenhouse Tomato Fruit Traits Using High-Fidelity Segmentation.Plants (Basel, Switzerland) · 2026
- Embedding of ripening topology into one-stage detection for tomato cluster phenotypingJournal of Zhejiang University SCIENCE B · 2026
- A robotic harvesting system for occluded cucumbers using F2SA-YOLOv8 and HVSCComputers and Electronics in Agriculture · 2026
- YOLO11n-Cucumber: An Efficient Model for Detecting Visual Indicators Associated with Selected Phenological Stages in Greenhouse-Grown CucumberApplied Sciences · 2026
- Cross-level attention and lightweight feature extraction for improved tomato ripeness detection in complex greenhouse environments.Frontiers in plant science · 2026
- Deep learning for real-time strawberry detection, ripeness classification, and picking point localization: a review of architectures, field studies, and open challengesArtificial Intelligence Review · 2026