naver/kapture

kapture is a file format as well as a set of tools for manipulating datasets, and in particular Visual Localization and Structure from Motion data.

What it solves

Kapture provides a standardized, pivot file format for storing and managing sensor-acquired data used in Structure from Motion (SfM) and 3D reconstruction. It eliminates the need to constantly convert between various proprietary or project-specific data formats when using different computer vision tools and datasets.

How it works

Kapture uses a combination of text and binary files to organize data into a structured directory hierarchy. It stores sensor parameters (intrinsics), rig configurations, trajectories (poses), and raw sensor records (images, lidar) in a sensors/ directory, and computed data like 2D keypoints, descriptors, 3D points, and matches in a reconstruction/ directory. The project includes a Python library for programmatic access and a suite of conversion tools to import/export data from formats like COLMAP, OpenMVG, and OpenSfM.

Who it’s for

Researchers and developers working in 3D computer vision, visual localization, and robotics who need a consistent way to handle diverse datasets and sensor data across different software pipelines.

Highlights

  • Pivot Format: Acts as a central hub for converting between multiple SfM formats.
  • Comprehensive Data Support: Handles everything from raw sensor data and trajectories to high-level 3D reconstructions and matches.
  • Extensive Conversion Tools: Built-in support for importing from and exporting to several popular SfM tools and datasets.
  • Dataset Downloader: Includes a tool to download pre-converted datasets for visual localization benchmarks.
  • Integration: Directly supported by feature extraction tools like R2D2, D2-Net, and AP-GeM.

Related

  • Project
  • Project
  • Project
  • Project