MYNT-EYE-S-SDK/samples/README.md
2018-04-26 09:22:29 +08:00

41 lines
480 B
Markdown

# Samples for MYNT® EYE cameras
## Prerequisites
[OpenCV](https://opencv.org/),
```bash
# Linux, macOS
export OpenCV_DIR=~/opencv
# Windows
set OpenCV_DIR=C:\opencv
```
## Build
```bash
cd <sdk>
make samples
```
## Run
Camera with api layer,
```bash
./samples/_output/bin/api/camera_a
# Windows
.\samples\_output\bin\api\camera_a.bat
```
Camera with device layer,
```bash
./samples/_output/bin/device/camera_d
# Windows
.\samples\_output\bin\device\camera_d.bat
```