How it works
Depth Pro 2 is Apple’s model for metric depth from images and video. This page runs it as LiteRT files with LiteRT.js on WebGPU: photos and videos are processed on your GPU and never uploaded, and the model files stay in this browser for the next visit.
Colors show inverse depth, from red for near to blue for far. Photos use the model’s single-image version. Videos and the camera use its video version, in which each frame also attends to the three frames before it, so the depth flickers less from frame to frame. With Depth in meters on, a second model estimates the field of view, and pointing at the picture reads the distance.