|
Project Information
Members
Featured
Downloads
Links
|
IntroductionThis project is a simple OpenNI and NITE wrapper for Processing. Therefore not all functions of OpenNI are supported, it's meant more to deliver a simple access to the functionality of this library. NewsFor a detailed list of changes see the ChangeLog
Older logs Installationhttp://code.google.com/p/simple-openni/wiki/Installation ExamplesThis examples shows, how to display the depthMap and the camera: import SimpleOpenNI.*;
SimpleOpenNI context;
void setup()
{
context = new SimpleOpenNI(this);
// enable depthMap generation
context.enableDepth();
// enable camera image generation
context.enableRGB();
background(200,0,0);
size(context.depthWidth() + context.rgbWidth() + 10, context.rgbHeight());
}
void draw()
{
// update the cam
context.update();
// draw depthImageMap
image(context.depthImage(),0,0);
// draw camera
image(context.rgbImage(),context.depthWidth() + 10,0);
}http://code.google.com/p/simple-openni/wiki/Examples ScreenshotsAcknowledgmentsThis project was developed for a workshop at the Interaction Design Department Zurich / ZHDK |







