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



Thursday, October 12, 2017

Pinta: Easy to use photo editor (like paint) in Ubuntu

Open terminal with CTRL+ALT+T Add Pinta stable PPA repository:
sudo add-apt-repository ppa:pinta-maintainers/pinta-stable
Note: Instead of pinta-stable you can add pinta-daily if you like to test latest and the greatest Pinta, but it may be buggy.
Update system package lists:
sudo apt-get update
Install pinta:
sudo apt-get install pinta 

Wednesday, October 11, 2017

Feature points and descriptors which are free for commercial applications

Feature points:
  • CORNERS: HARRIS, FAST,
  • REGIONS: MSER,
  • BLOBS: AKAZE.
Descriptors:

  • BINARY: M-LDB (see AKAZE paper), BRIEF, Nested shape descriptor,
  • FLOATING POINT: DAISY, LIOP descriptors.

Wednesday, October 4, 2017

html video loop and autoplay with page load

<!DOCTYPE html>
<html>
<body>

<video width="320" height="240" autoplay loop>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
  Your browser does not support the video tag.
</video>

<p><strong>Note:</strong> The video tag is not supported in Internet Explorer 8 and earlier versions.</p>

</body>
</html>

Setting Jupyter and Tensorflow on Google Cloud Platform

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