Skip to content

Examples showcase

The repository ships two levels of Python examples: lightweight scripts under pyexamples/, and optional showcase workflows under examples/ that pull in larger third-party stacks (Torch, vismatch, Rerun).

pyexamples/ (fewer dependencies)

  • Classic OpenCV features (SIFT / AKAZE) and BFMatcher, wired to pyTheia two-view estimation and incremental / global / hybrid reconstruction (e.g. fountain scene scripts).
  • Utilities: NeRFStudio / SDFStudio export, MVS / Open3D stubs, video frame extraction.
  • Typical extras: opencv-python, kornia (see pyexamples/requirements.txt).

Use these when you want a quick sanity check without installing Torch-based matchers.

examples/ (showcase)

Install optional dependencies:

pip install ".[examples]"

See examples/README.md for setup, licenses (vismatch wraps many models), and CUDA notes.

  • Building — compile / install pyTheia
  • Python API overview — imports and stubs
  • MatchingFeatureCorrespondence, ImagePairMatch, pairing helpers
  • IOWriteNerfStudio, WriteColmapFiles, PLY