Kinect.ReactiveV2 for the Kinect for Windows v2
- Posted: Apr 22, 2014 at 6:00 AM
- 10,543 Views
This week is going to be a v2 theme week, with Friend of the Gallery, Marcus Kohnert kicking it off, showing off his Rx skills with the Kinect.
Other times he's been featured;
A few weeks ago I was finally able to get my hands on to the new Kinect for Windows V2 SDK. There are a few API changes compared to V1. So I started to port Kinect.Reactive to the new Kinect for Windows Dev Preview SDK and Kinect.ReactiveV2 was born.
Kinect.ReactiveV2 is, as it’s older brother, a project that contains a bunch of extension methods that should ease the development with the Kinect for Windows SDK. The project uses the ReactiveExtensions (an open source framework built by Microsoft) to transform the various Kinect reader events into IObservable<T> sequences. This transformation enables you to use Linq style query operators on those events.
Here is an example of how to use the BodyIndexFrame data as an observable sequence.
You’ll also get an extension method called SceneChanges() on every KinectSensor instance which notifies all it’s subscribers whenever a person entered or left a scene.
Please be aware that “This is preliminary software and/or hardware and APIs are preliminary and subject to change”.
Project Information URL: http://passiondev.wordpress.com/2014/04/07/kinect-reactivev2-rx-ing-the-kinect-for-windows-sdk/
Project Download URL: https://www.nuget.org/packages/Kinect.ReactiveV2/
Project Source URL: https://github.com/MarcusKohnert/Kinect.ReactiveV2