Jonah-gr / SfM-Image-Matcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Structure from Motion Image Matcher

This repository contains a Python script that utilizes Structure from Motion (SfM) techniques to identify and select images nearest to given 3D points.

Overview

The Structure from Motion (SfM) Image Matcher is a tool designed to streamline the process of selecting images that are the closest match to specified 3D points. By leveraging SfM algorithms, the script can analyze a collection of images and their corresponding camera positions to determine the proximity of each image to the provided 3D points.

Installation

  1. Clone this repository:
git clone https://github.com/Jonah-gr/SfM-Image-Matcher.git
  1. Install the requirements:
pip install -r requirements.txt

How to use

  1. Set up the config file: Place a video of the object where you like it and change the perspective parameters. NOTE: PyCOLMAP does not support cuda. To use your GPU anyway, install the right version here. Then copy all the files inside this repository.

  2. Run the script:

python -m src.main

Alternatively, use this notebook and set up all the parameters there.

About

License:MIT License


Languages

Language:Jupyter Notebook 98.4%Language:Python 1.6%