O'Reilly logo

OpenNI Cookbook by Soroush Falahati

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. OpenNI and C++

In this chapter, we will cover:

  • Creating a project in Visual Studio 2010
  • OpenNI class and error handling
  • Enumerating a list of connected devices
  • Accessing video streams (depth/IR/RGB) and configuring them
  • Retrieving a list of supported video modes for depth stream
  • Selecting a specific device for accessing depth stream
  • Listening to the device connect and disconnect events
  • Opening an already recorded file (ONI file) instead of a device

Introduction

In this chapter, we will introduce primary datatypes of the OpenNI and the NiTE along with some basic information about how to access and select a data stream. Then we will try to show you some examples of events triggered by devices such as connecting or disconnecting an OpenNI supported ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required