My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Links

Introduction

This 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.

News

For a detailed list of changes see the ChangeLog

  • Version 0.26
    • Added the autocalibration, now you can only enter the scene and get the skeleton data without the psi pose
    • Updated the examples to enable auto-calibration (User, User3d)
    • Unified the SimpleOpenNI distribution library, from now there is only one library distribution for OSX,Windows and Linux. Had to make this change because of the Processing 2.0 autoinstaller.
    • SimpleOpenNI tries on windows/linux to find automatically the valid architecture(32bit/64bit), depending on java machine you use. On OSX this works already through the universal libraries. SimpleOpenNI will print out which version it uses.
    • Updated the wiki-install doc(thanks to Bradley Henke)
  • Version 0.25
    • Fixed the bug which prevented the valid playback of a recorded file
    • Added new functions to control the playback if recorded files
    • Updated and extended the RecordPlayer example. Now you have a timeline and you can control some playstates with the keys
Older logs

Installation

http://code.google.com/p/simple-openni/wiki/Installation

Examples

This 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

Screenshots

Acknowledgments

This project was developed for a workshop at the Interaction Design Department Zurich / ZHDK

Powered by Google Project Hosting