Skip to content

fusefactory/ofxDepthStreamKinect

Repository files navigation

ofxDepthStreamKinect

OpenFrameworks addon to send data from kinect over the network.

Compatibility

This addons is compatible with the following kinect:

OS Sender Receiver
Windows 10 Yes Yes
Mac OS No Yes

The sender binary (java) for KinectV2 is available on here.

Protocol

A communication tcp/ip is established from the server and the client. A single message has the following data:

alt text

Header: int value of N, number of bytes of the message Message: byte array of data compressed.

The steps to get the single message are:

  1. retrive data from the kinect
  2. put data on byte array (1 or 2 bytes per pixel)
  3. compress data using zlib
  4. retrive compressed data size
  5. Send raw bytes. First 4 bytes (int) are the size of the message.

Every new frame a message is send.

Preprocessor Macro

Add ofxDepthStreamKinectReceiver to the preprocessor to enable opencv dependancies.

#define ofxDepthStreamKinectReceiver

Visual Studio > Properties > Configuration Properties > C/C++ > Preprocessor > Preprocessor Definitions

Examples

kinectAzureSender

Using ofxAzureKinect retrive depth data of AzureKinect and it starts a server stream.

Jetson Nano

This addons works with Jetson Nano.

kinectReceiver

Generic stream receiver for kinect (Kinect V2 and KinectAzure) depth map data.

About

Addons for openframeworks to send and receive kinect (v2 and azure) signal through the network.

Resources

License

Stars

Watchers

Forks

Packages

No packages published