Skip to content
Kinectv2 addon for openFrameworks
C++ Other
  1. C++ 99.7%
  2. Other 0.3%
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
example Update addons.make Apr 9, 2019
exampleGestures Update addons.make Apr 9, 2019
exampleTcpReceiver Update addons.make Apr 9, 2019
exampleTcpSender Update addons.make Apr 9, 2019
exampleTriangulator Update addons.make Apr 9, 2019
images update readme Mar 20, 2019
libs Initial commit Mar 18, 2019
src comment define gestures Mar 18, 2019
.gitattributes Initial commit Mar 18, 2019
LICENSE Update Mar 20, 2019



After we heard the news Microsoft is reviving the Kinect we decided to upload our openFrameworks KinectV2 library.

This code is a collection of stuff we have been using for the last few years. Speed comes first, so we tried to create code that let's us choose what features we would need for a project (color vs no color, only 2d vs 3d tracking, etc...). It includes stuff like user management, 2d and 3d scene management, sending data over the network, pointcloud triangulation, gesture detection, area management, etc...

It is no way an official API, so use it at your own risk.


This code only works on Windows 10/64 bit systems.

  1. Install openFrameworks:
  • OF 0.10.1 use the master branch of this repo
  • OF 0.9.8 use the of_0_9_8 branch of this repo
  1. Required addons:
  • ofxGui
  • ofxOpenCV
  1. Install the KinectV2 sdk:

To compile the examples use the openFrameworks project generator and the Kinect64.props file to set the paths to the Kinect SDK. Build for 64 bit.

Use the Property Manager in Visual Studio to add the Kinect64.props file.

Standing on the shoulders of giants

Love to the openFrameworks community!

In this repo we have used code from:


Basic Example

example This is a basic example combining color, 2d and 3d Kinect data.

Gestures Example

example Using custom trained gestures. This example loads in a gbd file, in this case trained for the famous Crane Karate Kid Kick, and shows how to handle incoming data.

When using gestures make sure to:

  1. #define GESTURES in the file ncKinectv2Core.h
  2. copy the Kinect20.VisualGestureBuilder.dll file in the bin folder (see lib folder)

TCP Sender/Receiver Example

example You can use multiple senders to send Kinect data over the network to the Kinect Receiver.

We support sending:

  • Pointcloud
  • Floorplane
  • Skeleton data

Triangulator Example

example Example on how to create a mesh from user point cloud data in real time.

You can’t perform that action at this time.