Example
Image to 3D Scene
Turn a single frame into a navigable, textured 3D scene.
Steps
- Call `/api/spatial/{id}` to run Depth Anything V2 and scene completion.
- The response carries the RGB grid, depth grid, entities and a completed background layer.
- The viewer back-projects the depth through a pinhole model and renders it in three.js.
- 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.