Reactive extensions for Intel Realsense SDK (C#) for Windows
This repository just only README!! please wait my contribution.
There was only painfull way to use Intel RealSense SDK (C#) for Windows.
This module provides easier way to use RealSense SDK by the SharpSenses infrastructure and Rx syntax.
It supports hand tracking, gesture, custom poses, face expressions and much more.
T.B.D.
- RealSense SDK
- Intel 3D Camera Driver
- .NET Framework 4.5
- SharpSenses.RealSense
- Great works by Andre Carlucci for easier way to use RealSense SDK.
- Rx.NET
- Reactive Extensions for .NETFramwork (a.k.a.
Rx
). This module depends on Rx-Core module.
- Reactive Extensions for .NETFramwork (a.k.a.
ICamera cam = Camera.Create();
// hand event as observable
cam.RightHand.MoveAsObservable().Subscribe( (s,a) =>
{
Console.WriteLine("-> x:{0} y:{1}", a.Position.Image.X, a.Position.Image.Y);
});
// gesture as observable
cam.Gestures.SlideLeftAsObservable().Subscribe( (s, a) => Console.WriteLine("Swipe Left"));
// poses as observable
cam.Poses.PeaceAsObservable().Subscribe(
hand => Console.WriteLine("Make love, not war"),
ex => Console.WriteLine(""),
() => Console.WriteLine("Bye!"));
// facial expression as observable
cam.Face.FacialExpressionAsObservable().Subscribe( (s,e) =>
{
Console.WriteLine("FacialExpression: " + e.NewFacialExpression);
});
// face recognition
cam.Face.PersonRecognizedAsObservable().Subscribe( (s,a) =>
{
Console.WriteLine("Hello " + a.UserId);
});
// speech recognition
cam.Speech.SpeechRecognizeAsObservable().Subscribe( (s,a) =>
{
Console.WriteLine("-> " + a.Sentence);
});
// start sampling
cam.Start();
Install from Nuget Gallery
PM> Install-Package RsRx