Skip to main content
Estimate depth from single RGB image.

Parameters

ImageInput
required
RGB image as file path, URL, PIL Image, or numpy array.
float | None
Optional timeout in seconds for the HTTP request.

Returns

np.ndarray: Depth map as numpy array (H, W) with dtype float32. Values represent metric depth in meters.

Example

The server returns the depth map as float16 on the wire; the client converts it to float32.

Example Output

ZoeDepth input and depth map output