Kinect

Overview of programming with the Microsoft Kinect depth camera.
Contents
Installing the Microsoft Kinect SDK
- Download the Microsoft Kinect SDK
- Run the setup; it installs development libraries, source code examples, and documentation.
- Plug-in the Kinect into a USP port of the PC, and wait until all Kinect drivers are successfully installed
CPSC 581 Tutorials
Kinect Tutorial 1 (November 5th): GETTING STARTED
- Getting started with Kinect programming: setup up Kinect sensor, read skeleton joint data, calculate distance, etc.
- Kinect development starting point
- Download: KinectStartingPoint source code, ZIP
- Kinect painting application
- Download: KinectPaint source code, ZIP
Kinect Tutorial 2 (November 7th): ORIENTATION AND GESTURES
- Getting information about the body orientation and use swiping hand gestures
- Development starting point:
- Kinect painting application with gesture recognition and body orientation:
- Download: KinectGestures source code, ZIP
Links
- Download of C#/WPF drivers and source code
- NUI group forum about the C#/WPF code
- libfreenect (the first available driver for accessing the Kinect)
Interesting projects using the Kinect
- Reconstructing 3D scene (source code)
- Florian Echtler's TISCH framework now supports Kinect (video)
- Laser tracking projection with Kinect and OpenCV
- Kinect Hack Videos on Youtube
- Hand detection Source code available
- Kinect+Wiimote == virtual conferencing
Libraries and open source
Old setup instructions - Option 1:
Download and Installation (depth sensing only)
- Download the CL NUI Platform Installer. This installer includes a C#/WPF Visual Studio example project.
- Run the setup; confirm any dialogs that show up
- Connect the USB cable of the Kinect, and plug in the power cord
- Run "CLNUIDeviceTest" from the group "CL NUI Platform" in the start menu
- Done. You should now see the camera image and depth image from the Kinect
Old setup instructions - Option 2:
Download and Installation (skeleton tracking and gestures)
- Uninstall ALL previous drivers for the Kinect, such as the CL NUI Platform installer
- Download the latest unstable OpenNI package (Windows, 32-bit).
- Run the OpenNI setup you just downloaded.
- Download Sensor driver (click on 'Download' at the right side of the page to download the ZIP file)
- Run the setup executable that is in the BIN directory of that package (e.g., "SensorKinect-Win32-5.0.0.exe"; but the version number might be different)
- Download the unstable NITE package
- Run the NITE setup:
- Use this license when asked during the installation:
- 0KOIk2JeIBYClPWVnMoRKn5cdY4=
Testing Kinect + OpenNI
- Run examples in the following folder: C:\Program Files\OpenNI\Samples\Bin\Release
- Test #1: Run the NiViewer.exe sample to make sure depth and image streams are working.
- Test #2: Run the NiUserTracker.exe for skeleton tracking . Don't forget to start with the calibration pose (psi)!