MYNT EYE SDK  v1.8
https://www.slightech.com/camera
Getting Started on Linux

The MYNT EYE SDK is compatible with Ubuntu 14.04/16.04.

We provide different versions for GCC 4 and 5 because GCC 5 uses a new ABI by default (see here). It is recommended that you use the consistent version.

Prerequisites

# Install build tools
$ sudo apt-get install build-essential cmake git
# Install OpenCV dependencies
$ sudo apt-get install pkg-config libgtk2.0-dev
# Install ssl for https, v4l for video
$ sudo apt-get install libssl-dev libv4l-dev v4l-utils

Install OpenCV 3.4

$ git clone https://github.com/opencv/opencv.git
$ cd opencv/
$ git checkout tags/3.4.0
$ mkdir build
$ cd build/
$ cmake \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_INSTALL_PREFIX=/usr/local \
\
-DWITH_CUDA=OFF \
\
-DBUILD_DOCS=OFF \
-DBUILD_EXAMPLES=OFF \
-DBUILD_TESTS=OFF \
-DBUILD_PERF_TESTS=OFF \
..
$ make -j4
$ sudo make install

Install CUDA (Optional)

If you have Nvidia's graphic card, you could enable GPU compute capability as follows:

  • Ensure your graphic card drivers are up to date.
  • Download and install correct version of CUDA Toolkit according to here.

Install SDK

Go to the SDK directory and edit sdk.cfg to set your OpenCV install directory etc., then install:

$ cd <sdk directory>
$ ./install.sh
$ source ~/.bashrc

Check Installation

After ./install.sh, you could check the environment variables:

$ echo $MYNTEYE_SDK_ROOT
<Should be the sdk path>

Build SDK Samples

$ cd samples/
$ mkdir build
$ cd build/
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make

Then you could run the sample like this:

$ ./samples/bin/camera [name]

Please see "samples/README.md" to learn more about the samples.

About SDK Tools

Please see "tools/README.md".

Open SDK Documentation

$ xdg-open doc/api/html/index.html

FAQ

If have issues when installing, you could make an attempt to find it in FAQ.