TECHNOLOGY

Depth Anything V2: relative depth is not a distance in metres

In this article
THE QUICK TAKE

A visually convincing depth map does not establish metric scale; the checkpoint and evaluation protocol determine the meaning of its values.

Define what the application needs to measure

A depth map can rank nearer and farther regions without providing a physical distance. Depth Anything V2 includes general depth models and separately documented metric-depth work. The official repository distinguishes those releases. Before selecting an artifact, decide whether the application needs relative scene structure, a display effect or measurements with an established unit. Those are different acceptance criteria for the same input photograph.

Keep the checkpoint’s output meaning intact

The research paper presents the training approach and evaluated model behavior. It does not make every checkpoint a calibrated ranging sensor. Check the selected artifact’s task and expected domain. A model fine-tuned for metric depth in one setting still requires evaluation on the intended camera and scene distribution. Merely changing a visualization legend to metres does not create the missing scale information in a relative prediction.

Preserve raw depth before coloring it

The Transformers integration exposes predicted depth and postprocessing to a requested image size. Visualization software often rescales a map to fill the available display range. Keep that display operation separate from the raw values used in analysis. Independently normalized images can look similarly contrasted while containing outputs that are unsuitable for direct cross-image distance comparison or thresholding with a shared physical cutoff.

Account for image-space transformations

A resized output map must remain aligned with the image or annotation against which it is evaluated. Record cropping, rotation and resizing before projecting depth onto another representation. Fine visible boundaries do not independently establish the correctness of global scene scale. Inspect both boundary placement and the relevant numerical depth protocol when a pipeline uses the map for reconstruction, compositing or a downstream visual reasoning task.

Report the actual depth protocol

State the checkpoint, whether evaluation permits scale or shift alignment, and how invalid or missing reference pixels are handled. Choose metrics consistent with the intended output meaning rather than comparing unrelated leaderboard numbers. Related explanations of image coordinate transforms and distillation targets provide context. For Depth Anything V2, the central implementation choice remains explicit: relative depth structure and metric measurement must not be silently treated as the same product.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles