Skip to content

DepthPro2 (Depth Pro 2): Apple's Metric Depth Model for Images and Video

AINewss Editorial Team

DepthPro2, published by Apple as Depth Pro 2, estimates metric depth in meters from photos, video and live feeds at full resolution. This guide covers the four checkpoint sizes, the shared focal-length estimator, the architecture behind temporal consistency, benchmark metrics, runnable code and the non-commercial license.

View 2 references
0 views 0 likes

Allow the functional cookie to save your likes. Privacy details

A street photo beside its sharp color-coded per-pixel depth map.

What is DepthPro2?

DepthPro2, published by Apple as Depth Pro 2, estimates sharp, metric and temporally consistent depth for images and video at full resolution. It predicts distance in meters from one ordinary camera without downsizing the input. One network handles stills, clips and live feeds, outputting inverse depth maps and focal length.

Apple describes the paper as "Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth" (arXiv:2611.26603). The same network handles a still photo, a video clip and a live feed, which is the central difference from earlier single-frame depth models. Code, weights and a project page were released in November 2026. The outputs are inverse depth maps converted to meters, plus a focal length when camera metadata is unavailable. Project page

How does DepthPro2 keep video depth stable?

It uses a multi-view transformer that alternates frame-only attention with cross-frame attention after roughly the first third of its blocks. Early blocks sharpen each frame; later blocks let frames agree on depth. No frame-order positional encoding is used, so the network accepts a variable number of frames.

Each input frame becomes tokens for the transformer, and a DPT decoder builds dense features at 1/32, 1/16, 1/8 and 1/4 of the input resolution before predicting an inverse depth map per frame. The network uses no frame-order positional encoding, so it can handle a variable number of frames. Predictions are normalized by focal length: if EXIF or known calibration supplies it, the model uses that value; otherwise a separate estimator predicts it. Apple's model card shows video inference processing 16 frames at a time.

Native resolution is the other half of the design. Apple reports that raising input from 360 pixels to full resolution roughly doubled a boundary-sharpness score from 24.1 to 57.7 in its own comparison. That figure is from Apple's materials, not an independent test. Architecture description

Which DepthPro2 model sizes should you choose?

DepthPro2 ships in four sizes from a 24M-parameter S checkpoint to an 872M H+ checkpoint. All share the same focal-length estimator, so budget an extra 94 MB when focal length is unknown. Larger variants give sharper, steadier maps; smaller ones run faster. S is the practical laptop starting point.

Variant Parameters Checkpoint download CLI flag
S 24M 97 MB depthpro2-s
B 97M 386 MB depthpro2-b
L 334M 1.3 GB depthpro2-l
H+ 872M 3.5 GB depthpro2-h
Focal estimator 23.5M 94 MB shared

Apple says larger variants produce sharper and steadier depth maps while smaller ones run faster. The S checkpoint is the practical starting point on a laptop; H+ is the default and is the variant used in the paper's comparisons. Every size supports images, video and live streams. Published Core ML memory measurements on Apple silicon show roughly 1.5 GB for S and about 4 GB for L at 854 x 480, so memory grows with both resolution and temporal context. Model card

How well does DepthPro2 perform on depth benchmarks?

Apple reports that DepthPro2 beats prior single-frame and multi-frame methods on boundary sharpness and temporal consistency, measured by Boundary F1 and Jitter on the Sintel and Spring datasets. The project page does not publish a numeric results table in text form.

The comparison setup is specific: video sources at 2K to 4K, with DepthPro2 H+ run at native resolution and baselines at their defaults. Apple also shows qualitative comparisons against single-frame and multi-frame methods on subjects such as a meerkat, where DepthPro2 retains fine fur detail while keeping depth stable across frames. Treat these as vendor-selected examples rather than a full leaderboard. For a quantitative claim, cite the Boundary F1 and Jitter metrics with the dataset names and note that the numbers come from Apple's paper. Evaluation description

