Python Bindings Reference - Alpha
Version 3.2.5
Getting Started
Start by downloading the CPU or CUDA 12 package. Each package supports Python 3.10 through 3.14 on x86_64 and aarch64.
Add the unzipped trueface_sdk directory to PYTHONPATH. import tfsdk loads the extension that matches the running interpreter. ONNX Runtime is next to that extension and is found automatically.
To drop the other architecture and the Python versions you will not run, from trueface_sdk run ./reduce_my_disk_size.sh. With no arguments it keeps the installed interpreter (for example 3.14.8). Pass 3.10 or 3.14.8 when you need a different version.
The SDK must first be configured to your desired settings. Consult the general section for the various configuration options.
Python SDK Modules: