1 September 2011

Installing Kinect Windows 7 64-bit (using OpenNI and NITE)

The OpenNI organization is an industry-led, not-for-profit organization formed to certify and promote the compatibility and interoperability of Natural Interaction (NI) devices, applications and middleware. PrimeSense, the company behind Kinect, released OpenNI framework and NITE middleware. This means that we can now have access to features such as real-time skeleton tracking, gesture recognition, wave detection and much more!

The latest binaries and source codes can be downloaded from the OpenNI download website  -
1. Sources
2. Binaries
3. Avin Sensor Binaries (This can be downloaded form the git repository of avin2 project)

Download the following binaries and sources from the OpenNI site if you are using Windows 7 64-bit or download corresponding binaries for 32bit systems -
1. PrimeSense Sensor Module (stable / unstable) - (Filename : avin2-SensorKinect-<version>)
2. OpenNI binaries (stable / unstable) - (Filename: openni-win32-<version>)
3. OpenNI Compliant Middleware Binaries(NITE)  - (Filename: NITE-Win64-<version>)

Installation instructions -
Step 1: Disable User Access Control : http://windows.microsoft.com/en-US/windows-vista/Turn-User-Account-Control-on-or-off
Step 2: Uninstall everything, OpenNI, NITE, any Kinect Sensor Driver, Kinect Virtual Camera or any other driver related to Kinect.
Step 3: Install the downloaded OpenNI binary.
Step 4: Extract avin zip into a folder. Now go to avin extracted folder -> platform->win32->driver. Install the driver according to your system(32/64 bit). Now go the the avin extracted folder->Bin and install Sensor Kinect 32.
Step 5: Install downloaded NITE binary.Step 6: Hold "Win" key and press "R" button. Then type "Sysdm.cpl" and press enter.
Step 7: Go to advanced tab and click on "Environment Variables". From system variables select "Path" and         click "Edit". Then go to the end of the string at variable value field and add a ";" character and then your  "Kinect Sensor Driver" installation address plus "/Bin".
  And your Kinect Sensor Driver installation directory was, e.g. -
 "C:\Program Files (x86)\Prime Sense\Sensor"
 Click Ok and then Ok again. And again Ok.

Restart your PC.

After restarting your PC connect the kinect to any of the USB ports and wait for automatic installation to be complete. Three devices will be detected namely - Motor, Camera and Audio device.
Your installation is complete. Now try checking your installation by running NITE samples.

After this you have to write the licence information in the data xmls installed with the above setups. You can download the xmls from here and replace the default xml files in the Data folder of the the OpenNI and NITE package which are installed in Program Files folder by default.

Now your tools are ready to integrate with anything.

Other reference sites -
1. http://www.kinectdevs.com/forums/kinect-virtual-camera-kinect-webcam-f17/kinect-drivers-and-64bit-windows-t13.html
2. http://www.studentguru.gr/blogs/vangos/archive/2011/01/20/how-to-successfully-install-kinect-windows-openni-nite.aspx
3. http://code.google.com/p/vr-simon/wiki/InstallingKinect
4. http://www.kinecthacks.nl/kinect-tutorial-3-setting-up-openni-and-nite-on-windows-for-kinect/
5. http://www.codingbeta.com/?p=10

3 comments:

  1. Better try the single installer for all of the above installations as stated in my other page - http://varuagdiary.blogspot.com/2011/09/single-installer-for-openni-nite-and.html

    ReplyDelete
  2. very good tutorial that help me in the process of setup Kinect sensor on Windows. Also, I add a link to this tutorial into an article with many more tutorial related to Kinect sensor http://www.intorobotics.com/working-with-kinect-3d-sensor-in-robotics-setup-tutorials-applications/

    ReplyDelete
  3. thanks for the detailed info on setting up Kinect for Windows!

    ReplyDelete