cre185/InstantSfM

Official code for paper "InstantSfM: Towards GPU-Native SfM for the Deep Learning Era"

What it solves

InstantSfM addresses the efficiency bottlenecks of traditional Structure from Motion (SfM) pipelines, which are often slow and not fully optimized for modern GPU hardware. It provides a GPU-native approach to reconstruct 3D structures from a collection of 2D images, making the process faster and more compatible with deep learning workflows.

How it works

The project implements a full SfM pipeline consisting of three primary stages:

  1. Feature Extraction and Matching: Identifies key points across images (using COLMAP by default).
  2. Global SfM and Bundle Adjustment: Computes the 3D structure and camera poses using GPU-native operations to optimize the reconstruction.
  3. 3D Gaussian Splatting (3DGS): Provides integrated support to train 3DGS models based on the reconstructed data.

It utilizes a SIMD-friendly data structure to improve processing speed and integrates with tools like bae for bundle adjustment in eager mode.

Who it’s for

This tool is designed for researchers and developers working in computer vision, robotics, and 3D reconstruction who need a high-performance, GPU-accelerated pipeline to turn images into 3D models.

Highlights

  • GPU-Native Architecture: Optimized for NVIDIA GPUs to accelerate the SfM process.
  • End-to-End Pipeline: Covers everything from feature extraction to 3DGS training.
  • Interactive Visualization: Includes a GUI to visualize the reconstruction process in real-time or playback recorded reconstructions.
  • Metric Depth Support: Includes tools for metric scale depth estimation from videos using Video Depth Anything.

Related

  • Project
  • Project
  • Project
  • Project
  • Project