Skip to content

Nodejs library to access the kinect 2 data from the official MS SDK

License

Notifications You must be signed in to change notification settings

wouterverweirder/kinect2

Repository files navigation

Kinect2 Library for Node / Electron

npm npm Donate

This library enables you to use the Kinect v2 in your nodejs or electron apps.

screenshot of multi stream demo

Features:

  • get rgb camera feed
  • get depth feed
  • get ir feed
  • point cloud (greyscale and colored)
  • get skeleton joints (2d and 3d)
  • user masking

Check out my kinect-azure library for the Azure Kinect sensor.

Installation

You will need to install the official Kinect 2 SDK before you can use this module.

Just npm install like you would do with any regular module.

$ npm install kinect2

Examples

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.

Donate

Like this library? Always welcome to buy me a beer 🍺

Donate