Skip to content
 
 

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenRealSense

C# wrapper for the cross-platform camera capture for Intel® RealSense™ F200, R200, SR300 and LR200. See the original C++ project on https://github.com/IntelRealSense/librealsense

Nuget: Install-Package openrealsense

Usage:

var context = Context.Create(11100);
var device = context.GetDevice(0);

device.EnableStream(StreamType.depth, width, height, FormatType.z16, 30);
device.Start();

while (true) {
    device.WaitForFrames();
    var frameInBytes = device.GetFrameData(StreamType.depth).Bytes;
    using (var stream = new MemoryStream(frameInBytes)) {
        using (var reader = new BinaryReader(stream)) {
            //do something with the frame :)
        }
    }
}

About

.net wrapper for the librealsense

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages