Utilities for converting novel view synthesis datasets to COLMAP format.
Project description
NVS2COLMAP
Utilities for converting novel view synthesis datasets to COLMAP format.
Supported Formats
- Neural 3D Video Dataset: scenes with
poses_bounds.npyand onemp4file per camera. Seenvs2colmap/n3dv/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.
Quick Start
Install the Python runtime dependencies:
pip install numpy torch
For Neural 3D Video scenes, the command also needs ffmpeg and ffprobe on
PATH, or explicit paths via --ffmpeg and --ffprobe. If you want to run
the full COLMAP pipeline, also provide a COLMAP executable via
--colmap-executable.
Extract a Neural 3D Video scene and write per-frame COLMAP text models:
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 the full COLMAP pipeline for each frame:
python -m nvs2colmap.n3dv \
--path data/Robo360/xarm6_gold_rope_in_basket_2 \
--ffmpeg D:/MyPrograms/ffmpeg.exe \
--ffprobe D:/MyPrograms/ffprobe.exe \
--video-extension MP4 \
--n-frames 1 \
--use-colmap \
--colmap-executable data/colmap/COLMAP.bat \
--colmap-use-gpu 1
By default, decoded frames are written to frame*/images, and the command also
writes frame*/sparse/0 text models. With --use-colmap, decoded frames are
written to frame*/input, and each frame additionally gets the standard
COLMAP outputs such as distorted/, images/, sparse/, and stereo/. When
--start-number N is provided, decoding starts from source video frame N, and
the generated folders/images are also numbered from N.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nvs2colmap-0.2.0.tar.gz.
File metadata
- Download URL: nvs2colmap-0.2.0.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0df3f89f9af48a7428a8e5418b724e22802c0e03c082aaadc88bbb45356367c
|
|
| MD5 |
420869750f468a98e7d54f41678afa9a
|
|
| BLAKE2b-256 |
af3b6d9702805c09e8792a0194f55891ab775c1819bc6b7501328c1fe9498ef5
|
File details
Details for the file nvs2colmap-0.2.0-py3-none-any.whl.
File metadata
- Download URL: nvs2colmap-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6092c58aa6c3c5c1e28e639acd054a5c7c452d0b49e7cfd9db6757797c81999
|
|
| MD5 |
fe4b4ca87d3cebc92dfde164717227e7
|
|
| BLAKE2b-256 |
d52a37920914caa0f500f42a50e9d05bacdca8eb944b4b9a614a44817f65f980
|