Depth Pro 2

Depth from one camera is usually sharp or steady, not both. Depth Pro 2 is both, in metres: boundary F1 30.1 and jitter 1.13, the best on both axes of the paper’s Figure 2.

Pick a method family. Watch the fur in the warm inset and the animal’s distance in the line below it. Then we build, piece by piece, the two scores, the network, the losses and the speed.

You need a feel for pixels and neural networks and a little Python. We build the rest from zero.

Based on Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth (arXiv 2611.26603, November 2026) by Peiyun Hu, Marko Mihajlovic, Lyndon Duong, Lahav Lipson, Wei Dong, Amaël Delaunoy, Stephan R. Richter and Vladlen Koltun of Apple. Every idea is re-taught here in our own words and devices.

Choose sharp, steady or both

Illustrative clip. The scatter is the paper’s Figure 2: Table 4b and Table 5 averaged over Sintel and Spring. The toy blur follows each method’s F1, and its wobble follows its jitter.

Chapter 0

Sharp or Steady

See why a depth video needs crisp edges and a steady distance at the same time

You filmed a meerkat on holiday. Now you want the leaves behind it blurred, as a wide-open lens would do. A blur tool can do it, but it needs a depth map for every frame: the distance from the camera to each pixel.

The paper tries two tools on such a clip (Figure 1). A single-image method traces the fur, but it puts the meerkat at a new distance in each frame. A video method holds the distance, but it smooths the fur away.

Blur the background

The tool blurs every pixel farther than the animal. Pick a depth source and play 24 frames. Red marks a mistake.

Illustrative. The halo width follows each family’s boundary F1 and the wobble follows its jitter (Figure 2 values).

Each failure has its own look. A soft depth edge leaves a ring of sharp leaves around the animal and erases the fur. A jumpy distance blurs the animal itself in some frames.

The paper finds this split across the prior methods it tests (Figure 2). Its answer is one network that reads one frame or many, at the frame’s full resolution, and predicts depth in metres.

The road

  1. Depth, scale and focal length: why one photo cannot give size, and what fixes it.
  2. Two scores: boundary F1 for edges, jitter for steadiness.
  3. The trade-off: the hero’s scatter, read point by point.
  4. One network for photos and video: attention within and across frames.
  5. Full resolution and true scale: why pixels matter, and the focal estimator.
  6. Data and four losses: what each loss is for.
  7. The family and streaming: four sizes and a speed frontier.
  8. Results: the main tables as bars.
  9. What breaks: the caveats in the paper’s own tables.
  10. Field guide: terms, numbers, a checklist, the code.

Failure: the subject flickers soft. Symptom: in a few frames the meerkat goes blurry. Measure: plot one point’s depth over time. Fix: a model that sees several frames together.

What trade-off does the paper find in prior methods?

Chapter 1

Depth, Scale and Focal Length

Learn why one photo cannot tell size from distance, and how the focal length gives metres

A depth map is an image whose pixels hold distances in metres instead of colours. Depth Pro 2 outputs one depth map for each input frame, at that frame’s size.

One photo cannot tell size from distance. A 1.8 m person 6 m away and a 0.3 m doll 1 m away make the same picture. A method that knows depth only up to an unknown scale predicts relative depth. A method that gives metres predicts metric depth.

Make the same picture twice

Move the person. The doll follows so that both cast the same image. Then change the focal length, or guess it wrong.

6.0 m
1500 px
0%

Illustrative pinhole camera. The rule that metric depth needs the focal length is the paper’s (Section 3.1).

The focal length f, in pixels, sets how much the camera magnifies. An object of height H at distance Z appears h pixels tall:

h
height of the object in the image, in pixels
f
focal length in pixels; zooming in raises it
H
true height of the object, in metres
Z
depth: distance from the camera, in metres

So the picture holds only the ratio f / Z. Depth Pro 2 predicts that ratio: inverse depth normalized by the focal length, following Depth Pro. Give it f and the metres follow.

c = f / Z = 250 px per metre, f = 1500 px ⇒ Z = 1500 / 250 = 6.0 m

The focal length often sits in the photo’s EXIF metadata. When it is missing, a small separate network estimates it (Chapter 5).

The score for metric depth is δ1: the share of pixels whose predicted depth is within a factor of 1.25 of the truth. A guess of 7.2 m for a true 6.0 m is off by a factor of 1.2, so it still counts.

Failure: the whole scene is 20% too far. Measure: compare the estimated f with EXIF on photos that have it. Cause: the estimate of f was 1800 px instead of 1500, so Z = 1800 / 250 = 7.2 m. Fix: a better focal estimator.

The network predicts c = f / Z = 300 px per metre. EXIF says f = 1200 px. What is the depth?

Chapter 2

Two Scores: Sharp Edges and Steady Depth

Measure an edge with boundary F1 and a video with jitter, each on one worked number

An occlusion edge is where a near surface ends and a far one starts, such as fur against a wall. The true depth jumps there in one pixel. A network that works at low resolution spreads the jump over several pixels, and thin hairs vanish.

The paper scores edges with the boundary F1 of Depth Pro. Two neighbouring pixels form an edge if one is more than t percent farther than the other. Edges in the prediction are then matched to edges in the truth:

2 m → 3 m in one step: ratio 1.50, found at every t.
2, 2.25, 2.5, 2.75, 3 m: largest ratio 2.25 / 2 = 1.125. Found only for t < 12.5, so 7.5 of the 20 points of range.

Blur an edge, then score it

One row of 64 pixels: a thin twig, then the animal. Lower the resolution to blur the depth. Move t and watch which edges survive.

10%

Illustrative row; blur stands in for low resolution. The edge rule and t from 5 to 25 are Depth Pro’s; it weights high t more, we average evenly.

Temporal consistency means a point keeps the same depth error from frame to frame. The paper measures it with jitter (Appendix F.1). Follow one tracked point and take its error in each frame, in log space:

e(i)
the point’s error in frame i, as a log ratio
Ẑi
predicted depth of the point in frame i
Zi
true depth of the point in frame i
jitter
how much the error changes per frame; tables print it times 100

predictions 2.2, 1.8, 2.2 m, truth 2.0 m ⇒ e = +0.095, −0.105, +0.095
changes 0.200 and 0.200 ⇒ jitter 0.20, printed as 20. Depth Pro 2-H+ on Sintel: 1.39.

Wobble a point, then score it

A wall point 2.0 m away, over 12 frames. Add a constant bias, then add wobble. Only one of them moves jitter.

+10%
0%

Illustrative track with fixed random draws. The jitter formula is the paper’s Equation F.1.

Both scores first fit each prediction to the truth with a scale and a shift. So they ignore metric scale, and relative-depth methods can take part.

Failure: high δ1, shimmering video. δ1 scores each frame alone, so it cannot see flicker. Measure jitter along point tracks. Fix: a model that shares information across frames.

A method’s depth for one point is 5% too far in every frame. What is its jitter on that point?

Chapter 3

The Trade-off in Prior Work

Read the paper’s Figure 2 and find where each family sits, and why

Put every method on two axes: boundary F1 going up, and jitter with steadier to the right. The paper does this on Sintel and Spring, two synthetic video sets with dense, sharp ground truth (Figure 2).

Read Figure 2

Tap a point, or pick one below. Hollow points were not zero-shot on these sets.

Each point averages Sintel and Spring: F1 from Table 4b (DP2 sizes: Table 16b), jitter from Table 5 (Table 17a).

Single-frame methods sit top left. InfiniDepth reaches F1 28.3 but jitter 8.57. Multi-frame methods sit bottom right. π3 reaches jitter 1.59 but F1 7.9.

