bglgwyng / quickstart-desktop-cpp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick start examples for integrating Banuba SDK on Desktop in C++ apps.

Usage

Token

Before you commit to a license, you are free to test all the features of the SDK for free. To start it, send us a message.
We will get back to you with the trial token. You can store the token within the app.

Feel free to contact us if you have any questions.

Banuba SDK Build

To get latest Banuba SDK build follow Releases section in the FaceAR-SDK-desktop-releases repository.

Getting Started

  1. Clone the repository with submodules.
  2. Copy bnb_sdk.tar.gz/mac (for Mac OS) or bnb_sdk.zip/bin with bnb_sdk.zip/include (for Windows) into quickstart-desktop-cpp/bnb_sdk dir.
  3. Windows only: copy contents of bnb_sdk.zip/resources into quickstart-desktop-cpp/resources.
  4. Copy and Paste your client token into appropriate section of quickstart-desktop-cpp/bnb_sdk_manager/BanubaClientToken.hpp.
  5. Generate project files by executing next commands:
    Windows x86 build:
        cd %path_to_repository%
        git submodule update --init --recursive
        mkdir build
        cd build
        cmake -A Win32 ..
    
    Windows x64 build:
        cd %path_to_repository%
        git submodule update --init --recursive
        mkdir build
        cd build
        cmake -A x64 ..
    
    MacOS build:
        cd %path_to_repository%
        git submodule update --init --recursive
        mkdir build
        cd build
        cmake -G Xcode ..
    
  6. Previous step will generate Xcode project for MacOS and Visual Studio project for Windows. Open project in appropriate IDE on your platform.
  7. Select target single-image-processingr or realtime-camera-preview.
  8. Run build.

Docs

You can find more info here.

About

License:MIT License


Languages

Language:C++ 51.8%Language:CMake 37.0%Language:Objective-C++ 6.7%Language:JavaScript 4.6%