Skip to content

Instantly share code, notes, and snippets.

@mdahlstrom
Created September 25, 2011 22:49
Show Gist options
  • Save mdahlstrom/1241283 to your computer and use it in GitHub Desktop.
Save mdahlstrom/1241283 to your computer and use it in GitHub Desktop.
kinect
First tired out the depth.js library to give the chrome and safari extensions a go. neither of them worked out of the box with my osx 10.7 setup. Reverted to use more modular approach
Starting out with the the following tutorial
http://tohmjudson.com/?p=30
The openni binaries mentioned in the tutorial above is abit hidden but can be found on the following url
http://www.openni.org/downloadfiles/opennimodules/openni-binaries/20-latest-unstable
Read up how people wired it up with processing
http://urbanhonking.com/ideasfordozens/2011/02/16/skeleton-tracking-with-kinect-and-processing/
had some problems with calibration but this page and the linked video sorted it out
http://groups.google.com/group/osceleton/browse_thread/thread/fc50240d4ec0a752
localhost now runs a udp server on localhost that spits out the skeleton data. next up is a node.js with socket.io server to format and decode gestures and relay them over websockets to browsers.
http://nodejs.org/ & http://socket.io/
Starting out with basic node server like this:
var dgram = require("dgram");
var server = dgram.createSocket("udp4");
server.on("message", function (msg, rinfo) {
console.log("server got: " + msg + " from " +
rinfo.address + ":" + rinfo.port);
});
server.on("listening", function () {
var address = server.address();
console.log("server listening " +
address.address + ":" + address.port);
});
server.bind(7110);
Took a few steps back to processing, started working with the simple openni library for processing
http://chailight.com/2011/05/02/simpleni-processing-version-of-osceleton/
http://chailight.com/wp-content/uploads/2011/05/simpleopenni_userosc.pde
http://code.google.com/p/simple-openni/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment