Kinect, OpenNI, NiTE and Nuimotion Setup for OSX


Messing around with a Kinect, OpenNI, NiTE led me to a node.js app called Nuimotion.

In an effort to document successful install of all the required packages I created these instructions.

– Installation notes for OSX Mavericks.
NOTE: All code is installed to ~/Developer/Work

Install Updates

– Update system, run App Store, Updates

– Run Xcode and agree to terms and finish installation:

Install brew

– Install Homebrew:

NOTE: This will likely prompt for root password and install command line developer tools.

– Update and check brew:

NOTE: Tested with brew version 0.9.5

Install freenect from github

– Install dependencies:

– Clone libfreenect:

NOTE: Tested with libfreenect stable release v0.3.0

– Build and install:

– Test with glview:

– Reference:

Install node.js

– Install node.js:

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 .bash_profile:

– Logout and log back in to use changes made to .bash_profile.

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:

Comments are closed.