OpenNI to Max/MSP via OSC

OpenNI is a “natural interaction” software that uses the Kinect for XBox 360.  Using this, connected to a Mac, we can control various software via OSC.  Here, I will show you how to get the data into Max.  The idea here is that you are like me, longing to try, but missing the few crucial steps that the README’s forget about the amateur hacker.

Preliminaries:

First, if you are not comfortable with the terminal, I will try to walk you through it.  Everything in this tutorial will require being in the terminal.  That does not mean that it is hard, just different for many of us.

Second, I have tried this on three machines just to be safe that I did not ruin anything. My school computer went first (17” MacBook Pro 2006, 2.33 ghz), then my old Mac Mini (1.83 ghz, 2006) and now my MacBook Pro (2008, 2.4 ghz).  All are working great.  All are Intel.  I can make no promises about your machine… but mine are all running smooth.

UPDATE: you need to be on OS 10.6 for this to work from what I can tell

Third… I cannot help you.  I would not even know where to begin.  I am amazed that I have gotten this to work as it is with out something catching on fire or opening a hole to the Nether… there are far better programmers that could help you further than I ever will.

A Brief Terminal Primer (all you will need to know; no more, no less)

Where is it?

Applications> Utilities> Terminal

What to do with it for now?

Add it to your Dock if you don’t have it there… trust me on this one… you will use it a lot

What code will I need to know?

sudo= superuser… makes things happen.  See this for more info

cd= change directory

Quick Tip: Drag a folder into terminal of where you want to go after typing cd[single space] to save from typing.

Software you will need to install before beginning with the OpenNI fun (all free, as in beer):

  1. Install Xcode
  2. Install CMake
  3. Install MacPorts

*** Click “Select Command Line Links” when finishing up MacPorts install, its very important for the next steps***

RESTART

  1. Open the Terminal (in your Dock right?  I warned you…)
  2. Type: sudo port install libtool

Be patient, MacPorts is flying through the interwebs getting you files for you.  It took about 20 minutes to run its course for me… just enough time to catch up on some music tech news or a little humor.

RESTART

  1. Back in Terminal, Run: sudo port install libusb-devel +universal

*** Do not forget the +universal, it’s very important as well!!***

This takes awhile as well, get comfortable and perhaps enjoy a little light reading or a movie (yes, it is that long… your mileage may vary).

Again RESTART

If you have troubles with the Macports portion, I have been getting good feedback about the Homebrew version of the install.  More on that here.  I personally have not tried it yet, but plan to on my next install (plus you gotta love the “Macports driving you to drink? Try Homebrew!” motto)

Into OpenNI (finally)

OpenNI:

  1. You will need the latest unstable version (be brave) for Mac.  Be sure to download the mac version found at the bottom only, do not go to the github link at the top of the page!
  2. Create a OpenNI Folder in your Documents (I use that here because it is clean, you may need/want to put it elsewhere).
  3. Unpack the download and drag into an newly unpacked OpenNI… folder in your Documents> OpenNI folder
  4. Navigate to the folder using the terminal.  Type (or drag the visible folder after a space following cd):

cd (folderpath)

example:

cd /Users/YOURUSERHERE/Documents/OpenNI/OpenNI-Bin-MacOSX-v1.0.0.25

  1. Hit Enter to select that folder and in the terminal type:

sudo ./install.sh

SensorKinect

The avin2 version worked best for me.  I had tried two others, but had problems, not sure why… get it here:

https://github.com/avin2/SensorKinect

Please note, versions vary, I will not be typing out versions numbers for now.

  1. Unpack the avin2 SensorKinect file and drag into your OpenNI folder
  2. Navigate through the SensorKinect folder to: avin2…>Bin>… And unpack the SensorKinect-MacOSX-5.0.0.tar.bz2
  3. Navigate to the new folder using the terminal

cd (folderpath)

example:

