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
- Overlapping photos
Several photos of one object from different viewpoints, resized and preprocessed.
- Points in space
COLMAP runs structure from motion. It returns the camera poses and a sparse cloud of points.
- Depth, then real scale
DPT-Large estimates depth for each photo. Scale recovery lines the depth up with the points.
- Drop the strays
DBSCAN removes outlier points before anything is measured.
- 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.