41 lines
480 B
Markdown
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
|
|
```
|