ivost / depthai-core-example

CMake C++ example project using depthai library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMake C++ example project for depthai-core library

CMake example project which serves as a template on how to quickly get started with C++ and depthai library

Depthai library dependencies

  • cmake >= 3.2
  • libusb1 development package
  • C/C++11 compiler

MacOS: brew install libusb

Linux: sudo apt install libusb-1.0-0-dev

Submodules

Make sure submodules are initialized and updated

git submodule update --init --recursive

Prerequisites

OpenCV - optional (for this example only)

OpenCV is required to run the out-of-box example. If OpenVINO is installed then no further action is required.

Otherwise install using one of the options below:

Building

Configure and build

mkdir -p build && cd build
cmake ..
cmake --build . --parallel

Running

To run the example application 'myapp', navigate to build directory and run 'myapp' executable

./myapp

About

CMake C++ example project using depthai library


Languages

Language:C++ 58.8%Language:CMake 41.2%