multiple kinects not working #11

naychrist opened this Issue May 1, 2012 · 9 comments


None yet
6 participants

naychrist commented May 1, 2012

running the example with the experimental branch it looks like kinects are detected and initialised okay but the second kinect output is always rendered black.


gameoverhack commented May 22, 2012

hi there...sorry I haven't got to this sooner...i just checked this on OSX and all looks fine...what platform are you using?


naychrist commented May 23, 2012

Hey no worries. I am on OSX 10.6.8 but am now suspecting this to be a
USB bus issue. I have ordered a couple of USB IDE cards to install and
see if this is the case but haven't had a chance yet as I have a
deadline this week. I will try and get to this early next week and post

On 23/05/12 12:39 AM, gameoverhack wrote:

hi there...sorry I haven't got to this sooner...i just checked this on OSX and all looks fine...what platform are you using?

Reply to this email directly or view it on GitHub:
#11 (comment)

Yeah you need the Kinects in root hubs. You can get a StarTech 4 independent port USB PCI card but I usually find most PCs anyway have at least 2 root hubs.

BTW how do you use multiple Kinects anyway ? There's no option to set device ID ?


I am trying out the experimental ofxOpenNI but I'm having some problems ....
How can I have the hands drawn on the screen? How are hands handled in the new version?
I want to switch between live video and player a lot of times, and some times the thread stops, and when I close the application it crashes with xnWaitAnyUpdateAll().... how can I avoid this kind of problem?


gameoverhack commented May 31, 2012

hi ptrigueiros that is a forum question rather than a response or addition to this issue - which is specifically about getting multiple Kinects to work. Could you repost to,7403.165.html ?

sorry, i realize this is kind of an old issue :) but, similar to @chrisporter it's not clear to me how to access multiple kinects? more importantly, it's not clear if it's possible to do skeleton tracking on multiple kinects? i've read some things that say openni 2.0 supports this but not earlier versions... any hints towards this end would be appreciated :)

timmb commented Jan 10, 2013

Independent skeleton tracking from two kinects on a single machine has always been a holy grail for me!

As far as I've seen, there is currently no way to get OpenNI 2.0 working with Kinect though (although I've not tried it personally).

Check out this thread though , which suggests that you can get multiple skeleton tracking but only by running two separate programs.

wow, super helpful discussion thread. i should have done a more general search first :) it sounds like, at the moment, if i have two processes (apps) separately connected to the two kinects, it's definitely possible. but i still don't see a way of specifying which device i'm connected to in ofxOpenNI. i'll dig around a bit more.

the most recent response on that thread makes it sound like maybe OpenNI2 supports multi-user skeleton tracking.

sorry, it looks like all you have to do to access multiple kinects is just create multiple ofxOpenNI objects. but it's not possible right now to have multiple kinects doing skeleton tracking in the same process. however, you can do it if you build separate apps using a simple setDeviceID() method i just added: #30

maybe openni2 supports multiple skeletons in the same process, but afaict openni2 only runs on linux and windows right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment