Skip to content
WebAI

Depth

Predict per-pixel distance

Monocular depth estimation maps RGB to a relative depth map; brighter means closer.

Switch model · 2 Available models · 2 of them ship real browser weightsSamples are shared within a subcategory — switching models keeps your input intact.

Input

SamplesSamples are editable — once you change them they count as custom input.
input
Parameters

Not supported by this model

Not supported by this model

Output

Depth Anything v2 Small
No result yetPick a sample or edit the input, then hit “Run inference”.

Model info

Depth Anything v2 Small

State-of-the-art monocular depth, ported to Transformers.js.

Framework: Transformers.jsSize: ~18.2 MiB · q4f16License: Apache-2.0
All models
Notes

Computed for real in the browser (canvas pixel ops / STFT spectral processing / vector retrieval).

Switching models only changes weight size, device and backend metadata; samples are shared across every model in the subcategory.

Marked entries really download and load weights on switch (slow the first time, cached afterwards). Unmarked ones ship no browser weights: instant output, nothing downloaded.