Video methods buy steadiness with attention over many frames, video diffusion priors and video training data. That costs memory. So they usually run below the input resolution, and the edges go soft. Table 13 shows the cost when every method must run at native 1080p on one B200 GPU:

MethodFrames per secondPeak memory
π31.224.9 GiB
VGGT-1B0.968.0 GiB
DA3-NGL1.0114.6 GiB
InfiniDepth4.14.4 GiB
Depth Pro 2-S44.88.0 GiB
Depth Pro 2-H+5.329.5 GiB

Failure: you pick the leader on one axis. Choose by sharpness and you get flicker; choose by steadiness and you lose the fur. Measure both scores on your own clips. Pick a point that is high and far right.

Why do most multi-frame methods give soft edges, according to the paper?

Chapter 4

One Network for Photos and Video

Follow a frame through a transformer that attends within frames, then across them

Depth Pro 2 is a vision transformer (ViT). It cuts each frame into 16 × 16 pixel patches and turns each patch into a vector, a token. Tokens share information through attention: each token takes a weighted mix of other tokens. A DPT decoder then turns the tokens back into one depth map per frame.

The ViT starts from DINOv3, a ViT pretrained on images to give dense, high-resolution features. Training updates all of its weights. A frozen DINOv3 made every metric worse (Table 19, row H2).

Video enters through one change. Some blocks attend within a frame: a token sees only its own frame. Other blocks attend across frames: a token sees every frame of the clip. The first third of the blocks stay within the frame, because early blocks compute low-level features. After that the two kinds alternate.

Send a clip through the blocks

Rows are frames, columns are blocks. Teal blocks attend across frames. Pick a model and a clip length, then cut links between frames.

0%

Block indices from Table 1. The cut-link numbers are Table 20: Depth Pro 2-H+ on 32-frame DynamicReplica clips, three draws each.

The cross-frame blocks reuse the pretrained attention weights, so they add no parameters. Token positions carry no frame number, so a clip can hold 1 frame or 32, in any order. A photo is a clip of length 1.

StageShape for N frames of 1920 × 1088, Depth Pro 2-L
InputN × 3 × 1088 × 1920 pixels
Patches of 16 × 16N × 8,160 tokens × 1,024 channels (68 × 120 grid)
Within-frame blockattention over the 8,160 tokens of each frame
Cross-frame blockattention over all N × 8,160 tokens
Reassemble 4 blocksmaps at 1/4, 1/8, 1/16, 1/32 size with 256, 512, 1024, 1024 channels
Fuse and upsampleall maps projected to 256 channels, upsampled by transposed convolutions
OutputN × 1088 × 1920 inverse depth, normalized by focal length

Each token’s position goes into a 2D rotary embedding. The embedding divides both axes by the longer side, so the network sees the aspect ratio. On a 68 × 120 grid, x runs from −0.99 to +0.99, but y runs only from −0.99 to +0.13.

Failure: the video shimmers again. Cut the cross-frame links and jitter rises from 0.24 to 0.84, while δ1 barely moves, 98.9 to 98.1 (Table 20). Boundary F1 also falls, from 57.7 to 53.4. The fix is to keep every link.

How does Depth Pro 2 turn a single-image ViT into a video model?

Chapter 5

Full Resolution and True Scale

See how input size drives edge sharpness, how the cost stays low, and where the focal length comes from

Sharp edges need pixels. The paper runs Depth Pro 2-H+ at four input sizes on the same clips (Table 21). From a 360 px short side to native size, boundary F1 more than doubles, from 24.1 to 57.7. Jitter falls too, from 0.33 to 0.24.

Shrink the input

The grid is what the network sees of a two-pixel twig. Pick an input size.

Twig illustrative. F1 and jitter: Table 21 (DynamicReplica). Native is 720 px there, so the last two stops tie.

