← All models · Sapiens normals

Basics · image-to-image

Read a surface-normal map

The core capability, plainly: a single photo becomes a per-pixel map of which way each surface faces. The pastel colours are the geometry — hover the map to read the exact 3D vector at any pixel and match it to the sphere key.

~444 MB model, CPU path: the first estimate takes roughly 60–90 s in single-threaded WebAssembly. Real on-device inference — not a canned result.

Estimate normals

Public-domain studio portrait Sample face portrait Another sample face

Input

Selected photo

Surface normals

R = X left↔right
G = Y down↕up
B = Z away↔toward you
hover the map to read a normal…

Normals vs depth

They're different questions about the same pixel. Depth asks "how far away is it?"; a surface normal asks "which way does it face?". A flat wall at a slant has smoothly changing depth but a single constant normal; a bumpy surface at constant distance has constant depth but wildly varying normals. Normals are what you relight with — try the relighting studio →