cd /Users/YOURUSERNAME/Documents/OpenNI/avin2…/Bin/SensorKinect-MAcOSX5.0.0.25

  1. Hit Enter and in the terminal type

sudo ./install.sh

NITE

Again, you need the latest unstable

  1. Unpack the NITE file download and drag into your OpenNI folder
  2. Navigate to the new folder using the terminal

cd (folderpath)

example:

cd /Users/YOURUSERNAME/Documents/OpenNI/Nite…/

  1. Hit Enter and in the terminal type:  sudo ./install.sh
  2. The Primesense license key is found on their site and is 0KOIk2JeIBYClPWVnMoRKn5cdY4=
  3. Hit Enter

COPY FILES…

***This is important, or you will get errors.  Copy the 3 files from avin2…>NITE>Data to Nite-1.3.0.18>Data.  It is ok to replace these files***

FIRST TEST:

  1. In Terminal change directory to the Nite…> Samples> Bin>
  2. Run the Sample-PointViewer program (you can just drag it into the terminal and hit enter)
  3. Wave your hands like you care that you see the point…

SUCCESS?  Then keep going… we are almost there.  You will need to quit Sample-PointViewer and then…

OSCeleton

UPDATE: with Version 1.0 of OSCeleton, you will need to run “make” to build the package before you can run it.  Info here

  1. Unpack the OSCeleton file download and drag into your OpenNI folder
  2. OLD Version: Navigate through to the folder to: Sensebloom…> bin> OSX> osceleton-osx
  3. NEW VERSION: Navigate through to the folder to: Sensebloom…> and type “make”
  4. Drag the osceleton file onto your terminal
  5. The terminal should be running happy if you step back… Users will be added, calibrated and sending data (FYI, put your hands up to calibrate.. surprisingly, not many places say that…)
  6. The Calibrate position is called the “Psi” Pose… Arms in a “stick’em up” pose… like this or this (be sure to watch the terminal for calibration… hold the pose and it will catch you.  Also, be sure to stand far enough back… I am rather tall and had to step about 8 feet back…)

Lets leave that running and then…