Full resolution costs tokens. A 16:9 frame has 3,600 tokens at 720 px and 900 at 360 px. Attention compares every token with every other, so 4 times the tokens means 16 times the pairs. Three choices keep the cost down:

  1. A light network: 24M to 872M parameters.
  2. Cross-frame attention in only some blocks.
  3. Batches by tokens: 73,728 tokens per GPU, for example 18 frames of 1024 × 1024.

Training keeps native pixels too. It never interpolates ground-truth depth, because averaging across an edge makes flying pixels, points halfway between the near and the far surface. It crops at many aspect ratios and sometimes takes every second pixel.

Failure: metric depth collapses on wide frames. Train only on square crops and metric δ1 on Waymo drops 46.6 points (Table 19, E2). Waymo frames are 3:2 and about 2.2:1. Fix: crop at varied aspect ratios.

For metres, the focal length comes from EXIF or from a separate estimator: a DINOv3 ViT-S/16 with 23.5M parameters, fine-tuned on about 92M Flickr photos. It reads a 512 px input and predicts the field of view along the short side. For a clip, it takes the median over frames.

mean δ25: 88.6% for Depth Pro 2 against 71.7% for Depth Pro
share of photos whose focal error is under 25%, six datasets (Table 6)

It adds about 8% to the compute of Depth Pro 2-S at 1080p, and 0.5% for H+.

Why does the training pipeline never resize ground-truth depth?

Chapter 6

Data and Four Losses

Learn what each training loss teaches, and how a second frame checks the first

Depth Pro 2 trains on 19 datasets, mostly synthetic (Table 7). Rendered scenes give depth that is exact at every edge; real depth sensors blur edges. The largest source is internal synthetic data: 24.2 million frames of people, pets and objects. A training clip is one image, or up to 32 video frames.

The loss is the plain sum of four terms:

TermWhat it comparesUsed onWhy it is there
Lmaefocal-normalized inverse depth, trimmed L1metric sourcesanchors metres
Lssiboth maps shifted to median 0 and scaled to unit mean deviation, trimmed L1all datateaches shape, even from data without scale
Lmgegradients of the normalized maps at 3 scalessynthetic onlysharp edges; gradients are reliable only where edges are exact
Lmvcdepth of one point seen in two framesclips with camera posessteadiness across frames

Trimmed means each frame drops its worst pixels before averaging: 1% on synthetic data, 10% on real data, where labels are noisier.

Multi-view consistency

Take pixel p in frame i with its predicted depth. Lift it into 3D and project it into frame j, using the true camera poses. That gives a pixel p′ and a depth z′. In a static scene, frame j’s own prediction at p′ should equal z′.

Lmvc
the consistency loss, trimmed like the others, over a random subset of pixels
z′
depth of frame i’s point as seen from frame j’s camera
Ẑj(p′)
frame j’s own predicted depth at the pixel where that point lands

z′ = 2.5 m, Ẑj(p′) = 2.0 m ⇒ | 0.40 − 0.50 | = 0.10 per metre

Check frame i against frame j

Two cameras look at a wall. Push frame j’s prediction off, then add a moving box in front.

−20%

Illustrative geometry. The warp, the inverse-depth gap and the 2% rule are Section 3.2.

A moving object or an occlusion breaks the static assumption. So the loss also warps each pixel with its true depth. If that warped depth misses the true depth at p′ by more than 2%, the loss drops the pixel.

Failure: each change has a price (Table 19). Without Lmvc, jitter rises by 0.05. Depth Pro’s old edge loss in place of Lmge costs 3.5 points of F1; weighting losses by confidence costs 6.8. More real data lifts δ1 but costs 1.2 points of F1.

Why is Lmge applied only to synthetic data?

Chapter 7

The Family, Streaming and Speed

Choose a model size by speed and quality, and run a long video in two ways

Four models share one design. Each starts from a DINOv3 backbone of its own size (Table 1): S has 24.3M parameters, B 96.5M, L 334.0M and H+ 872.1M. At 128 GPUs, every metric improves with size (Table 19, rows B1 to B4).

