Kinect 2.0 for Webserver RRS feed

  • Question

  • Hi,

    We have implemented Kinect version 1.8 with web server and integrate in our current application and works correct, now we are going to update with version 2.0 with some extended features but Kinect 2.0 is not supporting web server version. So if that is not available then is there any work around with extend 1.8 web server version to 2.0. If we will get some sample code for this.

    If in new feature planing to launch web version then let know the expected date so can plan accordingly.


    Amit Patel

    Saturday, September 6, 2014 7:55 AM

All replies

  • Hi,

    I think there are increasingly more people interested in this feature for Kinect v2.0. You can read some information in the forum if you search for "webserver" or "javascript".

    Regarding your question, Eddy Escardo-Raffo from Microsoft stated in this post that no webserver will be available with SDK 2.0 launch, although they are considering it for the future. As far as I know, SDK 2.0 has no official release date but it was announced for this fall.


    Tuesday, September 9, 2014 7:56 AM
  • Thanks for your response,

    As we have already working version 1.8 with webserver version and have some function and now we are planing to expanding it with 2.0 so microsoft lunch 2.0 the default we expected 2.0 support as well. 

    So now is there any idea when can we get 2.0 version support or any way where we can expand 1.8 webserver to 2.0 compatible.


    Amit Patel

    Friday, September 12, 2014 6:01 AM
  • You can add new stream(source) types to the current implementation of BodyStreamHandler.cs and SensorStatusStreamHandler.cs

    To add more streams you could add them right there or you can use the extension mechanism outlined in this blog post. For binary streams (color, depth), people can follow the basic pattern we used in
    In v1.8, in particular the call to
    await this.ownerContext.SendTwoPartStreamMessageAsync(this.backgroundRemovalStreamMessage, this.backgroundRemovalStreamMessage.Buffer);

    in BackgroundRemovedFrameReadyAsync

    Carmine Sirignano - MSFT

    Friday, September 12, 2014 4:51 PM
  • Thanks for your response, so is this code changes required to run 1.8 web server to make it 2.0 compatible?

    Friday, September 19, 2014 3:43 PM
  • Basically, load the sample from the v1.8 toolkit and remove the reference to the Kinect v1 assemblies. Add the new references for the v2 SDK. At this point use the power of Visual Studio to find where all the Kinect specific api's are being used and start fixing the code. Where the code is broken, replace it with the Kinect v2 SDK programming model.

    To add new source types(BodyIndex) follow the recommendations as mentioned above.

    Carmine Sirignano - MSFT

    Friday, September 19, 2014 5:04 PM