# Depth Estimation

Estimate depth from a photo or webcam with ONNX Runtime Web on WebGPU. Shade its GPU-resident output beside the input through a zero-copy vgpu buffer wrap.

## Download

Download the complete verified example source:

```bash
npx vgpu examples pull depth-estimation --out ./depth-estimation
```

## Explore

- [Interactive example](https://vgpu.sh/examples/depth-estimation)
- [Fullscreen preview](https://vgpu.sh/preview/depth-estimation)
- [Complete source](https://vgpu.sh/examples/depth-estimation/source.md)

## Included files

- `index.tsx`
- `renderer.ts`
- `ort-runtime.ts`
- `ort-webgpu.ts`
- `scheduling.ts`
- `side-by-side.wgsl`
- `reduce-range.wgsl`
