SimpleOpenNI for working with Kinect Sensor in Ubuntu

This post is intended to help users to work with SimpleOpenNI and Microsoft Kinect Sensor. SimpleOpenNI is a easy to use interface for getting started with kinect sensor.

OpenKinect

The procedure is tested in 32 bit Ubuntu 12.04 machine. The instructions for 64 bit machine are also same.

 

Download OpenNI_NITE_Installer-Linux32-0.27.zip from here. 64 bit users please download OpenNI_NITE_Installer-Linux64-0.27.zip.

Extract into a directory. The directory contains four folders namely kinect, NITE-Bin-Dev-Linux-x86-v1.5.2.21, OpenNI-Bin-Dev-Linux-x86-v1.5.4.0, Sensor-Bin-Linux-x86-v5.1.2.1

Open a terminal and navigate to these directories by typing these commands

cd <path>/OpenNI-Bin-Dev-Linux-x86-v1.5.4.0/
sudo ./install.sh

This will install OpenNI library in your host system.

cd <path>/NITE-Bin-Dev-Linux-x86-v1.5.2.21/
sudo ./install.sh

This will install NITE middleware needed for skeleton tracking demos.

cd <path>/kinect/Sensor-Bin-Linux-x86-v5.1.2.1/
sudo ./install.sh

This will install kinect drivers in your system.

Finally you can start experimenting with Kinect by processing. Download processing ide from here.

Open processing IDE after extracting the downloaded software.

A folder named sketchbook will be created after opening in /user/<user name>/

Download SimpleOpenNI-0.27.zip from here.

Extract the above downloaded file to /user/<user name>/sketchbook/libraries. Thus library folder should contain SimpleOpenNI folder in it. Restart the processing IDE.

Now user can experiment some sample codes by selecting

File –> Example –> Contributed Libraries –> SimpleOpenNI

Advertisements

One thought on “SimpleOpenNI for working with Kinect Sensor in Ubuntu

  1. Pingback: Random Codes - Elementz Tech Blog

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