MarcusKohnert / Kinect.Reactive

This project contains extension methods to ease the use of the Kinect SDK with the help of Rx.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kinect.Reactive

This project contains extension methods to ease the use of the Kinect SDK with the help of Rx.

KinectSensor kinect = ...
var mapper = new CoordinateMapper(kinect);
kinect.GetSkeletonFrameReadyObservable()
.Select(JointType.HandRight)
.Select(_ => _.Position)
.Subscribe(_ =>
{
var point = _.MapToColor(mapper);
Console.WriteLine(String.Format("x: {0} y: {1}", point.X, point.Y));
});

About

This project contains extension methods to ease the use of the Kinect SDK with the help of Rx.


Languages

Language:C# 100.0%