Skip to content
AI.info

The Pulse

Apple releases Depth Pro 2 depth models for research use

Depth Pro 2 estimates depth in meters from still images, video and live camera feeds at their full resolution. Apple has released model weights for research use and code to run them.

Apple releases Depth Pro 2 depth models for research use

Apple researchers have released Depth Pro 2, a family of models that estimates depth in meters from images and video taken with an ordinary camera. The work, described in a preprint submitted on November 19, uses a single network to process both stills and moving footage at their original resolution.

Source arxiv.org

Apple has also published code to run the models and links to their weights. The weights are restricted to non-commercial scientific research and academic development activities.

One network for images and video

Depth Pro 2 produces a depth estimate for every pixel and can handle a single photo, a video or a live camera feed. The researchers say earlier single-image methods tend to produce sharp object boundaries but inconsistent estimates across video frames, while multi-frame methods tend to be steadier but smoother at boundaries.

In tests averaged over the Sintel and Spring datasets, the researchers report that Depth Pro 2 outperformed prior single-frame and multi-frame methods on boundary sharpness and temporal consistency. They also report better metric depth accuracy than prior work.

The network processes input frames jointly through a multi-view transformer and uses a decoder to predict an inverse depth map for each frame. Training mixed image, video and multi-view datasets in clips of 1 to 32 frames, with a consistency loss applied to video predictions.

Scale and speed

To obtain metric depth, the model uses the input camera's focal length. When that is not supplied, a separate estimator predicts it. The depth value represents distance along the camera's viewing direction, rather than straight-line distance from the camera.

The released family has four sizes, from 24 million to 872 million parameters. The smallest model, Depth Pro 2-S, ran at 53 frames per second on 1080p input on a B200 in the streaming setting, according to the paper. The largest, H+, ran at 8 frames per second on 1080p video on the same hardware; the researchers report that it outperformed prior work on metric depth, boundary sharpness and temporal consistency for images and video.

Running the release

The repository offers commands for photos and videos on Linux or Apple silicon Macs. Its default H+ model requires a 3.5 GB download, while the smaller S model is 97 MB. Exported Core ML models are also available for Apple hardware.

By default, video files are processed in clips of 16 frames with an overlap of four frames. The unbuffered mode for live video predicts each arriving frame using that frame and the 15 before it; the repository notes that depth is less steady at the start of a stream, when fewer earlier frames are available.

Sources

  1. Original source · Preprint arXiv arXiv:2611.26603

Other pages read

  1. Apple Machine Learning Research machinelearning.apple.com
  2. GitHub (Apple) github.com

Companies in this story

Related stories

Explore

More articles