A Dataset and Benchmark for Shape Completion of Fruits for Agricultural Robotics

Federico Magistri, Thomas Läbe, Elias Marks, Sumanth Nagulavancha, Yue Pan, Claus Smitt, Lasse Klingbeil, Michael Halstead, Heiner Kuhlmann, Chris McCool, Jens Behley, Cyrill StachnissarXiv 2024

TL;DR

This paper introduces the first publicly available 3D shape completion dataset specifically designed for agricultural robotics, featuring nearly 7,000 RGB-D frames of sweet peppers. By providing high-precision, laser-scanned ground truth for partially occluded fruits, the authors enable researchers to train models that "fill in the blanks," allowing robots to grasp and harvest fruits more safely in cluttered greenhouse environments.

What Problem Does This Paper Address?

In a perfect world, a harvesting robot would have a clear, 360-degree view of every fruit. In a real greenhouse, however, fruits are buried behind leaves, stems, and other peppers. This "clutter" leads to severe occlusions, where a sensor only sees a small fraction of the fruit's surface.

Standard robotic manipulation often relies on pre-defined CAD models of objects. But fruits are biological—every pepper has a unique, irregular shape. If a robot only sees the front of a pepper and assumes a generic shape for the back, it risks a poor grasp, potentially damaging the crop or the machine. To harvest effectively, a robot needs to estimate the complete 3D geometry of a fruit from a single, partial viewpoint.

Fig. 1: With our dataset, we tackle the problem of estimating the shape of fruits as a mesh (shown in grey) given a partial observation of an RGB-D sensor providing a colored point cloud. The estimated shape of the fruit is essential to allow safe grasping in situation with severe occlusions, like a greenhouse environment.

Methods

The authors developed a sophisticated pipeline to align noisy, real-world sensor data with "perfect" ground truth.

  1. Lab Scenario: Fruits were placed inside a structure with three perpendicular planes. The authors used RANSAC to find these planes in both the RGB-D data and the high-precision LiDAR scans, providing an initial alignment that was then refined using Iterative Closest Point (ICP).
  2. Greenhouse Scenario: This was more complex because you can't easily laser-scan a fruit while it's still on a vibrating plant. The authors used a "marker-based" approach: they tagged peppers with ID labels and 3D pins, recorded them with a robot, then harvested and scanned them individually. They used photogrammetry to align the robot's "in-situ" view with the high-res "ex-situ" scans.
  3. Canonicalization: To focus the benchmark on shape rather than pose, all fruits in the dataset are provided in a "canonical pose" (peduncle pointing up). This factors out the rotation problem, allowing researchers to focus purely on geometry completion.
The registration procedure for the lab scenario, using environment planes to align sensors.

Datasets

The authors released a dataset consisting of:

  • ~7,000 RGB-D frames covering over 100 different sweet peppers.
  • Training Set: 4,580 images (all from lab conditions).
  • Validation Set: 1,387 images (mix of lab and greenhouse).
  • Test Set: 980 images (exclusively greenhouse, with ground truth hidden for a public challenge).

This split is intentional: it introduces a domain gap. Models trained on clean lab data must generalize to the noisier, more occluded greenhouse environment to succeed on the test set.

Key Insights and Ideas

  • The Domain Gap is the Real Boss: The authors observed that models performing excellently on lab data often struggled in the greenhouse. This highlights that "solving" shape completion in a controlled setting isn't enough for field robotics.
  • Point Clouds > Images: In their baseline tests, methods that operated directly on 3D point clouds (like T-CoRe and HoMa) significantly outperformed image-based methods (CoRe). This suggests that spatial features are more critical than texture for this specific task.
  • Sub-millimeter Ground Truth: By using a Hexagon ROMER Infinite arm and a Perceptron V5 laser scanner, the ground truth models have sub-millimeter accuracy, providing a much higher quality signal than synthetic datasets or standard depth cameras.
Examples of partial RGB-D inputs versus the complete laser-generated ground truth.

Key Results

The authors evaluated three baseline architectures: CoRe, HoMa, and T-CoRe.

  • Top Performer: T-CoRe achieved the best results on the hidden greenhouse test set, with a Chamfer Distance of 5.06 mm and an F-score of 58.04%.
  • Overfitting Warning: HoMa actually performed better on the validation set (4.19 mm Chamfer) but dropped significantly on the test set. The authors attribute this to overfitting on lab-like recording conditions present in the validation set.
  • The "Unsolved" Nature: Even the best model (T-CoRe) only reached a ~58% F-score on the test set, indicating there is still significant room for improvement in handling real-world agricultural occlusions.

Limitations and Future Work

The current dataset focuses on segmented fruits. This means the "instance segmentation" (finding the pepper in the image) is treated as a solved problem, and the model only has to complete the shape of that specific segment. In a full end-to-end system, errors in segmentation would likely propagate to the shape completion stage.

Future work planned by the authors includes extending this methodology to 3D object pose estimation, leveraging their marker-based registration to determine the exact orientation of fruits on the vine, which is the next critical step for robotic "eye-hand" coordination during picking.

Summary updated

BibTeX
@misc{magistri2024dataset,
  author = {Federico Magistri and Thomas Läbe and Elias Marks and Sumanth Nagulavancha and Yue Pan and Claus Smitt and Lasse Klingbeil and Michael Halstead and Heiner Kuhlmann and Chris McCool and Jens Behley and Cyrill Stachniss},
  title = {{A Dataset and Benchmark for Shape Completion of Fruits for Agricultural Robotics}},
  year = {2024},
  eprint = {2407.13304},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.13304},
}
Figure