← All models · Sapiens normals

Multi-model · normals + depth

Normals + depth = 2.5D relight

Two dense predictors answer two different questions about every pixel: Sapiens normals say which way it faces (for shading), and Depth Anything says how far it is (for fog/occlusion). Run both on-device and combine them: shade the surface with a light, then push far pixels into atmospheric fog — a flat photo becomes a lit, layered 2.5D scene.

Two models: Sapiens normals (~444 MB, one-time ~60–90 s on CPU) + Depth Anything (~100 MB, seconds). Relighting after that is real-time on the cached maps.

Estimate both, then relight

Public-domain studio portrait Sample face portrait Another sample face

2.5D relit scene

Controls

Light angle comes from the normals; fog strength pushes far pixels (per depth) toward a cool haze.

Why chain two dense models

Normals and depth are complementary geometry channels. Alone, normals relight but can't tell foreground from background; depth layers the scene but can't shade a surface. Together they're the classic "2.5D" representation — enough to relight, fog, and composite a single photo as if it had real 3D structure, without ever building a mesh or leaving the device.