Kinect Library for Processing (Windows)

processing

We all have been waiting for this for quite a while now, haven’t we! But yes, its finally here. All those hackers and coders with Windows platform can now rejoice as the Kinect library for Processing is here.

Those who do not know about Processing, can go and have a look here: http://processing.org/

Those who already know about Processing can go directly to the Github repository where the Kinect library for Processing is located.

Github repository: https://github.com/hardikpandya/kinect-processing

Library works in all Windows platforms including XP, 7 and Vista. Also, the Processing versions from 1.07 to 1.5 are tested and are fairly okay with the library.

Library is sufficiently equipped with rich examples and codes. The Kinect hacking will not get simpler than this!

I also have written a few tutorials on our KinectHacks website you can find here: http://www.kinecthacks.nl/2011/04/28/kinect-tutorial-12b-processing-panel-with-arduino-for-appliance-control/

The whole new Kinect Tutorial Series can be found here: http://www.kinecthacks.nl/kinect-tutorial-series/

Enjoy all.

11 Responses to “Kinect Library for Processing (Windows)”


  • Hi. I can not get this to work on windows. Processing says that it can not find dlib anywhere. I’ve extracted it into my processing folder, where I can get other libraries to work, but not this one for some reason.

    • dont extract it into the processing folder mate. you have to use the sketchbook folder for extracting the library and then if you can see the default example codes in the processing window Examples tab, you are up and running with the library.

      • Hey Hardik, first thanks for your work on making this processing library available for the kinect. I seem to be having the same issue as Titken but I extracted to my sketchbook folder and I can access the examples from processing but when I try to run a sketch it gives me this error:
        ————
        No library found for peasy
        No library found for dLibs.freenect.toolbox
        No library found for dLibs.freenect.constants
        No library found for dLibs.freenect.interfaces
        No library found for dLibs.freenect
        As of release 1.0, libraries must be installed in a folder named ‘libraries’ inside the ‘sketchbook’ folder.
        ———
        I also tried renaming your “library” folder to “libraries” with no sucess.

  • Hardik I owe you beer! Your tip Worked thanks so much for the help.

  • Any word on if this works with the official SDK?

  • thanks for the feedback Adam! the thing is that from Processing version 1.5.1, one has to go to the Documents/Processing/libraries folder and there extract the library folders whichever library one wants to install. Now the libraries needed here are PeasyCam, dLibs_freenect. If you have extracted BOTH the library folders in side the above mentioned path, then the examples would simply run out of the box. Try it and then tell me how it goes.

  • Hardik,

    I hope you can help. Peasy installed just fine, but yours won’t show up under Examples. If you wouldn’t mind, can you give me step-by-step instructions?

    I’m running Windows 7 (64) with Processing 1.5.1. Libfreenect is running just fine.

    Thanks!

  • Hey! thanks for the feedback on library and sorry for replying late!

    If you are using the Processing version 1.5 or later, you must put the library dLibs inside the libraries folder in My Documents/Processing/sketchbook. You must do it and once you do that, you will have its example codes visible inside the Processing IDE. Try it.

  • Hardik-

    Thanks for writing back. I got it all working. If it helps, I just wanted to describe the way I got things working.

    I extracted your .zip to Processing/libraries
    I renamed the dir “hardikpandya-kinect-processing-99efdf7″ to dLibs_freenect, which is the name of the .jar file inside your library dir.

    The answer I found is under “Still having trouble?” here:
    http://wiki.processing.org/w/How_to_Install_a_Contributed_Library

    Thanks again! I’m excited to see what I can do with your work.

Leave a Reply