Find the speed frontier

Speed runs to the right on a log scale; the dotted line is 30 frames per second. Pick an input size and a score.

Our plot: speed from Table 13 (32-frame Spring clip, one B200, focal estimator included); scores as in Chapter 3. Out-of-memory runs and fixed-size inputs are left out.

A video longer than one clip runs in one of two modes (Section 3.3):

The two modes give nearly the same quality: boundary F1 within 0.3 points and jitter within 3% (Table 22). In unbuffered mode, S and B run in real time at 1080p (Figure 12). The abstract’s 53 fps for S comes from that mode; Table 13 shows 44.8 because it also runs the focal estimator on 32-frame clips.

Failure: live frames pile up. If the model runs slower than the camera, frames queue or drop. Measure throughput against 30 fps at your input size. In Figure 12, H+ keeps up only at 480p; pick S or B for live 1080p.

You need depth for a live 1080p camera at 30 fps. Which choice fits Figure 12?

Chapter 8

Results on the Benchmarks

Compare Depth Pro 2-H+ with the field on metres, edges, steadiness and focal length

Every test is zero-shot: the test sets were not in the model’s training data. The comparisons use Depth Pro 2-H+. The authors re-ran every baseline from its released checkpoint under one protocol. Each table ranks the methods per dataset and averages the ranks; lower is better.

Read the main tables

Pick a table. Short bars are better, except in the focal table, where long bars are better.

Numbers from Tables 2 to 6. The focal toggle applies to Tables 2 and 3.

Some single numbers carry the story:

It is not first everywhere. On Booster with a predicted focal length, δ1 is 43.1 against 74.8 for DAGE. On Spring with the true focal length, it scores 20.5 where MoGe-2 scores 27.2 (Table 2).

Failure: an average rank hides a weak dataset. An average rank of 2.7 still allows a 31-point miss on Booster. Read the column for the data you care about. Then test on a clip like yours.

What does an average rank of 1.0 in Table 3 (true focal length) mean?

Chapter 9

What Breaks, and What Is Not Shown

Read the caveats in the paper’s own tables, starting with a metric that rewards blur

The paper has no limitations section. The caveats below come from its own tables and notes.

The first is about measuring. A common steadiness score, the temporal alignment error (TAE), warps predicted depth between frames with the true poses and assumes a static scene. On blurry or sparse ground truth it rewards blur.

Catch a metric that rewards blur

Lower TAE should mean steadier. Pick a dataset and compare the blurred model with the ground truth.

Table 12, times 100. The blur is a Gaussian with sigma 2% of the image width.

On ScanNet, the blurred model scores 0.42, below the ground truth itself at 0.44. That is why the paper ranks steadiness by jitter along tracks, which compares against the truth.

Other caveats:

  1. The model assumes one focal length per clip, the median of per-frame estimates. A zooming clip does not fit.
  2. Sharp edges lean on synthetic data. Without the internal data, metric δ1 on unseen ARKitScenes falls 45.2 points (Table 19, D4).
  3. The paper measures jitter on two synthetic sets only, Sintel and Spring.
  4. DIODE error is high (AbsRel 2.418), mostly from sky pixels that the laser marks as branches (Table 8).
  5. On relative depth in video, it ranks second, 3.6 against 3.2 for π3 (Table 11).
  6. Training takes 100K steps on 128 B200 GPUs.

Failure: a score that prefers blur. Symptom: a blurred depth map ranks better. Measure: score the ground truth itself; it should get zero. Fix: use a metric defined against the truth, such as jitter.

On ScanNet, a blurred Depth Pro 2 gets a lower TAE than the ground truth. What does that show?

Chapter 10

Field Guide

Keep the terms, the numbers, a checklist, the core code and where to read next

