OpenNI SDK 2.0.0 Released



OpenNI SDK



is a development framework to control 3D natural interactions (NI) sensors (depth sensors) like Microsoft Kinect or ASUS Xtion. OpenNI SDK is available for Windows (32/64-bit) and for Linux (32/64-bit). The OSX version is not yet available.

OpenNI SDK



The OpenNI 2.0.0 SDK comes with the following changes:

  • Brand new API (see documentation)
  • Algorithms API were removed, and are now part of middleware libraries (such as NiTE)
  • New deployment model – private copy to each application (see documentation)
  • Added support for turning off Auto Exposure and Auto White Balance of the color CMOS in PS1080 devices
  • Built-in support for Kinect devices via the Kinect SDK (Windows only)
  • Added support for translating a depth pixel to color map coordinates



You can download the OpenNI SDK from this page.

The official press release can be found HERE.

ASUS Xtion motion sensor
ASUS Xtion motion sensor can be used with OpenNI



Here is a code snippet that shows the basic use of OpenNI (this code comes from the SimpleViewer sample):

int main(int argc, char** argv)
{
  openni::Status rc = openni::STATUS_OK;

  openni::Device device;
  openni::VideoStream depth, color;
  const char* deviceURI = openni::ANY_DEVICE;
  if (argc > 1)
    deviceURI = argv[1];
  
  openni::OpenNI::initialize();
  device.open(deviceURI);
  depth.create(device, openni::SENSOR_DEPTH);
  depth.start();
  color.create(device, openni::SENSOR_COLOR);
  color.start();

  SampleViewer sampleViewer("Simple Viewer", device, depth, color);
  sampleViewer.init(argc, argv);
  sampleViewer.run();
}




[ Subscribe to Geeks3D latest news by email ]

Geeks3D.com

↑ Grab this Headline Animator