Kinect for Windows SDK Programming Guide
上QQ阅读APP看书,第一时间看更新

Chapter 3. Starting to Build Kinect Applications

Let's begin our journey towards developing our first application with Kinect. For the development of every Kinect application, there are certain common operations we need to perform, listed as follows:

  • The application must detect the connected Kinect device and needs to start it.
  • Once the sensor is started, the application has to initialize and subscribe the type of data required from the sensor.
  • During the overall execution cycle of an application, a sensor can change its state. The application must monitor the changes in the state for the connected device and handle them appropriately.
  • When the application quits/ends, it should shut down the device properly.

This chapter will cover the basic understanding of the Kinect SDK APIs and the development of applications with the Kinect SDK. We will discuss in a step-by-step manner the development of the applications in this chapter so that it helps you in upcoming chapters. The following is an overview of various aspects we'll be covering in this chapter:

  • Getting familiar with the application's interaction with the Kinect device
  • Understanding the classification of APIs based on the Kinect SDK libraries used
  • Building a Kinect Info Box application by reading sensor information
  • Using Kinect libraries in your application
  • Exploring SDK libraries that read device information
  • Different ways to examine whether Kinect devices are correctly connected and installed and are in working condition
  • Building a KinectStatusNotifier application to notify the sensor state change in the system tray