Trueface SDK Reference - Stable

Downloads

Version 0.10.5855

Alpha contains the absolute latest features, but may also contain bugs. Beta contains fewer bugs while still having relatively new features. Stable will contain the fewest bugs but will take the longest to get new features. You will generally want to choose the Beta or Stable releases.

Note, if downloading the SDK in an automated manner (ex. building docker images) then you will want to replace the postfix in the download link (SDK version) with _latest.zip instead. So for example, https://reference.trueface.ai/cpp/staging/latest/uploads/truefaceSDK_v0.10.5483.zip would become https://reference.trueface.ai/cpp/staging/latest/uploads/truefaceSDK_latest.zip.

x86-64 C++

Target platform

SHA256

C++ x86-64 CPU Linux

89c45ee8d5...

C++ x86-64 GPU CUDA-10.1 Linux (Ubuntu)

ffdcfb0f6d...

C++ x86-64 CPU macOS

61404ed324...

x86-64 Python bindings

Python bindings Documentation
Python bindings documentation can be found here

Target platform

SHA256

Python 3.6 64Bit CPU Linux

54e3af9409...

Python 3.6 64Bit GPU CUDA-10.1 Linux (Ubuntu)

cb85632a13...

Python 3.7 64Bit CPU Linux

67244fad4b...

Python 3.7 64Bit CPU macOS

747175c115...

Python 3.7 64Bit GPU CUDA-10.1 Linux (Ubuntu)

ca0c56a091...

Python 3.8 64Bit CPU Linux

398670e428...

Python 3.8 64Bit CPU macOS

44250a9bcd...

Python 3.8 64Bit GPU CUDA-10.1 Linux (Ubuntu)

ab11484165...

ARM C++

Target platform

SHA256

Aarch64 CPU Linux

d86ed9f9e2...

Arm32 CPU Linux

aa3817bdc2...

For embedded devices with limited disk space, use the following libraries which have the full model disabled to reduce binary size.

Target platform

SHA256

Aarch64 CPU lite Linux

d03e96e64a...

Arm32 CPU lite Linux

196ee5da0c...

ARM Python Bindings

Python bindings Documentation
Python bindings documentation can be found here

Target platform

SHA256

Python 3.6 64Bit CPU Linux Aarch64

cf0de8942c...

Python 3.6 32Bit CPU Linux Arm32

f24bb41f16...

Python 3.7 64Bit CPU Linux Aarch64

7f5b2b2d7e...

Python 3.7 32Bit CPU Linux Arm32

6f7bb521e7...

Mobile

Target platform

SHA256

Android

N/A

GPU SDK Dependencies

While the CPU SDK is completely dependency free, the GPU SDK does have a few dependencies which must be installed. First, you must have CUDA 10.1 (runtime) installed on your Ubuntu device. Alternatively, you can use this docker image.

The other required dependencies are:

  • libomp.so

  • libopenblas.so.0

  • libcudnn.so.7

These can be installed by running the following commands:

apt-get install -y libomp-dev libopenblas-dev software-properties-common wget
OS=ubuntu1804
wget https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/cuda-${OS}.pin
mv cuda-${OS}.pin /etc/apt/preferences.d/cuda-repository-pin-600
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/7fa2af80.pub
add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/${OS}/x86_64/ /"
apt-get update
apt-get install -y libcudnn7

Sample Apps

Sample Apps which demonstrate full working applications.