Predicting 3D shapes, masks, and properties of materials, liquids, and objects inside transparent containers, using the TransProteus CGI dataset

Sagi Eppel, Haoping Xu, Yi Ru Wang, Alán Aspuru-GuzikarXiv 2021

Introduction

Transparent objects represent a significant hurdle in computer vision. Standard depth-sensing technologies, such as LiDAR or structured light, are fundamentally incompatible with glass and clear plastics because light refracts, reflects, and scatters rather than traveling in a predictable straight line. For robotic systems in laboratory or industrial environments, "seeing" through these containers is critical. Whether determining the volume of a liquid in a beaker or identifying a solid catalyst at the bottom of a bottle, robots require precise 3D geometry and material property data.

The TransProteus project addresses this challenge by introducing a massive synthetic dataset and a novel camera-agnostic deep learning framework designed to reconstruct the shapes of liquids and objects hidden behind refractive surfaces.

The TransProteus Dataset

To train models capable of handling the complexities of transparency, the researchers developed TransProteus, a synthetic dataset generated using Blender. It comprises 50,000 images featuring 13,000 unique objects across 500 high-definition environments. A key feature is the inclusion of complex liquid simulations (splashing, foam, bubbles) created with the MantaFlow engine.

Examples from the TransProteus dataset showing input images, ground truth depth/segmentation maps, and material properties for both synthetic and real-world cases.

Crucially, TransProteus provides the "undistorted" ground truth. While a human or a standard camera sees a distorted version of the contents due to refraction, the dataset provides the actual 3D shape. This distinction is vital for physical interaction, such as a robotic arm reaching into a container. The dataset is supplemented by a small real-world validation set of 104 images, where ground truth was obtained by scanning objects and using opaque paint on vessels to allow traditional depth sensors to function.

Methodology: XYZ Map Prediction

The core technical innovation of this work is the move away from standard depth maps toward XYZ map prediction. A standard depth map only records the distance from the camera to a pixel. In contrast, the proposed Fully Convolutional Network (FCN) predicts the absolute 3D coordinates (X, Y, Z) for every pixel.

The proposed architecture uses a Depth Net and an XYZ Net to produce coordinate maps, enabling 3D reconstruction from a single RGB image.

Camera-Agnostic Learning

Most 3D reconstruction methods rely on "camera intrinsics"—specific details about the lens and sensor—to map 2D pixels to 3D space. To make the model camera-agnostic, the authors introduced a Translation and Scale-Invariant Loss. Instead of penalizing the network based on absolute XYZ values (which vary based on the camera's position), the loss function calculates the distances between pairs of points within the predicted model. This approach ensures the network learns the intrinsic shape of the object rather than its relative position, allowing models trained on synthetic data to generalize effectively to real-world photos taken with unknown cameras.

Material Property Regression

In addition to geometry, the system predicts physical properties. A ResNext-based architecture processes the input image and a vessel mask to estimate a vector of physical properties, including RGB color, surface roughness, metallic reflection, and transparency (transmission).

Key Results and Insights

The model demonstrates remarkable performance in challenging scenarios:

  • 3D Accuracy: The system achieved an R² value of 0.96 for vessel shapes on real-world images.
  • Material Prediction: Physical properties like transparency and color are predicted with a mean absolute error of less than 10%.
  • Segmentation: Vessel segmentation reached an Intersection over Union (IoU) of over 80%. Content segmentation (the objects or liquids inside) remains more difficult, hovering around 50-55% for real-world data.

One interesting finding is that liquids are generally easier to reconstruct than solid objects. Because liquids conform to gravity and the internal geometry of their container, they provide a more predictable spatial prior for the neural network.

Conclusion and Future Work

TransProteus represents a major step toward solving the "final boss" of computer vision. By combining a high-fidelity synthetic dataset with a coordinate-based prediction framework, the researchers have enabled 3D sensing through refractive surfaces without requiring specialized hardware or camera calibration. Future work will focus on expanding the real-world dataset and incorporating more complex chemical systems to further bridge the gap between simulation and reality.

Summary updated

BibTeX
@misc{eppel2021predicting,
  author = {Sagi Eppel and Haoping Xu and Yi Ru Wang and Alán Aspuru-Guzik},
  title = {{Predicting 3D shapes, masks, and properties of materials, liquids, and objects inside transparent containers, using the TransProteus CGI dataset}},
  year = {2021},
  eprint = {2109.07577},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.07577},
}
Figure