How do you run DepthPro2?

Install the package from Apple's GitHub repository, load a checkpoint from the Hugging Face hub, and attach the focal estimator when inputs lack EXIF focal length. Inference returns a meters-valued array shaped like the input. The model card covers images, 16-frame video chunks and live streams, with PNG, MP4 and NPZ outputs.

pip install "git+https://github.com/apple-aiml-research/ml-depth-pro-2"
import torch
from functools import partial
from huggingface_hub import hf_hub_download
from safetensors.torch import load_file
from depth_pro_2 import DepthPro2, load_rgb, upright
from depth_pro_2.model import to_normalized_tensor
from depth_pro_2.network.fov import FOVEstimator

model = DepthPro2.from_pretrained("apple/DepthPro2-H", precision=torch.bfloat16)
weights = hf_hub_download("apple/DepthPro2-focal", "model.safetensors")
model.fov = FOVEstimator(torch.bfloat16)
model.fov.load_state_dict(load_file(weights))
model = model.to("cuda").eval()

image, f_px = load_rgb("photo.jpg")
depth = model.infer(partial(to_normalized_tensor, device=torch.device("cuda"))(image), f_px=f_px)["depth"]

The result is a meters-valued array shaped like the input. Infinite regions such as sky return infinite depth. For video, infer_video consumes decoded frames and yields one prediction per frame. Apple also provides a command-line tool, three entry points named infer, infer_video and stream, and outputs including PNG, MP4, 16-bit grayscale and NPZ. Setup uses uv, and the code runs on Linux or Apple silicon with CUDA, MPS or CPU. On Mac, Core ML exports and a demo app require macOS 15 or later and Xcode 16 or later. Setup code

Can you use DepthPro2 commercially?

No, not under the released weights license. The Apple Machine Learning Research Model license permits non-commercial scientific research and academic development only. The code is MIT-style, so the split matters: you may modify the software, but shipping checkpoints in a paid product requires separate permission.

The code is under an MIT-style license, so the split matters: you can inspect and modify the software, but the model checkpoints themselves cannot be shipped in a commercial product without separate permission. That is the most important decision point for anyone evaluating DepthPro2 for a paid app, an AR feature or a robotics product. Downloading the weights is free, and no paid tier has been found, but free to download is not the same as free to deploy.

Scope is also limited to what Apple documents. There is no hosted one-click demo in the materials, so you need a suitable GPU or Apple silicon machine and a code environment. The project page gives no explicit release date beyond the 2026 copyright and citation year; secondary coverage reports an announcement on November 19, 2026. License terms

Frequently asked questions about DepthPro2

These questions settle the practical details before experimenting: naming, still-image support, what happens without focal length, which variant suits a laptop, and commercial terms. Answers come from Apple's project page and model card; the license answer is the one most likely to change a deployment plan.

Is DepthPro2 the same as Depth Pro 2?

Yes. DepthPro2 is the model repository identifier; Apple's paper and project page call it Depth Pro 2.

Does it work on a single photo?

Yes. One network handles still images, video clips and live feeds, and it predicts depth at the input's full resolution.

What happens if I do not know the focal length?

A shared 23.5M-parameter, 94 MB field-of-view estimator predicts it. If you supply a known focal length, inference skips that estimator.

Which variant should a laptop user start with?

S, at 24M parameters and a 97 MB download. Apple says larger variants give sharper and steadier maps but run more slowly.

Can I use it in a commercial video editor?

Not with the published weights. The Apple ML Research Model license restricts weights to non-commercial research and academic development; contact Apple for other terms.

Bottom line

DepthPro2 is a strong research release for anyone who needs metric depth that stays stable across video frames, and the S checkpoint is small enough for quick experiments. The non-commercial weights license is a hard boundary for product work, so decide that question before investing in integration.

References

  1. Depth Pro 2 project pageapple-aiml-research.github.io
  2. Apple DepthPro2 model cardhuggingface.co