Linux

Follow the instructions below to install the SDK

Set environment variables

Manual setting: export LD_LIBRARY_PATH=dface_sdk/lib:dface_sdk/system/lib

Automatic setup: source setup.sh

Device activation

online activation

  1. run tools/licenceManager xxxx(activation code)

offline activation

  1. run tools/licenceLocalInfo xxxx(activation code), get device fingerprint file
  2. send fingerprint file to us
  3. we will send activation file to you
  4. run tools/licenceAuthOffline xxxx(activation file)

Software dependency

Open apt-get.txt to install the required dependencies

SDK directory

directory Explanation Necessary for migrates
/lib DFACE dynamic library directory yes
system/lib Third-party dynamic dependency library directory yes
/model/normal_binary DFACE model directory yes
/tools Tool directory, including module testing yes
/include Header file directory yes
/example Demo source code directory yes
/doc SDK/API documentation yes

Demo source code compile and run

We provide the source code of the demo of QT version, directly open the project under example/cpp with Qt Creator to compile and run.

run demo
source qt_demo.sh

注解

  • None