3D Lab · Computer vision in your browser

Turn a photo into a 3D model

Upload an image and click the object you want. Neural networks cut it out and estimate how far away every part is, then the hidden back is guessed to give a full 3D model. Spin it around, tweak the shape, and download it. It all runs on your device: your image is never uploaded.

Private: nothing leaves your browser Depth Anything V2 Segment Anything Export GLB · OBJ · PLY · STL
Choose an image to begin. The model (about 25–50 MB) downloads the first time only.
Drop an image here or click to browse · JPG, PNG, WebP

How it works

  1. Find the object and its depth

    Segment Anything (SlimSAM) cuts out the object you click. Depth Anything V2 predicts how near or far every pixel is. People do this too, using shading, perspective and familiar sizes.

  2. Lift to 3D

    Each pixel becomes a point pushed out toward you by its depth, giving the visible front. The hidden back is guessed by "inflating" the outline, so wide parts get thick and thin parts like legs stay thin. Front and back are then stitched into one closed shape.

  3. Clean up

    Smoothing removes noise, and the photo is draped over the model as a texture. In "Whole photo" mode, triangles that stretch across big depth jumps are cut instead, and a flat back can be added.

  4. Export

    Download the mesh as GLB, OBJ, PLY or STL for Blender, game engines, or a slicer for 3D printing.

How the distance in metres is estimated

  • A second network, Depth Anything V2 Metric (two versions: close range and far range), predicts the distance in metres from the camera to every pixel. Each of your two points is turned into a 3D position using the camera's field of view, and the straight-line distance between them is reported.
  • The field of view comes from the photo's EXIF data when it has it (most phone photos do). Otherwise a typical phone lens (26 mm) is assumed, so set the focal length if you know it. Cropped or edited photos break this.
  • Treat it as a rough estimate. It can easily be off by 20% or more, especially for scenes unlike its training data, glass, mirrors or distant objects. The error is often similar across one photo, so calibrating helps a lot: measure something whose real length you know (a door, a person, a ruler), enter it, and all other distances are rescaled to match.
  • Do not use it where accuracy matters for safety, building or legal purposes.

What this can and can't do

  • Only the front is actually seen. In Full object mode the back is an estimate based on the outline: it assumes the object is roughly as deep as it is wide, with the back mirroring the front. That gives a plausible overall shape, not the true hidden surface. Use "Back depth" to tune it.
  • The 3D relief is relative: "Depth strength" is an artistic control, not a measurement. Distances in metres come from a separate metric depth model and are rough estimates (see below).
  • It works best with one clear subject, good lighting and a plain background. Glass, mirrors and very dark or blurry areas confuse it.
  • Accurate all-around reconstruction from one image (for example TripoSR) needs a GPU server. That is a possible upgrade; see my 3D-Genesis work on parametric reconstruction.

Powered by Depth Anything V2 Small, SlimSAM and the Metric variants (Apache-2.0) running through Transformers.js, with rendering by three.js. All of these, including the model weights, are served from this website; your photo stays on your device.