ACADEMIC PROTOTYPE · 7TH SEMESTER · CO-DEVELOPED

Image-based 3D object measurement

Estimates the width, depth and height of an object from overlapping photos.

  • Plain code
  • A model
  • A check
  • One request
  1. Overlapping photos

    Several photos of one object from different viewpoints, resized and preprocessed.

  2. Points in space

    COLMAP runs structure from motion. It returns the camera poses and a sparse cloud of points.

  3. Depth, then real scale

    DPT-Large estimates depth for each photo. Scale recovery lines the depth up with the points.

  4. Drop the strays

    DBSCAN removes outlier points before anything is measured.

  5. Width, depth, height

    A FastAPI endpoint, POST /measure, returns the three dimensions. They were checked against manual measurements.

ROLE
Co-developer
SETTING
Academic prototype
STACK
Python, PyTorch, COLMAP, DPT-Large, FastAPI, Docker (GPU)

KEY

  • Plain code
  • A model
  • A check
  • One request

The object is a box because boxes are easy to draw in isometric.