zdzhaoyong / GSLAM-TheiaSfM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GSLAM-TheiaSfM

1. Introduction

This code is the Theia plugin implementation base on GSLAM.

GSLAM-TheiaSfM

2. Build and Install

2.1. Build and Install GSLAM

git clone https://github.com/zdzhaoyong/GSLAM --branch 2.4.2

2.2. Build and Install GSLAM-TheiaSfM

mkdir build;
cd build;
cmake .. -DCMAKE_BUILD_TYPE=Release;
make;
sudo make install

3. Run TheiaSfM with gslam

Since TheiaSfM plugin now use image file path as input, the dataset should provide frames with filePath information.

Now DroneMap keyframes datasets and RTMapper datasets are supported.

  1. Download sample dataset:
git clone https://github.com/zdzhaoyong/phantom3-village-kfs
  1. Run with gslam
gslam SLAM=libgslam_theiaSfM Dataset=<folder>/phantom3-village-kfs/.npudronemap

Since the SfM process is quite slow compare to SLAM plugins, the real process is started after all frames feeded. We suggest users to try a small dataset first or stop feeding frames with pressing stop button when enough frames are feeded. You can further boost the speed with parameter PlaySpeed and num_threads setted.

gslam SLAM=libgslam_theiaSfM Dataset=<folder>/phantom3-village-kfs/.npudronemap PlaySpeed=5 num_threads=4

About


Languages

Language:C++ 66.1%Language:C 23.6%Language:CMake 4.6%Language:Python 2.6%Language:TeX 0.6%Language:Cuda 0.6%Language:JavaScript 0.4%Language:Ruby 0.3%Language:CSS 0.3%Language:MATLAB 0.2%Language:Shell 0.2%Language:M4 0.2%Language:Makefile 0.1%Language:Fortran 0.0%Language:Objective-C 0.0%Language:R 0.0%Language:HTML 0.0%