How to control a HTML5 website through Kinect v2?

705 Views Asked by At

I'm trying to build a HTML5 website that can be controlled through Kinect v2, meaning navigation through pages, pushing buttons, playing videos, etc. I was able to start this project with Kinect v1 using Zigfu but the requirements of the project changed and now I have to use the Kinect v2. Zigfu is not compatible with Kinect v2. Do you have any other suggestions, what should I use in order to achieve this? Thanks

2

There are 2 best solutions below

0
Iván Rodríguez Torres On

I think this is not possible, as the only way you can use the JavaScript API for kinect v2 is in a winJS store app. You could try to embed a web browser on the app. Check this:

https://social.msdn.microsoft.com/Forums/en-US/c285b9ae-a8d3-4ed7-bcf6-0b05b03deebf/developing-with-javascript-vs-wpf-c?forum=kinectv2sdk

0
Rafaf Tahsin On

You may use HTML5 Web Socket to make data communication between kinect and your website. When you can access kinect data from your browser, you can easily design your desired control logic with the data. I've used this web socket server to develop a project. You may check this. There's a Test site inside it, which shows real time color data and body data in a web page from kinect.