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 7. NiTE and Skeleton Tracking

In this chapter, we will cover:

  • Detecting a user's pose
  • Getting a user's skeleton joints and displaying their position in the depth map
  • Designing a simple pong game using skeleton tracking

Introduction

The most important feature of NiTE is recognizing a user's skeleton structure and giving developers the approximate position of each joint. In this chapter, we are going to cover this topic in the first two recipes. Then we will show you how to use this data to create a simple, pong-like game.

The nite::UserTracker object

We already talked about nite::UserTracker in Chapter 5, NiTE and User Tracking. In this chapter, we will introduce some of the other methods of this class that are going to be used.

A list of the most ...

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