---
name: phone-clip-to-model
description: Turn a phone video walking past a building into a measured 3D model: solve the cameras with COLMAP, set the scale, then model the building by script in Blender and check it by overlaying it on the footage. Use when someone has a walk-past clip, wants a site or context model from video, or wants 'video to model'.
---

# Phone clip to model

From P402, Townhouse. Claude Code, Blender.

## What it does
Takes a phone clip, solves where the phone was for every frame, and uses those cameras to model the building to measure. The model's edges are drawn back over the footage, so you can see where it fits and where it doesn't. On P402 a 130 s iPhone clip gave 777 frames, all registered, at 0.57 px mean error.

## When to use
- A context or site model for a building you can walk past but have no drawings for.
- An existing-conditions study before a measured survey.

## Instructions
1. Take every 5th frame of the clip. Solve the cameras with COLMAP (sequential matching, incremental mapping).
2. Set the scale from something known: phone height above the ground (about 1.5 m) or a counted brick course. Check it against an aerial.
3. Set the axes from a long straight wall and the origin at a lot corner.
4. Model by script in Blender, with every measured dimension in one layout file. Mark what you couldn't see (rear walls, roof planes behind the eaves) as approximate.
5. Render the model through the solved cameras and overlay the edges on the frames. Fix until they line up.

## Output
The Blender model and script, the layout file with measured and approximate values marked, and the overlay check images.

## Watch for
Scale is the weak point. One wrong assumption scales the whole model; check it against a second measurement before anyone uses the numbers.

---
Free from chiangning.net/resources/showcase-reel

Copyright 2026 Stanton Dahl Architects. All Rights Reserved.
