Overview of programming with the Microsoft Kinect depth camera.


Installing the Microsoft Kinect SDK

  1. Download the Microsoft Kinect SDK
  2. Run the setup; it installs development libraries, source code examples, and documentation.
  3. 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

  1. Getting started with Kinect programming: setup up Kinect sensor, read skeleton joint data, calculate distance, etc.
  2. Kinect development starting point
  3. Kinect painting application

Kinect Tutorial 2 (November 7th): ORIENTATION AND GESTURES

  1. Getting information about the body orientation and use swiping hand gestures
  2. Development starting point:
  3. Kinect painting application with gesture recognition and body orientation:

Old setup instructions - Option 1:
Download and Installation (depth sensing only)

  1. Download the CL NUI Platform Installer. This installer includes a C#/WPF Visual Studio example project.
  2. Run the setup; confirm any dialogs that show up
  3. Connect the USB cable of the Kinect, and plug in the power cord
  4. Run "CLNUIDeviceTest" from the group "CL NUI Platform" in the start menu
  5. 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)

  1. Uninstall ALL previous drivers for the Kinect, such as the CL NUI Platform installer
  2. Download the latest unstable OpenNI package (Windows, 32-bit).
  3. Run the OpenNI setup you just downloaded.
  4. Download Sensor driver (click on 'Download' at the right side of the page to download the ZIP file)
  5. 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)
  6. Download the unstable NITE package
  7. Run the NITE setup:
    • Use this license when asked during the installation:
    • 0KOIk2JeIBYClPWVnMoRKn5cdY4=

Testing Kinect + OpenNI

  1. Run examples in the following folder: C:\Program Files\OpenNI\Samples\Bin\Release
  2. Test #1: Run the NiViewer.exe sample to make sure depth and image streams are working.
  3. Test #2: Run the NiUserTracker.exe for skeleton tracking . Don't forget to start with the calibration pose (psi)!