Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any way of getting Kinect V2 tracking data with javascript?

My question is: How to get Kinect for Windows V2 tracking data to Javascript for HTML5 games or other browser hacks.

I used the Zigfu browser plugin with my old Kinect to work with Javascript in the browser and that worked on my Macintosh too. I also know that Microsoft has released the kinect.js v1.8 for web development. There is also the node package called pgte/node-openni (find on GIT) that enables you to get Kinect data using web sockets. Problem is that NONE of these work with the new sensor.

The reason why I believe that this is possible is because I found these projects and they seem to work fine with Javascript and the new sensor but I can't extract enough information from these articles to start off development:

Project 1: http://blog.derivatived.com/posts/Kinect-version-2-Operated-Robot-Hand/

Project 2: http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2014/08/19/kinect-for-windows-v2-sdk-hello-skeletal-world-for-the-3d-javascript-windows-8-1-app-developer.aspx

like image 327
user2404804 Avatar asked Sep 29 '14 15:09

user2404804


1 Answers

A node module has been published and that now fully works with the Kinect V2:

https://www.npmjs.org/package/kinect2

According to the author once the official SDK is installed on a Windows PC the example from the repository readme can simply run the in node. Once the skeleton data is accessible in node you can publish it through a websocket (socket.io) and read it from the browser on the host machine or another one.

like image 83
user2404804 Avatar answered Sep 24 '22 17:09

user2404804