The 1.7 SDK was released this March, and the biggest change in this version of the SDK was the addition of the Kinect Interactions and Kinect Fusion. The Kinect Interactions offers a number of new, posture-aware controls such as push-to-press buttons, Grip-to-pan list controls, and support for multiple users, with two of people interacting, and these newly added controls can be easily integrated into the application. Greatly simplifies the development and debugging process.
The second feature added to the 1.7 SDK is the Kinect Fusion, mentioned last year at build 2012, which enables us to quickly create 3D models of objects that can be used in 3D printing, modeling, industrial design, and virtual reality.
In the Kinect Developer Toolkit, a demo of CONTROLBASIC-WPF, Kinect interactions and Kinect fusion is provided, with the latter two demos demanding a higher screen resolution and graphics card for the computer , running the Kinect interactions requires 1920*1080 resolution, and Kinect fusion requires a good GPU for real-time rendering.
For these reasons, this article presents a brief overview of the new controls and interactions provided in the Kinect interactions.
An establishment of the necessary environment
Before you create a project, you need to download the latest 1.7 SDK and developer Toolkit on the official web. First, open Visual Studio to create a simple WPF desktop application, and then add Microsoft.Kinect.dll, Kinect.Toolkit.dll, Kinect.Toolkit.Controls.dll and Kinect.Toolkit.Interaction.dll references, these DLLs are generally in the installation directory, my machine is C:\Program Files\Microsoft SDKs \kinect\ below.
Initializing the Kinect sensor with the Kinectsensorchooser control
Under the Microsoft.Kinect.Toolkit.Controls namespace, the first control used might be Kinectsensorchooserui, which indicates the current Kinect's working status, prompting the user that the Kinect sensor works properly, such as whether it is disconnected or Plugged into the wrong USB connector and so on.
To add this control, first in the main form, add the following namespaces:
xmlns:k= "http://schemas.microsoft.com/kinect/2013"