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

Looking inside the Kinect SDK

The Kinect SDK provides both managed and unmanaged libraries. If you are developing an application using either C# or VB.NET, you can directly invoke the .NET Kinect Runtime APIs; and for C++ applications, you have to interact with the Native Kinect Runtime APIs. Both the types of APIs can talk to the Kinect drivers that are installed as a part of SDK installation.

Note

The unmanaged and managed libraries provide access to the same set of Kinect sensor features.

For managed code, the Kinect for Windows SDK provides Dynamic Link Library (DLL) as an assembly (Microsoft.Kinect.dll), which can be added to any application that wants to use the Kinect device. You can find this assembly in the SDK installation directory, as shown in the next screenshot:

Looking inside the Kinect SDK

The Kinect driver can control the camera, depth sensor, audio microphone array, and the motor. Data passes between the sensor and the application in the form of data streams of the following types:

  • Color data stream
  • Depth data stream
  • Audio data stream

Note

The Kinect for Windows SDK is capable of capturing Infrared data stream as a part of color data stream channel as well as can read the sensor accelerometer data.

The next diagram illustrates the overall layered components for the Kinect SDK, and it shows how an application interacts with different layers of components:

Looking inside the Kinect SDK