最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

node.js - Any way of getting Kinect V2 tracking data with javascript? - Stack Overflow

programmeradmin2浏览0评论

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: /

Project 2: .aspx

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./posts/Kinect-version-2-Operated-Robot-Hand/

Project 2: http://mtaulty./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

Share Improve this question asked Sep 29, 2014 at 15:35 user2404804user2404804 5233 silver badges12 bronze badges 2
  • Any news on this? :( – RobertG Commented Oct 23, 2014 at 11:42
  • For now, for my project, we did it the other way round - embed the web page in an app based on a Kinect v2 example app. I'll give the details later as a proper answer. – RobertG Commented Oct 24, 2014 at 8:58
Add a ment  | 

2 Answers 2

Reset to default 11 +50

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

https://www.npmjs/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.

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

发布评论

评论列表(0)

  1. 暂无评论