![]() ![]() ![]() Private void SensorChooserOnKinectChanged( object sender, KinectChangedEventArgs args)Ī = DepthRange.Default Ī = false Ĭatch (InvalidOperationException inEX) Private void Window_Loaded( object sender, RoutedEventArgs e) Private KinectSensorChooser sensorChooser / public partial class MainWindow : Window / /// Interaction logic for MainWindow.xaml Now change the “SensorChooserOnKinectChanged” event by the following code. As shown below (you can find these dll’s in the source code of this article.) Kinect is initializing (you can see the status by hovering on it)Ĭopy these “KinectInteraction180_32.dll, KinectInteraction180_64.dll” dll’s on the output directory of your project. Plugged, unplugged, powered.Īnd a label control to display the Kinect status change. Kinect for Windows Developer Toolkit ()Ĭreate a WPF Application project WPFKinect18 using visual studio 2012.Īdd the following references:From the C:\Program Files\Microsoft SDKs\Kinect\v1.8\Assemblies\ folder, add .įrom the C:\Program Files\Microsoft SDKs\Kinect\Developer Toolkit v1.8.0\Assemblies\ folder, add, and Īdd the KinectSensorChooserUI to the MainWindow to get the Status of the Kinect sensor.I am going to use the kinect sdk 1.8 and a WPF project using visual studio. The article will give you a getting started with kinect for windows sensor SDK 1.8 and how the kinect for interaction works. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |