Depth Estimation: MoGe

Estimate a depth map from a single photo with MoGe and get both a coloured preview and a raw 16-bit depth pass.

Input

The frame to measure; depth follows the source framing.

Advanced settings

Higher keeps finer detail and costs more time.

Output
Output
Example

Try an example

About this workflow

MoGe reads one RGB frame and returns geometry, not a guess at a picture: a metric-ish depth map, surface normals and a foreground mask, all in one pass. The coloured render is for humans — near is warm, far is cool — and the raw depth pass is the one you feed a ControlNet, a parallax camera move or a compositor's Z channel. Because the model recovers the field of view and the camera's projection, `force_projection` keeps the scale consistent across a shot rather than rescaling each frame, and `refine_steps` trades time for crisper edges on hair, foliage and glass. `apply_mask` drops the sky so a depth-driven move does not treat it as geometry.

Graph: LoadImage -> (ResizeImageMaskNode at 2048 if the source is larger) -> MoGeInference (moge_2_vitl_normal, resolution_level 2, refine_steps 3) -> MoGeRender depth_colored and MoGeRender depth, plus MoGeRender mask -> ImageToMask. One still in, a preview and a depth pass out.