Python 3 bindings for the Azure Kinect SDK
Python 3 bindings for the Azure Kinect SDK
Install the Kinect SDKs, update device firmware version if needed:
If on Linux, ensure the relevant k4a.so
and k4abt.so
dynamic libraries are on your path.
Currently only body tracking is wrapped, but adding further wrappings should be easy and PRs would be appreciated!
There is a very simple example you can run via:
py -3 example/simple_sample.py
We are using it to develop an Azure Kinect plugin for Blender, which you can see a very early demo of here:
The plugin is available for early access and will be open-sourced soon, please email [email protected] to gain early access.
If you get the error:
[2021-01-18 14:05:28.307] [error] [t=6336] [K4ABT] D:\a\1\s\src\TrackerHost\TrackerHost.cpp (157): Create(). Find onnxruntime.dll at C:\Program Files\Azure Kinect Body Tracking SDK\tools\onnxruntime.dll but it doesn't load correctly!
It is because the Windows Store installs Python to a restricted user directory which cannot access external DLLs.