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 3. Using Low-level Data

In this chapter, we will cover the following recipes:

  • Configuring Visual Studio 2010 to use OpenGL
  • Initializing and preparing OpenGL
  • Reading and showing a frame from the image sensor (color/IR)
  • Reading and showing a frame from the depth sensor
  • Controlling the player when opening a device from file
  • Recording streams to file (ONI file)
  • Event-based reading of data

Introduction

In the previous chapter, we learned how to initialize sensors and configure their output in the way we want. In this chapter, we will introduce ways to read this data and show it to the user.

This chapter is not about advanced or high-level (middleware) outputs. For now, we are going to talk only about native OpenNI outputs: color, IR, and depth.

But before ...

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