ofxOpenNI examples
The addon includes a number of examples, exploring basic depth camera and OpenNI capabilities. The examples are short, self-explanatory, and well commented. There are three groups of examples: working with depth images, tracking hands, and tracking users. Let's discuss them.
Tip
Currently, the ofxOpenNI addon holds examples in an "almost ready form". You need to construct the desired example by copying the source files and libraries in one folder. It's not very comfortable but is quite simple. Please see the Drivers & getting the examples to work section of the README
file inside the addon's folder for details.
When you compile an ofxOpenNI example under Mac OS X for the first time, you can get the following compiler error:
The specified SDK "Current OS X" does not appear to have all of the necessary headers installed...
To fix the error, you need to install the Command Line Tools
package in Xcode. Namely, go to the Xcode menu, click on Preferences..., and go to the Downloads...