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

jBachalo/kinect2

 
 

Repository files navigation

Node-Kinect2

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

Still very early / experimental.

Screenshot

var Kinect2 = require('kinect2');

var kinect = new Kinect2();

if(kinect.open()) {
	console.log("Kinect Opened");
	//listen for body frames
	kinect.on('bodyFrame', function(bodies){
		for(var i = 0;  i < bodies.length; i++) {
			console.log(bodies[i]);
		}
	});

	//request body frames
	kinect.openBodyReader();

	//close the kinect after 5 seconds
	setTimeout(function(){
		kinect.close();
		console.log("Kinect Closed");
	}, 5000);
}

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 56.7%
  • JavaScript 43.3%