Example
Single Image Analysis
Push one still image through the full pipeline: detect, segment, depth, and lift to 3D.
Steps
- Start the backend with `python main.py`.
- Register the image as a source, or drop it onto a camera slot.
- Read detections, masks and the depth field from `/api/spatial/{id}`.
- Optionally reconstruct a face or plate crop for a clearer read.
Command
shell
curl -s http://127.0.0.1:8787/api/spatial/1?grid=320 | jq '.scene.entities'
Result
Output
A list of entities with class, image position, depth and confidence, plus a depth grid ready to lift into a point cloud.