To test, we can use a pre-made Processing example… but its not needed, you can just skip to Max if you wish

  1. Download the examples from Sensebloom
  2. You will need Processing if you don’t have it (If you are new to processing you will also need to download: oscP5 and pbox2d
  3. Open Processing
  4. Close Processing
  5. Move the Folders for oscP5 and pbox2d into the created libraries folder (should be in your Documents folder after running Processing the first time)
  6. Open the file Stickmanetic and press the Play icon
  7. Stand/Calibrate (stand about 6ft away)/  AND DANCE

HAPPY HAPPY JOY JOY

Now… getting the data into Max is easy…

For Max you will need the CNMAT objects (which if you don’t have, you really should anyway).

Download/unpack/move it into the Cycling ‘74 folder in Max

I assume if you went this far, you know your way around max a bit… so I will keep this short

Paste this into a new patcher:

----------begin_max5_patcher----------
2849.3oc0c00aiiaE84jeEDdeclL7aJl21tEEnEEn.s6Cscxf.Ga4DuQQJPV
Yyrcw9euhjx1bmXGRsV7COHiskLk7UGduGd4gTT+5kWL6tluVtYF3ZvmAWbw
ud4EWn2kZGWLr8EydZ9WWTMeitXypKes4teZ1GLeUW4W6z6tpY9x6lWe+1uX
8R8t6K5G4zs6bUScW87mJ0e022tdd01uo9kmVWWU1o+MPVEey5+mt3H7Uv8k
s4ktusvlc08KOWZtZlosFvWF95mm2s3g002eaa4hNSIHpSI3i5yLfCUuh6eE
7E0Q7aWdo5kO3Iprn4omJq6dCr7v75ka24yska5Ky7t0M01VtETwjgDpfGvP
rvCLUiDXl9MpXOfbbLjizEiW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iLaHAdW6lzgYFng1Pu0jXxN4dgEI.Hc5zAIic9zv2ky
DkRrlOM5sNYitvqQQjGYnrvKnjk.qxY7KLxM4qcnbNa2jIvnb6VgRfU41sJx
Dv9Lw.GIoAEoHHjV2VH1ed3gsNQpmianIfP1mQ8GMkWBXodlERoZsSjxnbIL
1j4e+KAjYBfatDzaDiKgry09a6HkunJ0BUs9LePUMsuMeBDUyqqAnbJ8Lnla
aIy0fdiuYpse4uc4+Gbg7zFO
-----------end_max5_patcher-----------

Refer to the READ ME files for all of these for more info and settings.

Enjoy!

Please let me know if you do anything fun/educational/crazy with this.

I plan to post some examples shortly… been to busy getting it working to experiment yet, hahaha.  I will update if you find something I missed.

cheers,

tohm

64 Comments

  1. Danilo Casti January 14, 2011

    Do I need Snow Leopard?
    Because i have some issues with 10.5.8

  2. The Tourist January 14, 2011

    Thanks for this post, it is great

  3. jeremybailey January 15, 2011

    awesome tutorial, worked like a charm! Any idea how to get the kinect’s RGB data into max if osceleton is running (would be nice to have both).

  4. jeremybailey January 15, 2011

    just found the answer to my problem in the avin2 readme under MacOSX

    ****Client/Server is not supported yet so do not attempt to access the sensor with more then one application.****

  5. Danilo Casti January 15, 2011

    of course i need it :D _____ thanx! works great!

  6. Kinect Madness / The Blog January 19, 2011

    [...] Tohm Judson’s OpenNI tutorial – Should work pretty well on SnowLeopard (Mac OS X 10.6+), don’t even try this on 10.5. [...]

  7. Moritz January 19, 2011

    Hi, thanks for that great tutorial. I was looking forward to use Kinect in Max/MSP, so it’s perfect. Evreything worked well, I could run the “Sample-PointViewer”. But when I try to run OSCeleton (also with the newer version “Sensebloom-OSCeleton-bada84c”) I get “Permission denied” from the terminal. I tryed to find a solution via google but I failed. I really would appreciate any help. Please, I’m a noob but very enthusiastic about this! I use 10.6.6 on an late 2009 iMac. Thanks! Greetings Moritz.

    • tohmjudson January 23, 2011

      be sure to run “sudo” for everything.. sometimes that will fix that issue

      • DanMillest February 3, 2011

        Hi I’m the same as Mortiz above and new to the terminal side of thing. What do I have to write / apply sudo to in this case. (Also I couldn’t find the bin is that because I haven’t run sudo yet?)

        Thanks
        Dan

        • tohmjudson February 3, 2011

          be sure to make sure you are in the right directory… that got me a lot…

          but… if you can’t find the bin, you may have the wrong version of osceleton… hard to tell… sorry

  8. Zachary Seldess January 26, 2011

    Thanks for this great tutorial tohm!

    Homebrew is much cleaner and easier than MacPorts, IMO. To install libtool and libusb-devel with Brew (I’ve only done this under Snow Leopard), go to http://openkinect.org/wiki/Getting_Started

    Aside from using brew instead of MacPorts, I did everything else as listed above, and it works great! Thanks again!

    best,
    Zachary

    • tohmjudson January 27, 2011

      Thanks Zach! glad to help, I will have to look into Homebrew…

  9. Dorian January 27, 2011

    Nice work ! But is there any solution for the windows user ?

    • tohmjudson January 27, 2011

      there are many out there… I have not looked for them, so I can’t point you to one, sorry

  10. Kyred January 27, 2011

    Hello !
    @Moritz I had the same problem , a friend of mine told me to set the “chmod 755 osceleton-osx” command in the terminal, then now it runs.

    But I have another problem: Terminal starts with osceleton-osx but send this:
    Warning: USB events thread – failed to set priority. This might cause loss of data…
    Then Calibration starts and fail alternatively.

    I’ve downloaded and installed the last bin, without success.
    Any help would be appreciated.

  11. Kyred January 27, 2011

    Okay, it was probably a distance issue for the calibration.
    Now it works, but I can’t get rid of this:
    Warning: USB events thread – failed to set priority. This might cause loss of data…

    • tohmjudson January 27, 2011

      I have had that the whole time… I think it is a problem with the beta version and will be cleaned up as it develops

  12. Andre February 3, 2011

    I have everything working until the oscleton…i don’t have any visual feedback from it, is it normal? i only have the messages:

    “Warning: USB events thread – failed to set priority. This might cause loss of data…”

    and “New User 1
    Calibration started for user 1
    Calibration failed for user 1″

    Any thing i’m missing here? Or is it supposed to be like this until i can get a calibration?

    thanks A

    • tohmjudson February 3, 2011

      There is a flag you can add in the newest version of osceleton that should help you see what is happening… I haven’t got a chance to test it yet, but I think it is “-w” after the app in terminal

  13. diva February 3, 2011

    Hey I am having trouble getting “sudo port install libusb-devel +universal” to install properly.

    I got the error

    —> Fetching libusb-devel
    Error: Target org.macports.fetch returned: Git clone failed
    Error: Status 1 encountered during processing.

    I have tried uninstalling mac ports and starting again. Is there anything else I should uninstall?

    Also I do not get the option to *** Click “Select Command Line Links” when finishing up MacPorts install, its very important for the next steps*** i only get a similar option during the CMake installation. Could that be the problem?

    I am totally stuck!

    Thanks for any help!

    Div

    • tohmjudson February 3, 2011

      I think that is the problem… there should be a check box during the install process that say “select command line links”

      If you have more problems, try the Homebrew install instead found here:
      http://openkinect.org/wiki/Getting_Started

      Scroll down to Homebrew under OS X and try that…

  14. gab_lecup February 8, 2011

    hello there

    total newbi to terminal and all that stuff, so this tutorial is really usefull, thanks loads .
    but i do get blocked right here:
    “The Primesense license key is found on their site and is 0KOIk2JeIBYClPWVnMoRKn5cdY4=” – i never am asked for that licence key, and from there on things don’t go as planed.

    so here are a few questions:
    - when should i use the licence key?
    - what do you mean by “copy files”? where should i copy them to?
    - what do you mean by “run the Sample-PointViewer program”? in the folder Nite/Samples/PointViewer i have main.cpp, PointDrawer.cpp, PointDrawer.h, and PointViewer.mak. when i drag and drop any of those to the terminal and hit enter i get permision denied
    - as moritz and danmiller, i find no bin folder and no osceleton-osc.
    - final one: i just plug the power to the wall and the usb to my macbook, and i get a flickering green light on my kinect. is that how it’s supposed to be done?

    thanks people,

    gab

  15. [...] I have it working now!! and you can too…just follow this instructions! [...]

  16. [...] OpenNI to Max/MSP via OSC – tohm judson. [...]

  17. gablecup February 8, 2011

    hello there,

    brand new to terminal and all that world, i just want to have osceleton working with puredata for a contemporary dance project. this tutorial is incredible, i didn’t understand anything until i found this … but there a few questions i’ll like to post:

    - i am never asked the Primesense licence key, and after this step nothing works.
    - what do you mean by “copy files”? where should i copy them to?
    - what do you mean by “Run the Sample-PointViewer program”? in the NITE/Samples/PointViewer folder i have 4 files .cpp or .h or .mak
    - in the osceleton folder, i can’t find the bin folder or the osceleton-osx file. and i can’t find another version …
    - last one: since this doesn’t work on the first time i give it a few tries and just dump OpenNI and NITE folders from documents to the garbage. is that fine?

    i have leopard 10.5.8, could that be the problem? (i used the Xcode version …). ok sorry for such simple questions, this really is my first step into this world .

    cheers gab

    • tohmjudson February 15, 2011

      I think it does have to be 10.6… thats in the Primesense info… sorry, not sure what to do with 10.5 since Primesense does not support it…

  18. Cloverstreet February 11, 2011

    I got up to the point after installing NITE. at this step…

    “FIRST TEST:
    In Terminal change directory to the Nite…> Samples> Bin>
    Run the Sample-PointViewer program (you can just drag it into the terminal and hit enter)
    Wave your hands like you care that you see the point…”

    I get the error…

    One or more of the following nodes could not be enumerated:

    And there is nothing listed after the colon.

    Any Suggestions?

    • Bearmod February 14, 2011

      @Cloverstreet:

      I have run in to the exact same problem.

      Can anybody help us out?

      • tohmjudson February 15, 2011

        I think it has to be 10.6… what is your OS?

        • Bearmod February 18, 2011

          I’m running 10.6.6. My OS X is fully up to date.

          I had started my process from

          Where is a good place to start over in this installation process? Do I need to uninstall everything first or start again from a certain point?

          Thanks and Best,
          -Tyson

    • tohmjudson February 15, 2011

      not sure on that one… sorry :(

  19. dtr February 13, 2011

    worked great! many tanx!

    the current OSCeleton file is named osceleton-1.0_osx so had to do a:

    “chmod 755 osceleton-1.0_osx”

    in the terminal

    • tohmjudson February 15, 2011

      Thanks for the heads up!

  20. [...] me out there, I have put together a tutorial/walkthrough to get the OpenNi packages working on mac. http://tohmjudson.com/?p=30 At the end you should be able to send OSC data wherever you like via OSCeleton. Max Discussion [...]

  21. [...] This post was mentioned on Twitter by Greg Borenstein, Brian Lucid. Brian Lucid said: Kinect Hacking: Installing OpenNI and OSCeleton on MacOS: http://tohmjudson.com/?p=30 [...]

  22. [...] (Note: this post is based on my experiences of doing this on OS X and will be specific to that.) Tohm Judson’s OpenNI to Max/MSP via OSC tutorial is the best place to start. If you have never installed MacPorts before his directions [...]

  23. Pedro February 16, 2011

    Hello! Grate work!! I’m sorry because the patch appears to me like this:

    ———-begin_max5_patcher———-
    2849.3oc0c00aiiaE84jeEDdeclL7aJl21tEEnEEn.s6Cscxf.Ga4DuQQJPV
    Yyrcw9euhjx1bmXGRsV7COHiskLk7UGduGd4gTT+5kWL6tluVtYF3ZvmAWbw
    ud4EWn2kZGWLr8EydZ9WWTMeitXypKes4teZ1GLeUW4W6z6tpY9x6lWe+1uX
    8R8t6K5G4zs6b

    So I can’t copy and past the patch… Somebody can help me?? Thanks!

    • tohmjudson March 4, 2011

      copy all from

      ———-begin_max5_patcher———-
      to end and then in Max, new from clipboard

  24. [...] like me out there, there’s a tutorial/walkthrough to get the OpenNi packages working on mac. http://tohmjudson.com/?p=30 At the end you should be able to send OSC data wherever you like via OSCeleton. Max Discussion [...]

  25. daphne February 19, 2011

    It all works great untill I opened OSceleton.

    When I open OSceleton in my terminal It says:
    New User 1
    Calibration started for user 1
    Calibration complete, start tracking user 1

    Thats it and nothing happens after waiting for a while with my hands up. No calibration lines.

    I have also started MaxMSP. It’s running too but the data it is showing, shows that there hasn’t been any calibration set.

    Somewhere I’ve red that you have to upload SenseBloom . I used Sensebloom-OSCeleton-b2f3f21 according to this tutorial.
    Is this the latest version or could this be the problem?
    I also downloaded the osceleton-1.0_osx from the Github page but I don’t know if this is the upload and where I have to put it, if so.
    Hope someone knows the solution for this “big” problem.

    • daphne February 20, 2011

      Sorry I mean the tacking fails not the calibration. i.o.w.
      no bone lines appear.

    • tohmjudson March 4, 2011

      the OSCeleton data has different formatting that may help you, but it should come straight thru OSC… do you have the CNMAT tools set-up?

      The bones/lines are not hard coded into OSCeleton like some of the other software… OSCeleton video is really just for reference to fit in the frame, but the points should still be sending data to max…

      not sure…

  26. [...] Start with setting up the OpenNI, OpenNite and sensorkinect. Follow the steps in here: http://tohmjudson.com/?p=30 [...]

  27. John S March 3, 2011

    Tohm,

    This tutorial is wonderful. Got up and running in about 1.5hrs.

    Thanks so much.

    • tohmjudson March 4, 2011

      Glad to help, cheers

  28. [...] on Eclipse IDE. It does not work directly with Processing IDE Simple – OpenNI Max/Msp OpenNI to Max/Msp via OSC OSCeleton (with OpenNI) [...]

  29. [...] line, I would start with one of the ready-to-use alternatives. Here’s a Mac setup tutorial: http://tohmjudson.com/?p=30 0 Comments No Comments so far Leave a comment RSS feed for comments on this post. Leave a [...]

  30. [...] OSCeleton takes a while — and can be painstaking. But for Mac users, I would suggest using Tohm Judson’s guide to installing OSCeleton. We also messed with Processing’s Simple OpenNI library but it didn’t play nicely with [...]

  31. [...] Rustin on Apr.18, 2011, under Mac OS X, Programming After reading OpenNI to Max/MSP via OSC I decided to import OSCeleton into an xcode project for easy modification/extension. It still [...]

  32. [...] A brief and explanatory tutorial on how to install Kinect on Mac to use with Max / MSP Well appreciated! http://tohmjudson.com/?p=30 [...]

  33. Soliloquy [NOC] May 8, 2011

    [...] is developed by Sensebloom, we are able to track the joints of a human being. (I recommend using Tohm Judson’s guide to installation.) It returns each joint as an array of x, y and z coordinates. So for the head, you would get a [...]

  34. [...] order to run Kinect and OSCeleton on your Mac, you have to follow Tohm Judson’s walk through. It was written a while ago so some of steps are no longer apply. Here is my notes when I install [...]

  35. Kinect Setup « DECO } Han September 7, 2011

    [...] up OSCeleton: • Step 1: https://github.com/avin2/SensorKinect • (Step 1 with more detail: http://tohmjudson.com/?p=30 ) • Additional Step: [...]

  36. [...] The home run: look at skeletal tracking for extremely precise human control of parameters, as seen in the video. It only gives your left and right hand, but stay tuned for further developments. See also this example patch. [...]

  37. [...] The home run: look at skeletal tracking for extremely precise human control of parameters, as seen in the video. It only gives your left and right hand, but stay tuned for further developments. See also this example patch. [...]

  38. [...] The home run: look at skeletal tracking for extremely precise human control of parameters, as seen in the video. It only gives your left and right hand, but stay tuned for further developments. See also this example patch. [...]

  39. [...] OpenNI to Max/MSP via OSC – tohm judson OpenNI is a “natural interaction” software that uses the Kinect for XBox 360. [...]

  40. [...] OpenNI is a “natural interaction” software that uses the Kinect for XBox 360. OpenNI to Max/MSP via OSC – tohm judson [...]

  41. brokenears | Pearltrees January 7, 2012

    [...] Open the file Stickmanetic and press the Play icon Stand/Calibrate (stand about 6ft away)/ AND DANCE Move the Folders for oscP5 and pbox2d into the created libraries folder (should be in your Documents folder after running Processing the first time) HAPPY HAPPY JOY JOY Max/MSP and Kinect blog [...]

  42. [...] Ligar a Kinect ao MAX MSP [...]

Comments are Disabled