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

In this chapter, we will cover:

  • Recognizing predefined hand gestures
  • Tracking hands
  • Finding the related user ID for each hand ID
  • Event-based reading of hands' data
  • The working sample for controlling the mouse by hand

Introduction

In this chapter, we are going to cover every topic related to hand tracking in NiTE, from finding hand gestures to tracking hand movements and finding which hand belongs to which user.

Unfortunately, the new version of NITE does not have some commands, such as the hand swipe, from the old API.

The nite::HandTracker object

Just as with nite::UserTracker, which is responsible for giving us information about users, nite::HandTracker is responsible for giving us information about hand tracking and ...

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