Article complete

TensorFlow brings out Depth API to convert individual images to 3D photos

Tensorflow has launched a live demo for enthusiasts to try and convert their photographs into 3D versions.

Three-dimensional TensorFlow logo surrounded by connected dots on a blue background, representing technology and innovation.

Key takeaways

  • TensorFlow has launched the Depth API and ARPortraitDepth for converting portrait images into 3D photos.
  • The Depth API generates a depth map from a single colour portrait image, enhancing depth estimation accuracy.
  • TensorFlow provides a live demo for users to experience the conversion of their photographs into 3D versions.
  • The technology employs deep learning techniques to improve depth predictions by gradually refining detail resolution.
  • The new features aim to enhance computational photography and offer a parallax effect on transformed images.

Takeaways drafted with AI from the article text.

TensorFlow has introduced Depth API and ARPortraitDepth which estimate a depth map for a single portrait image. It has also presented a computational photography application, 3D photo, which uses the predicted depth and enables a 3D parallax effect on the given portrait image. Tensorflow has launched a live demo for enthusiasts to try and convert their photographs into 3D versions.

Mechanism

Image: TensorFlow

It adds, "Deep learning features from the encoder are concatenated to the corresponding layers with the same spatial resolution in the decoders to bring high-resolution signals for depth estimation. During training, we force the decoder to produce depth predictions with increasing resolutions at each layer and add a loss for each of them with the ground truth. This empirically helps the decoder to predict accurate depth by gradually adding details."

To improve the robustness against background variation, it runs an off-the-shelf body segmentation model with MediaPipe and TensorFlow.js before sending the image into the neural network of depth estimation.

Image: TensorFlow

Then it applies texture projection to the depth mesh and rotates the camera around the z-axis in a circle. 

Published

Spotted an error? Tell our editors. Read our editorial standards and corrections.

More in this story

Tensorflow · 5 stories
  1. TensorFlow's JavaScript Library Can Deploy ML Models In The Browser
  2. DataRobot Acquires Decision AI Alongside Release of DataRobot 7.2
  3. TensorFlow v2.9 released: Major highlights
  4. TensorFlow adds a new library for on-device text-to-image search
  5. You are here: TensorFlow brings out Depth API to convert individual images to 3D photos
About the author

Contributor

All stories
Belamy · Daily

The day’s AI news, before your first meeting.