NVS2COLMAP
Utilities for converting novel view synthesis datasets to COLMAP format.
These scenes are prepared for InstantSplat. InstantSplat initializes one frame at a time and does not undistort a whole sequence, so this repository undistorts every frame. The default commands write known-pose sparse/0 text models and do not call COLMAP. --use-colmap runs feature extraction, matching, triangulation, mapping, image_undistorter, and mask_undistorter on every frame. Undistorted images go to images/, and undistorted masks go to image_masks/.
Supported Formats
- Neural 3D Video Dataset: scenes with
poses_bounds.npyand onemp4file per camera. Seenvs2colmap/n3dv/README.md. - Dynamic 3D Gaussians: scenes with
train_meta.json,test_meta.json, images inims/, and masks inseg/. Seenvs2colmap/dynamic3dgs/README.md. - Blender: a
.blendfile rendered into that Neural 3D Video layout, withblender_frames.jsonrecording the Blender timeline frame of each video frame. Seenvs2colmap/blender/README.md. - ST-NeRF: scenes with
pose/K.txt,pose/RT_c2w.txt, and oneframe*/imagesfolder per frame. The releasedboxingarchive has nopose/. Seenvs2colmap/stnerf/README.md. - Siggraph Asia 2026 VVC: scenes with
images/<view>/<frame>,train_intri.yml, andtrain_extri.yml. Seenvs2colmap/SiggraphAsia2026VVC/README.md.
Supported Datasets
- Neural 3D Video Dataset: dataset facebookresearch/Neural_3D_Video, paper Neural 3D Video Synthesis from Multi-view Video.
- StreamRF / Meet Room Dataset: dataset AlgoHunt/StreamRF, paper Streaming Radiance Fields for 3D Video Synthesis.
- Robo360: dataset liuyubian/Robo360, paper Robo360: A 3D Omnispective Multi-Material Robotic Manipulation Dataset.
- Dynamic 3D Gaussians: dataset JonathonLuiten/Dynamic3DGaussians, paper Dynamic 3D Gaussians: Tracking by Persistent Dynamic View Synthesis.
- ST-NeRF: code DarlingHang/ST-NeRF, paper Editable Free-Viewpoint Video using a Layered Neural Representation.
- Siggraph Asia 2026 VVC: dataset zju3dv/SiggraphAsia2026VVC.
Quick Start
Install the Python runtime dependencies:
pip install numpy pillow plyfile torch
Download FFmpeg 7.0.2-static and place ffmpeg and ffprobe in data/:
mkdir -p data
wget -qO- https://johnvansickle.com/ffmpeg/releases/ffmpeg-7.0.2-amd64-static.tar.xz | tar -xJ -C data --strip-components=1 ffmpeg-7.0.2-amd64-static/ffmpeg ffmpeg-7.0.2-amd64-static/ffprobe
Install COLMAP from conda-forge:
conda install -c conda-forge colmap
The colmap executable is ${CONDA_EXE%/bin/conda}/bin/colmap. It loads
shared libraries from the conda lib directory next to that binary, so pass
this path to --colmap-executable.
--use-colmap hardcodes the COLMAP 3.13 option names
--FeatureExtraction.use_gpu and --FeatureMatching.use_gpu. COLMAP 3.12 and
earlier only accept --SiftExtraction.use_gpu and --SiftMatching.use_gpu,
and exit with unrecognised option '--SiftExtraction.use_gpu'. Install COLMAP
3.13 or newer.
For Neural 3D Video scenes, pass data/ffmpeg and data/ffprobe, or put
ffmpeg and ffprobe on PATH. To run the COLMAP reconstruction that
InstantSplat continues from,
pass --colmap-executable "${CONDA_EXE%/bin/conda}/bin/colmap".
Extract a Neural 3D Video scene and write per-frame COLMAP text models for InstantSplat:
python -m nvs2colmap.n3dv \
--path data/coffee_martini \
--ffmpeg ffmpeg \
--ffprobe ffprobe \
--n-frames 300
Start from source frame 10 and keep output frame numbering aligned with it:
python -m nvs2colmap.n3dv \
--path data/coffee_martini \
--ffmpeg ffmpeg \
--ffprobe ffprobe \
--start-number 10 \
--n-frames 300
Run COLMAP reconstruction and undistortion for each frame, for InstantSplat:
python -m nvs2colmap.n3dv \
--path data/Robo360/xarm6_gold_rope_in_basket_2 \
--ffmpeg ffmpeg \
--ffprobe ffprobe \
--video-extension MP4 \
--n-frames 1 \
--use-colmap \
--colmap-executable "${CONDA_EXE%/bin/conda}/bin/colmap" \
--colmap-use-gpu 1
Link a Dynamic 3D Gaussians scene, including its masks, and write per-frame COLMAP text models for InstantSplat:
python -m nvs2colmap.dynamic3dgs \
--path data/basketball \
--n-frames 150
Write per-frame COLMAP text models for an ST-NeRF scene. The scene must
contain pose/K.txt and pose/RT_c2w.txt:
python -m nvs2colmap.stnerf \
--path data/taekwondo \
--n-frames 101
Link a Siggraph Asia 2026 VVC scene and write per-frame COLMAP text models
for InstantSplat. The default
starts at the first frame file and writes frame1, including a selfcap
scene whose first file is 000900.jpg:
python -m nvs2colmap.SiggraphAsia2026VVC \
--path data/SiggraphAsia2026VVC/siga/compression/test/004_1_seq1
python -m nvs2colmap.SiggraphAsia2026VVC \
--path data/SiggraphAsia2026VVC/selfcap/sparse/test/0512_bike
Render a .blend file into camera videos next to an existing
poses_bounds.npy. blender must be on PATH, or pass the executable with
--blender:
python -m nvs2colmap.blender \
--path data/robot \
--blend robot.blend \
--frame_step 3
For Neural 3D Video scenes, decoded frames are written to frame*/images by
default, and the command also writes frame*/sparse/0 text models. With
--use-colmap, decoded frames are written to frame*/input, and each frame
gets distorted/sparse/0 plus undistorted images/, sparse/, and stereo/
for InstantSplat. When
--start-number N is provided, decoding starts from source video frame N,
and the generated folders/images are also numbered from N.
For Dynamic 3D Gaussians scenes, images from both train_meta.json and
test_meta.json are hardlinked into frame*/images, and included masks are
hardlinked into frame*/image_masks (cam01.jpg pairs with cam01.jpg.png).
--no-train-camera and --no-test-camera drop one split. The same
--use-colmap switch writes images to frame*/input and masks to
frame*/input_mask, then undistorts them to images/ and image_masks/
for InstantSplat. That switch
does not write init_pt_cld.npz into sparse/0/points3D.ply; the
reconstructed points stay in distorted/sparse/0 and the undistorted
sparse/. --start-number uses the same 1-based output numbering; source
file 000000.jpg is frame 1.
For Siggraph Asia 2026 VVC scenes, images from train_intri.yml /
train_extri.yml and, when present, test_intri.yml / test_extri.yml are
placed in frame*/images. Included masks go in frame*/image_masks
(0002.jpg pairs with 0002.jpg.png). A zero D_<view> is hardlinked. A
nonzero D_<view> hardlinks the original into frame*/input. COLMAP's
image_undistorter writes frame*/images and a PINHOLE model in
sparse/0. A shared pcds/000000.ply is hardlinked to sparse/0/points3D.ply
in every extracted frame. --use-colmap writes images to frame*/input and
masks to frame*/input_mask, then runs COLMAP undistortion into images/ and
image_masks/ for
InstantSplat. The default
starts at the first frame file and writes frame1. A scene whose first file
is 000900.jpg still begins at frame1.
For Blender scenes, rendering writes one video per camera beside
poses_bounds.npy, plus blender_frames.json in that same directory. The
file is a JSON list of Blender timeline frame numbers in render order. Video
frame i (1-based) is Blender frame blender_frames[i - 1].
--frame_start defaults to 1. --frame_end and --frame_step default to
the .blend timeline. With --frame_step 3, the file begins [1, 4, 7, ...].
Decoding the videos with python -m nvs2colmap.n3dv numbers frame* folders
by video frame, so frameK is blender_frames[K - 1].
For ST-NeRF scenes, the scene directory holds one zip file. The default
command extracts images to frame*/images and writes frame*/sparse/0 text
models from pose/K.txt and pose/RT_c2w.txt. --use-colmap extracts images
to frame*/input, then undistorts them to images/ for
InstantSplat. A scene without
pose/ raises an error. --start-number uses the same 1-based numbering;
source directory frame1 is frame 1.
Metadata
Release files for nvs2colmap 0.8.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nvs2colmap-0.8.4.tar.gz | 48.3 kB | With provenance | Details for nvs2colmap-0.8.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nvs2colmap-0.8.4-py3-none-any.whl | Python 3 | none | any | Details for nvs2colmap-0.8.4-py3-none-any.whl |
Total release size: 107.8 kB
Release files / nvs2colmap-0.8.4.tar.gz
| Download URL | nvs2colmap-0.8.4.tar.gz |
|---|---|
| Size | 48.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7884be95e68b2ff9aa1ea94d2267a0fcdecab6ae22bbfd55f8ca01b2ad56ec6
|
|
BLAKE2b-256 checksum How to use checksums |
443314d6728dfd298e6e03c299943f637b4824d2ed7f2be202b36c1691d8b9ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logRelease files / nvs2colmap-0.8.4-py3-none-any.whl
| Download URL | nvs2colmap-0.8.4-py3-none-any.whl |
|---|---|
| Size | 59.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6dd4db0c73946bdced42d8dc813cd6a4ea456f3f627d0871cdae4c77fe07e9e7
|
|
BLAKE2b-256 checksum How to use checksums |
64a13d0ca85c5da03b457bf4d667eab1c5a200b2e55a8a825ee62f3988d4714b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logSecurity for nvs2colmap 0.8.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for nvs2colmap-0.8.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.