• delicious

  • Fight World Hunger
  • Blog Archive

  • Categories

Kinect, Processing and OpenNI interactive resources- Part 2

Following on from the last post some of you may want to try the apps done by Jan Ciger for the Kinect using Processing and the OpenNI libraries. SEE HERE for links to Java development Kit, Processing and Proclipsing, install all of those.

As in the previous post use this guide to get started with Proclipsing, don’t worry so much about creating a new project (towards the bottom of the guide), but find your Processing Sketch folder and create a ‘libraries’ folder in there.

Launch Processing and have a look in the examples folder of what is possible, that should keep you busy for an evening.

Advertisements

How to install OpenNI, PrimeSense and SensorKinect to use Processing Hand Tracking ‘Apps’. Part 1.

I demoed some stuff that the fabulous Jan Ciger has put together for me with the OpenNI Open Source libraries for Kinect and some great sketches from Processing at #TMSEN12 SEN teachmeet on Sat 28th Jan.

As Processing is written in Java, then the OpenNI libraries have been used to avoid driver conflicts and also they are cross-platform. As Jan compiles uses Linux, it makes sense for me to use the format and libraries he uses.

You need to download and install several bits of software.

You will need to download :-

From this site:-

https://code.google.com/p/simple-openni/

Follow the instructions under installation.

Plug in your freestanding Kinect into a USB port (you’ll need an adapter if you haven’t got one e.g. ONE OF THESE ) and power socket.

In you start menu, you should have OpenNI and Primesense , under Primesense you should have Nite and Sensorkinect, click on Nite and you should have an uninstall, a Documentation and a Samples folder, click the samples folder, click on Sample-Point Viewer, it should open, stand in front of the Kinect and after a little while you should see your hand drawing a line or Sample-Stick Figure, you should see a little yellow you with  a skeleton inside it.

Also, in the yellow samples folder double click that, in the Bin folder, click the Release folder, and there are a few more samples in there, some work better than others, but you should get the idea.

let me know if any problems @cerirwilliams on Twitter.

Stop here for now and check all that lot works.

Next you’ll need these.

Java Development Kit version 6 is stable

Processing- http://processing.org/download/

Eclipse (it has a better editor/debugger than Processing), scroll down and get the UK Mirror. Get this one.

I’ll do a how-to on ‘Proclipsing’ next, but have a look here if you want, it’s  MAC version but it does work, but might need a couple of tweaks for Windows in the terminology.

Hope it works for you.

%d bloggers like this: