notaneimu/video-to-colmap-for-tttlrm
1
Video to COLMAP for tttLRM
Standalone Hugging Face Space that converts an uploaded video into a raw COLMAP scene archive suitable for the tttLRM inference Space.
What it does
- Normalizes uploaded video with
ffmpeg - Samples candidate frames across the clip
- Scores sharpness, scene cuts, and inter-frame motion
- Chooses an ordered keyframe set with overlap appropriate for COLMAP
- Runs CPU COLMAP (
feature_extractor,sequential_matcher,mapper) - Packages a raw scene archive with:
images/sparse/0/report.json
Recommended workflow
- Upload a short orbit or slow pan video of a single object or scene.
- Download the generated raw COLMAP
.zip. - Upload that archive into the companion
tttLRMinference Space.
Notes
- This Space is CPU-oriented because COLMAP runs on CPU in standard Hugging Face Spaces more reliably than GPU-specific builds.
- Best results come from a stable single-shot orbit video with limited lighting changes and no jump cuts.
