Skip to content

wearenocomputer/ofxNCKinect

Repository files navigation

ofxNCKinect

KINECT IS ALIVE!

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.

Installation

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:

EXAMPLES

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.

About

Kinectv2 addon for openFrameworks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages