This project is read-only.

What can I do with those controls?

KinectTiltControl - provides visual component (a slidebar) to set current tilt of the Kinect sensor attached. It synchronizes with sensor hardware in both directions (reading current value on sensor attachment). Control can handle dynamic sensor change during runtime.

KinectFilteringParamsControl - provides visual component to configure tracking parameters of the skeleton tracking mechanism embedded in the Kinect SDK. This include all the parameters specified by the Kinect SDK (based on Kinect SDK v.1.8): http://msdn.microsoft.com/en-us/library/jj131024.aspx . It also supports serialization and deserialization of those parameters to the XML file, to simplify experiment management.

Each control is bound to the KinectSensor instance thus you can use more than one to manage multiple Kinects independently.

The control disables and enables automatically - based on existence of the active Kinect sensor attached.

 

Install and using guide.

Starting Kinect development with those controls is pretty simple:

  1. Download latest DLL
  2. Reference in your project
  3. Add namespace to your xaml window / control: 
    xmlns:uc="clr-namespace:WpfKinectUserControls;assembly=WpfKinectUserControls"
  4. Instantiate control in XAML (if you're using more than one Kinect in your project, there is no problem - put as many as you need).
  5. Configure controls - actually the only required parameters in case of the KinectTiltControl control is 
    CurrentKinectSensor="{Binding Path=Kinect}"
    bind it to your KinectSensor property.
    • in case of the KinectFilteringParamsControl there are five more properties you may want to set to provide default values to the control.

 The SOURCE CODE section provides sample solution. 

 

Last edited May 31, 2014 at 11:39 AM by pczekalski, version 3