Kinect for Windows in Processing 1

Finally, I start to work on a Processing library to work with Kinect for Windows SDK. This very preliminary version shows only the colour image and the depth image. For the depth image, I convert the original 13 bit depth map into a PImage for easy display. Both images are of the size 640 x 480.

You can download this for a try. It is created in Windows 7 64bit and Java 7. More to work!

The code is very straightforward.

import pKinect.PKinect;
PKinect kinect;
void setup()
  size(1280, 480);
  kinect = new PKinect(this);
void draw()
  image(kinect.GetImage(), 0, 0);
  image(kinect.GetDepth(), 640, 0);
void mousePressed()