Implementation of Kinect For Windows v2 API using COM (not KinectCommonBridge)
The current version is designed for oF 0.9.0. If you are working with 0.8.4 or earlier, please use the previous version : https://github.com/elliotwoods/ofxKinectForWindows2/tree/0.8.4
The Kinect 2 SDK requires an x64 platform target. If you're receiving linker errors regarding _GetDefaultKinectSensor, please ensure that your platform is set to x64
and not Win32
.
Currently lets you:
- Grab all the image streams (color, depth, IR, long exposure IR, body index)
- Generate a 3D ofMesh (point cloud or stitched mesh) with texture coordinates
- Track bodies (skeleton points, bone maps)
- Transfer coordinates
Currently doesn't support:
- Audio
- Some remapping functions
MIT License http://en.wikipedia.org/wiki/MIT_License
- Add the ofxKinectForWindows2Lib.vcxproj to your solution
- In
Property Manager
, right click on your project to selectAdd Existing Property Sheet...
and select theofxKinectForWindows2.props
file - Right click on your project (e.g. 'mySketch') and select 'Add Reference...', and add a reference to
ofxKinectForWindows2Lib
.
- The depth image comes in as RAW (i'm not rescaling it), so it may appear dark. Look closely :)
- This addon does not ship with any libraries, it'll look locally on your system for them (and hence should work with VS2012, VS2013, etc)
- You'll need to get a copy of the Kinect v2 SDK (i'm testing with v1404 April release)
- Make sure you're compiling for x64. See note in Warning regarding linker error.