Monday, October 16, 2017

OpenMVG (Open Multiple View Geometry) Ubuntu Installation Guide


Dependencies:

(1) Install the latest cmake:
 
$ sudo apt-get install cmake

(2) Install Git:

$ sudo apt-get update
$ sudo apt-get install git


(3) Install GCC:

$ sudo apt install gcc-7


(4) Install QT V5.4 (Optional)


Getting the resources and the submodules:

(1) $ git clone --recursive https://github.com/openMVG/openMVG.git

(2) Install the required external libraries:
$ sudo apt-get install libpng-dev libjpeg-dev libtiff-dev libxxf86vm1 libxxf86vm-dev libxi-dev libxrandr-dev

(3) If you want to view graph svg logs, install graphviz;
$ sudo apt-get install graphviz

(4) Build OpenMVG

$ git clone --recursive https://github.com/openMVG/openMVG.git
$ cd openMVG
$ cd ..
$ mkdir openMVG_Build
$ cd openMVG_Build

(5) If you want unit tests and examples:
$ cmake -DCMAKE_BUILD_TYPE=RELEASE -DOpenMVG_BUILD_TESTS=ON -DOpenMVG_BUILD_EXAMPLES=ON . ../openMVG/src/

Otherwise simply:
$ cmake -DCMAKE_BUILD_TYPE=RELEASE . ../openMVG/src/

(6) Compile the project
$ make



No comments:

Post a Comment

Setting Jupyter and Tensorflow on Google Cloud Platform

https://towardsdatascience.com/running-jupyter-notebook-in-google-cloud-platform-in-15-min-61e16da34d52