2018-03-08 09:54:14 +02:00
|
|
|
# Samples for MYNT® EYE cameras
|
2018-04-14 05:33:28 +03:00
|
|
|
|
2018-04-25 07:28:06 +03:00
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
[OpenCV](https://opencv.org/),
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# Linux, macOS
|
|
|
|
export OpenCV_DIR=~/opencv
|
|
|
|
|
|
|
|
# Windows
|
|
|
|
set OpenCV_DIR=C:\opencv
|
|
|
|
```
|
|
|
|
|
2018-04-14 05:33:28 +03:00
|
|
|
## Build
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cd <sdk>
|
|
|
|
make samples
|
|
|
|
```
|
|
|
|
|
|
|
|
## Run
|
|
|
|
|
2018-04-26 04:22:29 +03:00
|
|
|
Camera with api layer,
|
|
|
|
|
|
|
|
```bash
|
|
|
|
./samples/_output/bin/api/camera_a
|
|
|
|
|
|
|
|
# Windows
|
|
|
|
.\samples\_output\bin\api\camera_a.bat
|
|
|
|
```
|
|
|
|
|
|
|
|
Camera with device layer,
|
|
|
|
|
2018-04-14 05:33:28 +03:00
|
|
|
```bash
|
2018-04-15 18:29:06 +03:00
|
|
|
./samples/_output/bin/device/camera_d
|
2018-04-25 07:28:06 +03:00
|
|
|
|
|
|
|
# Windows
|
|
|
|
.\samples\_output\bin\device\camera_d.bat
|
2018-04-14 05:33:28 +03:00
|
|
|
```
|