15

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

user2404804
  • 523
  • 3
  • 12

2 Answers2

11

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.

Ry-
  • 218,210
  • 55
  • 464
  • 476
user2404804
  • 523
  • 3
  • 12
  • "according to the author", "Version 0.0.3 last updated 19 days ago" - can anyone confirm this actually works? – RobertG Oct 27 '14 at 14:02
  • It's probably not for commercial use but tested it and it definitely works! Good for a few hacks and personal projects. The official SDK is out now so let's hope the author updates this. – user2404804 Oct 28 '14 at 09:23
  • Also confirming it works with kinectv2. Still looking for documentation on the exact meaning of the bodyFrame attributes. – Dylan Pierce Apr 27 '16 at 17:12
2

According to this you can't run the app in web browser , but you can build win 8.1 store apps with all features supported , to do so you have to install :

  1. Kinect v2 SDK
  2. Latest MS visual studio available.

and voila , you are good to go , also i would suggest all videos posted here

ProllyGeek
  • 15,517
  • 9
  • 53
  • 72