All labs / Perception Checking model…
01.2 — Perception / Intermediate

Depth

Perception Intermediate Runs on this server

Recovers a sense of near and far from one photo, with no second camera and no depth sensor — the same trick you use when you close one eye and can still tell what's in front.

Parameters
24.8M · ViT-S backbone
Input
Image
Output
Depth map
Typical time
1–4s
Last run
Depth map Hover the map to sample a value

No depth map yet

Add a photograph with clear foreground and background — a corridor, a street, a room. Flat, head-on subjects give the model very little to work with.

Far Near

These are relative values between 0 and 1. The model can tell you that one region is nearer than another; it cannot tell you that anything is a particular number of metres away. Converting to real distance needs a known reference in the scene — a calibration this model never receives.

Where this breaks Point it at a mirror, a window or a glossy floor. The model reads the reflected scene as real geometry sitting behind the surface, because in its training data that pattern of texture and light almost always meant depth. Photographs of photographs fail the same way: it recognises the depicted scene rather than the flat sheet of paper it is printed on.
How it works

The model was trained on millions of images paired with known depth, so it learned the cues humans use unconsciously: things higher in the frame are usually further away, textures get finer with distance, known objects have known sizes. It outputs one relative distance value per pixel.

Full identifier
LiheYoung/depth-anything-small-hf
Where it runs
On this server, on CPU
Parameters
24.8M

Monocular depth is fundamentally ambiguous: infinitely many 3D scenes project to the same 2D image. The model resolves that ambiguity with learned priors, which is why it fails confidently on scenes unlike its training data.

What to notice
  • The output is relative, not metric. It tells you A is nearer than B; it does not tell you A is 2.4 metres away.
  • Reflections, glass and mirrors break it — the model reads the reflected scene as real geometry behind the surface.
  • Flat printed images of scenes often produce a full depth map, because the model recognises the depicted scene, not the paper.
A note on language

This page says “the model predicts”, not “the model knows”. That is deliberate. None of these systems understand the images or sentences you give them; they map inputs to outputs using patterns fixed at training time. The difference matters most exactly when the output is impressive.