Python Bindings Reference - Stable¶
Version 0.14.6732
Getting Started¶
Start by downloading the correct version of the python bindings library.
Note, the CPU python bindings library contains the static C++ SDK library (so you do not need to download libtf.a library separately).
If using the GPU python bindings library, then you will require both the python bindings library as well as libtf.so (both are packaged in the download zip).
Ensure that libtf.so is in your LD_LIBRARY_PATH
. You can confirm this by running ldd
on the bindings library and ensuring that all dependencies are met.
The SDK must first be configured to your desired settings. Consult the general section for the various configuration options.
- General
- License Validation
- Input Image
- Face Detection and Recognition
- 1 to N Identification
- Object Detection
- Spoof Detection
- Pose Estimation
- Liveness
- Mask Detection
- Eye glasses Detection
- Environment Variables
- Frequently Asked Questions
- How many threads does the SDK use for inference?
- How can I reduce the number of threads used by the SDK?
- How can I run inference with multiple instances of the SDK on a single CPU?
- Is the SDK threadsafe?
- What architecture should I use when I have multiple camera streams producing lots of data?
- What is the difference between the static library and the dynamic library?
- What hardware does the GPU library support?
- Why is my license key not working with the GPU library?
- Why does the first call to an inference function take much longer than the subsequent calls?
- How do I use the python bindings for the SDK?
- How do I choose a similarity threshold for face recognition?
- What is the difference between similarity score and match probability?
- There are many face detection and recognition functions. Which should I use?
- How do createDatabaseConnection and createLoadCollection work?
- Why are no faces being detected in my large images?
- How can I speed up face detection running on CPU?
- What does the frVectorCompression flag do? When should I use it?
- Changelog
- Previous Stable Releases