I have written a rich Max Jitter external called jit.openni which allows usage of sensors like the Microsoft Kinect and ASUS X-tion PRO in your patchers. It exposes almost all the functionality from sensors like the Kinect in an easy to use native Max Jitter external for Windows computers. It has support for:
- Configuration of OpenNI by an OpenNI XML configuration file; see OpenNI documentation for format (an example is provided in the install)
- ImageMap of RGB24 output in a 4-plane char jitter matrix
- DepthMap output in a 1-plan long, float32, or float64 jitter matrix
- IrMap output in a 1-plan long, float32, or float64 jitter matrix
- UserPixelMap output in a 1-plan long, float32, or float64 jitter matrix
- User events (e.g. user seen, user lost, etc.)
- Center of mass for identified users
- Floor identification
- Skeleton joints with optional orientations
- User events, center of mass, and skeleton joints in an native OSC format, max route friendly format, OSCeleton legacy format (as of 2011-07-25 OSCeleton codebase)
- Attributes to filtering data based on position or orientation confidence, display or not the orientation data, and smooth skeleton data using OpenNI’s smoothing API
- Camera field of view
Full wiki documentation and installation instructions are available on GitHub. Or jump straight to the download.