Kinect working in Linux:

Installing Kinect on Ubuntu/Debian based Linux: (I used Mint Linux 9)

Note most of this info came from this website:
http://www.keyboardmods.com/2010/12/howto-kinect-openninite-skeleton.html

Feel free to Modify the attached scripts at the bottom of the page for your own use.

Make a Directory under your Home folder for Kinect files:
mkdir ~/kinect && cd /kinect

Dependecies:
1) GCC 4.x
2) Python 2.6/2.7/3.0/3.1
3) libusb 1.0.8 (libusb-1.0-0-dev)
4) freeglut3 (freeglut3-dev)
5) Doxygen & GraphViz (to create docs...)
6) OpenNI 1.x

You can just run the script and if you are missing any dependencies the console should tell you how to apt-get them.

I only had to install Doxygen to get it to work.

Run this script to install Kinect:
(This includes the Kinect driver and OpenNI framework)
sudo bash ./MS Kinect setup script.sh

PrimeSense License Key:
0KOIk2JeIBYClPWVnMoRKn5cdY4=

Download the PrimeSense (NITE Middleware SDK)
I used the 32-bit version
(The Official Site downloads seem to be broken at http://www.primesense.com/?p=515)

Try:
https://dl.dropbox.com/u/11217419/NITE-Bin-Ubuntu-x86-1.3.0.17.tar.bz2

Run NITE SDK install.sh to install the NITE SDK
sudo bash ./NITE SDK install.sh

Modify XML files: (the NITE SDK install.sh open the xml file to modify manually)
In this directory ~/kinect/NITE/Nite-1.3.0.17/Data
Add the PrimeSense Licence Key <License vendor="PrimeSense" key="0KOIk2JeIBYClPWVnMoRKn5cdY4="/>
Change the camera Resolution to 640 x 480 <MapOutputMode xRes="640" yRes="480" FPS="30"/>

Sample-User.xml
Sample-Scene.xml
Sample-Tracking.xml

Run to try samples:
bash ./Samples for Kinect.sh

Get Kinect calibrated:
Wave hand slowly or
Do pose: put arms out (left and right) and bend arms 90 degress up and wait for calibration (10 secs or so)

Cheers!

Č
ċ
ď
MSKinectsetupscript.sh
(0k)
Jeff L,
Jan 23, 2011 12:03 PM
ċ
ď
NITESDKinstall.sh
(1k)
Jeff L,
Jan 23, 2011 12:03 PM
ċ
ď
SamplesforKinect.sh
(0k)
Jeff L,
Jan 23, 2011 12:03 PM