So you want a Kinect?
First of all, the Kinect is really just a slick package of sensors all set up for you. When you aren't using it with an XBox you are simply turning on the different sensors and accessing the data they collect. A Kinect breaks down like this.
Many people don't realize that the Kinect has both an IR Camera and a regular RGB Camera which can be accessed and used simultaneously. Here is a very in depth paper on how they can be used together to recognize an open and closed hand.
There are many different Kinect tutorials out there but it seems like you really need to pick and choose which parts to follow. Mac and Windows set ups are very different so we will focus on Mac, because if you have Windows you can just get the official Microsoft SDK which will give you access to a lot of great stuff. On a Mac the setup can be a little frustrating so hopefully this guide will get you started having fun with your Kinect as soon as possible.
Now it can be tempting to just find an installation guide and follow it as soon as possible but even doing a quick search will show you that there are a lot of different instructions. So here I have compiled a set of the easiest by far. Again this is for Mac users only, I have never setup a Kinect on a PC or Linux.
- Xcode (with Command Line Tools)
After downloading Xcode, open it and go to Xcode -> Preferences -> Downloads. Select Command Line Tools and Press Install
To install open up Terminal, paste this code in, and hit Enter.
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
Install by opening terminal and entering
brew install git
Install in terminal by entering
brew install cmake
Download SimpleOpenNI Installer.
- Open Terminal
- cd to installer folder
- Run Installer
Lastly, download the SimpleOpenNI Processing library and unzip it into your Documents/Processing/libraries folder. If you don't have one just create one, but it must be called "libraries".
Good to go!!!!!
OpenKinect is a very simple library based on the libfreenect open source Kinect library supported by www.OpenKinect.org. It gives you simple access to the Kinect's cameras, led, motor. However, it does not support Skeleton Tracking and Gesture Recognition.
SimpleOpenNI is a "Natural Interaction" library for Processing. It combines two very powerful open source libraries and makes them available for Processing. Without going too in depth, OpenNI and NITE are extremely powerful and SimpleOpenNI makes them pretty easy to use. However, SimpleOpenNI doesn't allow motor or LED control.
"Making Things See" is a great book that exclusively uses SimpleOpenNI and walks you through how the Kinect and Library work and the many things you can do with them.
OpenKinect.org is a decent wiki on the various aspects of Kinect hacking and has a good collection of information and videos of projects, however, most of the projects don't include source code or even descriptions of how they did it.
A fabulous tutorial from Creative Applications
Daniel Shiffman, the guy who developed the OpenKinect library, has a basic guide to using OpenKinect.