Wednesday, March 27, 2013

Initializing Kinect

1. At Solution Explorer, righclick on the References, click Add References


2. Choice Browse Tab , search Microsoft.Kinect.dll in the C:\Program Files\Microsoft SDKs\Kinect\v1.5\Assemblies , and click OK



3. Type using Microsoft.Kinect; in the page *.xaml.cs (*name of your project)


4. Type KinectSensor kinect;  


5. Open your design page, *.xaml file

6. At the Properties, choice Event Tab, and double-click at Loaded

 

7. You wil go back to your coding page, and type kinect.Start();

8. To see if it is working properly, type as shown below
   

9. Press F5 to start debugging, if the kinect move, then thats worked well, that code is for set the tilt of kinect

No comments:

Post a Comment