What is COLMAP?
COLMAP is a general-purpose Structure-from-Motion (SfM) and Multi-View Stereo (MVS) pipeline with both a graphical and a command-line interface. Given a set of photographs, it works out where each camera was, recovers the sparse 3D structure they agree on, and then densifies that into geometry. It sits in the 3D Reconstruction & Radiance Fields category of the Multimodal Generation tools and is open-source, written in C++ and licensed BSD-3-Clause (new BSD; dependencies are licensed separately).
Overview
COLMAP is a general-purpose Structure-from-Motion (SfM) and Multi-View Stereo (MVS) pipeline with both a graphical and a command-line interface. Given a set of photographs, it works out where each camera was, recovers the sparse 3D structure they agree on, and then densifies that into geometry. It handles ordered and unordered image collections alike, so a video sweep and an unsorted folder of holiday photos both work.
It is the de-facto front end for modern radiance-field work. The training scripts for 3D Gaussian Splatting and for most NeRF implementations expect a COLMAP reconstruction as their input, because those methods need calibrated camera poses and an initial sparse point cloud before they can optimise anything. That makes COLMAP less a competitor to those tools than the step that precedes them.
Distribution is unusually broad for a research-grade C++ project: prebuilt Windows binaries on the GitHub releases page, Linux/Unix/BSD packages tracked on Repology, official Docker images on Docker Hub, a conda-forge package, and Python bindings published to PyPI as pycolmap (with CUDA wheels as pycolmap-cuda12, and AMD GPU support via HIP/ROCm when building from source).
The library is licensed under the new BSD licence, with the caveat stated in the LICENSE file itself: that covers COLMAP proper, not its dependencies, and building against some of them can affect the resulting licence. It was originally written by Johannes Schönberger, and is maintained today by Schönberger, Paul-Edouard Sarlin, Shaohui Liu and Linfei Pan with a long tail of community contributions.
What it does
- Structure-from-Motion and Multi-View Stereo in one pipeline, from sparse camera calibration to dense geometry
- Works on ordered and unordered image collections
- Graphical interface and command-line interface, including a one-click automatic reconstruction
- Python bindings (pycolmap), with CUDA wheels and HIP/ROCm support when built from source
- Prebuilt binaries for Windows, distro packages, conda-forge and official Docker images
- The standard input step for 3D Gaussian Splatting and most NeRF training pipelines
Getting started
Install a prebuilt binary, a package, or the Docker image, then run the automatic reconstruction on a sample dataset or your own photos. The full documentation lives at colmap.github.io.
Install
Windows binaries come from the GitHub releases page; Linux/Unix/BSD packages are tracked on Repology. Conda and Docker are the quickest cross-platform routes.
conda install colmap
# or, via Docker
docker pull colmap/colmapInstall the Python bindings
pycolmap exposes the pipeline to Python; the CUDA-enabled wheels are published separately.
pip install pycolmap
# CUDA 12 wheels
pip install pycolmap-cuda12Reconstruct a scene
Grab one of the provided sample datasets from demuc.de/colmap/datasets, or use your own images, and run the automatic reconstruction — one click in the GUI, one command on the CLI.
colmap automatic_reconstructor \
--workspace_path /path/to/workspace \
--image_path /path/to/imagesFeed a radiance-field trainer
The resulting workspace is what 3D Gaussian Splatting and NeRF trainers expect as their source directory.
python train.py -s /path/to/workspaceCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Calibrating cameras and building a sparse point cloud before training a NeRF or a Gaussian-Splatting scene
- Photogrammetry: turning a photo set of an object or building into dense 3D geometry
- Research on SfM and MVS that needs a well-tested, citable baseline
- Scripted reconstruction pipelines through pycolmap rather than the GUI
How COLMAP compares
COLMAP alongside other open-source 3d reconstruction & radiance fields tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| 3D Gaussian Splatting | ★ 24.6k | The authors' implementation of 3D Gaussian Splatting: optimise a scene captured in photos into millions of anisotropic 3D Gaussians, then render novel views of it in real time at 1080p. |
| Instant NGP | ★ 17.6k | NVIDIA's CUDA implementation of four neural graphics primitives — NeRFs, signed distance functions, neural images and neural volumes — trained in seconds with a multiresolution hash encoding. |
| COLMAP | ★ 13.3k | Recover camera poses and dense geometry from a pile of photographs |
| Meshroom | ★ 13.1k | A node-based visual programming framework for photogrammetry and imaging pipelines, shipping with computer-vision and machine-learning plugins and running locally or on a render farm. |
