Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 2.04 KB

README.md

File metadata and controls

40 lines (28 loc) · 2.04 KB

ofxKinectV2-OSC

Easily get the Kinect V2 sensor's realtime skeleton data into openFrameworks on a Mac.

A Kinect V2 sensor

If you are used to using openFrameworks on a Mac, and all you want is skeletal data, this addon is for you.

You still need Windows

For the foreseeable future, the Kinect V2 sensor runs only on Windows using a USB3 port. There's no way around that, but what you can do is have a small, simple program on your Windows computer, which broadcasts to a Mac.

Then you can just leave Windows running and get back to doing the rest of your coding on a Mac. The Windows and Mac computers will of course have to be on the same network.

Instructions

  • On your Windows machine, download and run KinectV2-OSC.exe (based on this repo)
  • Edit the file ip.txt to specify the IP addresses you want to broadcast to (or ignore this step if you are broadcasting back to the same machine on 127.0.0.1 which is the default)
  • That will broadcast the Kinect's skeletal data across the network from Windows
  • Over on your Mac, clone and run ofxKinectV2-OSC (this repo)
  • Once you fire up the example, you should see a skeleton that looks a bit like you!

Screenshots

This is what you'll see on your Windows machine:

KinectV2-OSC running on Windows

This is what you'll see on your Mac:

ofxKinectV2-OSC running on Mac

See the red and green hands? That's showing detection of open or closed hand states.

And the thin lines on the legs? That's where the bones are inferred (low confidence).

Project dependencies