COLMAP: Turn a Pile of Photos Into a 3D Model
You've got a folder full of photos of the same building, statue, or room, taken from slightly different angles. Somewhere in that overlap is a 3D structure waiting to be reconstructed—but turning those images into a usable model is a problem you probably don't want to solve from scratch. COLMAP is the open-source answer: a general-purpose Structure-from-Motion (SfM) and Multi-View Stereo (MVS) pipeline that handles the whole job.
What It Does
COLMAP reconstructs 3D scenes from image collections. It works with both ordered collections (think video frames or a steady capture sequence) and unordered ones (a random dump of photos), which is a meaningful distinction—the two cases pose different problems, and COLMAP offers a wide range of features for both.
The pipeline comes with a graphical interface and a command-line interface, so you can click your way through a reconstruction or script it for batch work. It's licensed under the new BSD license, which keeps it friendly to both research and commercial use. Under the hood, it builds on established work rather than reinventing everything—the README specifically calls out ceres-solver, poselib, sift-gpu, and vlfeat as notable third-party dependencies, and asks that you cite the original authors of specific algorithms as specified in the source code.
Why It's Cool
-
One-click reconstruction is the headline. The README's getting-started path is refreshingly short: download the software, grab a sample dataset (or use your own images), and run automatic reconstruction to build a model "with a single click or command." For anyone who's wrestled with multi-step photogrammetry pipelines, that's a welcome level of convenience.
-
It covers both halves of the problem. SfM and MVS are related but distinct stages, and COLMAP handles the full pipeline rather than punting the dense reconstruction to another tool. That means fewer moving parts between you and a finished model.
-
The distribution options are genuinely broad. Windows binaries live on GitHub releases, Linux/Unix/BSD builds are tracked through Repology, and there are pre-built Docker images plus a Conda package (
conda install colmap). That's more packaging than most research-adjacent projects bother with. -
Python bindings exist, and they're CUDA-aware. PyCOLMAP is on PyPI, with CUDA-enabled wheels published separately as
pycolmap-cuda12. If you'd rather stay in a Python workflow than shell out to a CLI, that's your path. AMD GPU users aren't shut out either—HIP/ROCm is supported when building from source. -
It's been maintained by a real team. The project was originally written by Johannes Schönberger, and the current core maintainers include Schönberger, Paul-Edouard Sarlin, Shaohui Liu, and Linfei Pan. PyCOLMAP had its own set of original authors. That continuity matters for a tool you might build a research pipeline around.
How to Try It
-
Get the software. Pick the route that fits your platform:
- Windows binaries: github.com/colmap/colmap/releases
- Linux/Unix/BSD: via Repology
- Docker: hub.docker.com/r/colmap/colmap
- Conda:
conda install colmap - Python:
pip install pycolmap(CUDA wheels available aspycolmap-cuda12) - From source: follow the install docs
-
Get some images. Download one of the sample datasets if you want a known-good starting point, or point it at your own photos.
-
Run automatic reconstruction. A single click in the GUI or a single command gets you a model.
Full documentation lives at colmap.github.io. If you hit trouble, questions go to GitHub Discussions, while bugs and feature requests belong in the issue tracker.
Final Thoughts
COLMAP is the kind of project that quietly underpins a lot of work in computer vision and 3D reconstruction—it's general-purpose, well-packaged, and maintained by people who clearly intend it to stay that way. It's best suited to researchers and practitioners who need a dependable SfM/MVS pipeline without building one themselves, and the breadth of install options means you're not locked into a single platform. If you're doing research with it, cite the papers the README lists—that's how projects like this keep going. Start with a sample dataset, run the automatic reconstruction, and see what your photos have been hiding.
Follow @githubprojects for more developer tools and open source projects.