Example

Image to 3D Scene

Turn a single frame into a navigable, textured 3D scene.

Depth3D

Steps

  1. Call `/api/spatial/{id}` to run Depth Anything V2 and scene completion.
  2. The response carries the RGB grid, depth grid, entities and a completed background layer.
  3. The viewer back-projects the depth through a pinhole model and renders it in three.js.
  4. Fly the camera through the scene; measure and inspect entities.

Command

shell
GET /api/spatial/1?grid=400   # higher grid = denser cloud

Result

Output

A coloured point cloud / mesh with the occluded background reconstructed behind objects.

← All examples · API reference