In this recipe, we are going to cover one of the most basic features of NiTE—recognizing users in the scene based on the depth sensor's data.
Our main goal in this recipe is to present the
nite::UserTrackerFrameRef objects and to show you a basic way to retrieve and use them.
Create a project in Visual Studio and prepare it for working with OpenNI and NiTE using the Create a project in Visual Studio 2010 recipe in Chapter 2, OpenNI and C++.
HandleStatus()functions from previous recipes next to the preceding line.