Configuring Kinect with processing in ubuntu

Xbox-360-Kinect-Standalone

To configure kinect with processing in ubuntu 12.04..first download openni installer

wget http://simple-openni.googlecode.com/files/OpenNI_NITE_Installer-Linux32-0.27.zip

uncompress the file…there will be four folders like this.

Screenshot from 2013-01-18 16:55:03

Inside kinect folder there will be one more folder named Sensor-Bin-Linux…all folders will be having an install.sh file

open a terminal and cd to each folder and issue the following install command

sudo ./install.sh

Now download processing software i used the stable release processing 1.5

wget http://processing.googlecode.com/files/processing-1.5.1-linux.tgz

extract it

Now download SimpleOpenNI processing library

wget http://simple-openni.googlecode.com/files/SimpleOpenNI-0.27.zip

when you run processing for the first time a folder named sketchbook will be created inside home folder

Copy the ‘SimpleOpenNI.zip’ into this folder:

~/sketchbook/libraries

and extract it

if you don’t have libraries folder then create one inside sketchbook

Now restart porcessing from file menu take Examples>Contributed Libraries>simple openni and select depth image example.

Screenshot from 2013-01-17 03_51_51

Connect the kinect to the system .Now compile and run the code if sucessfulyou will get an output window like this.

Screenshot from 2013-01-17 03_53_50

You need java installed in yur system for the working of processing

Happy Hacking :)

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s