This library enables you to use the Azure Kinect in your nodejs or electron apps.
Features:
- get rgb camera feed
- get depth feed
- get ir feed
- transform between color and depth feed
- point cloud (greyscale and colored)
- get skeleton joints (2d and 3d)
- body index / user masking
- get temperature / accelerometer / gyroscope data (IMU data)
Check out my kinect2 library for the Kinect v2 sensor.
Make sure you have the Azure Kinect drivers and the Azure Kinect Body SDK installed.
The Body Tracking SDK relies on quite a few dll & onnx files, which you can find in the Azure Kinect Body SDK\tools
directory. Either add that folder (eg C:\Program Files\Azure Kinect Body Tracking SDK\tools) to your PATH or copy the dll and onnx files into the root of your project.
Just npm install like you would do with any regular module.
$ npm install kinect-azure
There are nodejs and electron examples in the examples/ folder of this repo. To run them, execute npm install and npm start:
$ cd examples/electron
$ npm install
$ npm start
The electron examples have the javascript code inside the html files. You can find these html files in examples/electron/renderer/demos.
Like this library? Always welcome to buy me a beer 🍺