← Back

ofxDepthStreamKinect

github.com/fusefactory/ofxDepthStreamKinect · @fusefactory
OF 0.11 Releases Depth Sensing Video/Camera Web/Networking

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

2 0 Last commit 4y ago Created 6y ago

Branches ahead of master

These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.

topic/hand_interaction 6 commits ahead · last commit 4y ago
topic/ofxVideoRecorder 1 commit ahead · last commit 5y ago
sal 2 commits ahead · last commit 5y ago
sal-edit 1 commit ahead · last commit 5y ago
topic/16bit 1 commit ahead · last commit 6y ago
topic/multi-kinect 1 commit ahead · last commit 6y ago

README

ofxDepthStreamKinect



OpenFrameworks addon to send data from kinect over the network.

Compatibility



This addons is compatible with the following kinect:



OSSenderReceiver
Windows 10YesYes
Mac OSNoYes
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.

``c++

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.

Get this addon

HTTPS
SSH

Latest release

kinectAzureSender-0.2.0 KinectAzureSender-0.2.0 published 5y ago