Setting up Kinect-Assisted Java project on Windows – Part 1

In this article, we are going to setup a java project for kinect assisted software development. Last summer, i worked on kinect and developed a couple of games, a framework and an eclipse plugin allows you to control debugger by moving your hands.

Most time consuming part of kinect-assisted development is just the beginning, where you
have to setup kinect libraries and java wrapper. The rest is plain simple, API is just great. You dont need to code a single line of computer vision stuff, all that is taken care of for you in the background. API features gesture & pose detection and access to 3D coordinate for each joint. API I am talking about is OpenNI, which i chose instead of OpenKinect, because it has a Java Wrapper. But if you are going to use another language i’d recommend OpenKinect. Because OpenKinect also supports motor control.

So let’s start by downloading required drivers & files.

If your have a 64 bit computer, download & use 64 bit alternatives of each file.
1 – 32 Bit JAVA
http://www.openni.org/Downloads/OpenNIModules.aspx :
2 – OpenNI Binaries ->; Unstable ->; … for Windows x86 ( 32 Bit )
3 – OpenNI Compliant Middleware Binaries ->; Unstable ->; … for Windows x86
4 – OpenNI Compliant Hardware Binaries ->; Unstable ->; … for Windows x86
5 – Sensor Kinect
6- Kinect XML

Installation Steps :
1 – Install OpenNI Binaries (OpenNi-win32…exe) ( 2# file )
2 – Install OpenNI MiddleWare (Nite-win32…exe) ( 3# file )
3 – Install OpenNI HardWare (Sensor..exe) ( 4# file)
4 – Install Sensor Kinect yüklenir. ( 5# file )
5 – Replace XML Files : ( 6# file )
Files inside KinectXMLs
OpenNI/Data ->; Program FilesOpenNIData
NITE/Data ->; Program FilesPrimeSenseNITEData
6 – Install Java. (1# )
7 – Restart your computer.

In this part, we have succesfully installed kinect & OpenNI drivers. You can test whether it’s correctly installed or not by running samples under Program FilesOpenNISamples.

On next part, we will be talking about adding wrapper into eclipse and build an example project.

Thanks for reading

 

3 thoughts on “Setting up Kinect-Assisted Java project on Windows – Part 1

Leave a Reply to Ahmet YILDIRIM Cancel reply