Skip to main content

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.npy and one mp4 file per camera. See nvs2colmap/n3dv/README.md.

Supported Datasets

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

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/.

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

nvs2colmap-0.1.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nvs2colmap-0.1.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file nvs2colmap-0.1.0.tar.gz.

File metadata

  • Download URL: nvs2colmap-0.1.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for nvs2colmap-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5d02de129d1c7bfb82f70c28a0c3cf94fb258075b55b8edee1e3ae51b2e47023
MD5 5ec61b1260846d401351681696c3e2ed
BLAKE2b-256 c0ef0d4988c8b920c1a75ad76f730484ed5e32be8f10673077cc39c4032e130e

See more details on using hashes here.

File details

Details for the file nvs2colmap-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nvs2colmap-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for nvs2colmap-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75cc091b56a944eb902ee0977dbf278e58894b5fddc4d86ccaf422ccaddaa68a
MD5 169bd4b85cacfab8a5e2b124fca6291b
BLAKE2b-256 fc930e0617304f064681a5e6a6790401986d4f5ac964985623c1b3f5be01878e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page