Prior depth methods are sharp or steady. Depth Pro 2 is both. One ViT attends within and across frames at native resolution. A consistency loss on clips of 1 to 32 frames trains it to stay steady. A small focal estimator turns its output into metres.

Terms and numbers

Term or numberMeaningWhere
Metric depthdepth in metres; needs f / Z plus the focal lengthSection 3.1
Boundary F1match of depth edges, averaged over thresholds of 5 to 25%Table 4
Jittermean change of a tracked point’s log error per frame, times 100Appendix F.1
δ1share of pixels within a factor 1.25 of the true depthTable 2
30.1 and 1.13F1 and jitter of H+, Sintel and Spring averagedFigure 2
24.1 to 57.7F1 from 360 px input to nativeTable 21
0.24 to 0.84jitter as cross-frame links go from all to noneTable 20
88.6% against 71.7%focal accuracy, Depth Pro 2 against Depth ProTable 6
24.3M to 872.1Mparameters, S to H+Table 1
44.8 and 5.3 fpsS and H+ at 1080p, focal estimator includedTable 13
N = 16, K = 4; C = 16default buffered and unbuffered streamingAppendix E.3

A checklist before you trust depth on video

Check your depth

Tick each step you have done on a project of yours.

Our summary of the paper’s lessons, not a list from the paper.

The core as code

Our sketch of the inference procedure, not the authors’ code.

import numpy as np

def depth_video(frames, depth_net, fov_net, N=16, K=4, f_exif=None):
    # focal length: EXIF if present, else the median of per-frame estimates (Ch 5)
    f = f_exif or np.median([fov_net(x) for x in frames])
    out = {}
    for s in range(0, len(frames), N - K):          # buffered streaming (Ch 7)
        clip = frames[s:s + N]                      # N x 3 x H x W, native size
        c = depth_net(clip)                         # N x H x W: f / Z, all frames attend jointly
        for i, ci in enumerate(c):
            t = s + i
            if t in out and i < K:                  # overlap: new clip's weight rises linearly
                a = (i + 1) / (K + 1)
                out[t] = (1 - a) * out[t] + a * ci
            else:
                out[t] = ci
        if s + N >= len(frames):
            break
    return [f / out[t] for t in range(len(frames))]  # metres (Ch 1)

def jitter(pred, true):                             # one track, depth per frame (Ch 2)
    e = np.log(pred) - np.log(true)
    return 100 * np.mean(np.abs(np.diff(e)))

What the authors release, and where it sits

In the paper’s words: “We release a family of models, each of which processes both single images and video sequences at full resolution, and can process video in a streaming fashion.” Videos and links are on the project page.

Depth Pro 2 builds on Depth Pro’s focal-normalized output and its edge score. Its cross-frame trick is close to Depth Anything 3, which also rearranges tokens so pretrained attention works across views.

Keep going with Depth Anything V2 for the single-image line and Depth Anything 3 for attention across views. Then read DeFM for depth features in robotics and π4 for 4D geometry and motion. For the basics, see camera geometry and the vision transformer.

Credit

Based on “Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth” by Peiyun Hu, Marko Mihajlovic, Lyndon Duong, Lahav Lipson, Wei Dong, Amaël Delaunoy, Stephan R. Richter and Vladlen Koltun (Apple, 2026). Read it at arxiv.org/abs/2611.26603. Every number here comes from that paper, except where a device says it is illustrative.

Sharp needs pixels; steady needs other frames. Depth Pro 2 gets both by keeping full resolution and adding attention across frames only where it pays. Always read sharpness and steadiness together.
Go back to the hero and pick each family again. Now read the inset as boundary F1 and the distance line as jitter.
Which two design choices give Depth Pro 2 both sharp edges and steady depth?
Depth Pro 2
Based on “Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth” by Hu, Mihajlovic, Duong, Lipson, Dong, Delaunoy, Richter and Koltun (2026)
Read the paper · Back to Veanors