Kinect, OpenNI, NiTE and Nuimotion Setup for Ubuntu


This is a follow up to my setup notes for OS X, here are my notes to setup Kinect, OpenNI, NiTE and Nuimotion on Ubuntu Desktop LTS 12.04 Precise.

– Installation notes for Ubuntu Desktop LTS 12.04 Precise.
NOTE: All code is installed to ~/Developer/Work

Install Updates

– Update system:

Install freenect from github

– Install dependencies:

– Clone libfreenect:

NOTE: Tested with libfreenect stable release v0.3.0

– Build and install:

– Add to library path:

– Test with glview:

– Reference:

Install node.js

– Install node.js from source, this will take 10 min:

NOTE: Tested with node.js v0.10.23

Install OpenNI and NiTE

– Download OpenNI from:

– Uncompress OpenNI and move:

– Download NiTE from:

– Uncompress NiTE and move:

– Copy to OpenNI2 directory:

– Copy all libraries to /usr/local/lib

– Add to library path:

– Add OpenNI and NiTE to .bashrc:

– Logout and log back in to include changes made to .bashrc.

Install Nuimotion and Websocket

– Make project directory:

– Copy Redist files to the root of the app:

– Install websocket:

– Install node-gyp:

– Create prototype-nuimotion and download the nuimotion project to the node_modules directory:

– Rebuild:

– Edit index.js to fix require, remove src prefix in first line:

– Copy basicquickstart.js and run:

– Reference:

Is the hardware being detected?

– Run lsusb:

– Should result in:

Comments are closed.