Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fumito-ito/rsrx
Reactive extensions for Intel Realsense SDK (C#) for Windows
https://github.com/fumito-ito/rsrx
Last synced: 29 days ago
JSON representation
Reactive extensions for Intel Realsense SDK (C#) for Windows
- Host: GitHub
- URL: https://github.com/fumito-ito/rsrx
- Owner: fumito-ito
- License: mit
- Created: 2015-04-20T03:00:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-17T13:46:29.000Z (over 9 years ago)
- Last Synced: 2024-10-16T06:19:02.746Z (3 months ago)
- Language: C#
- Size: 637 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RsRx
Reactive extensions for Intel Realsense SDK (C#) for Windows
**This repository just only README!! please wait my contribution.**
## Description
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](https://github.com/SharpSenses) infrastructure and [Rx](https://rx.codeplex.com/) syntax.It supports hand tracking, gesture, custom poses, face expressions and much more.
## Demo
T.B.D.
## Requirement
- RealSense SDK
- Intel 3D Camera Driver
- .NET Framework 4.5## Dependency
- [SharpSenses.RealSense](https://github.com/SharpSenses/SharpSenses)
- Great works by [Andre Carlucci](https://github.com/andrecarlucci) for easier way to use RealSense SDK.
- [Rx.NET](https://github.com/Reactive-Extensions/Rx.NET)
- Reactive Extensions for .NETFramwork (a.k.a. `Rx`). This module depends on [Rx-Core](https://www.nuget.org/packages/Rx-Core/) module.## Usage
```cs
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
Install from [Nuget Gallery](https://www.nuget.org/packages/RsRx/)
```
PM> Install-Package RsRx
```## LICENSE
[The MIT License](https://github.com/fumitoito/RsRx/blob/master/LICENSE)
## Author
[fumitoito](https://github.com/fumitoito)