Using Kinect and Asus Xtion simultaneously

asked 2013-04-30 20:49:40 -0500

sjc gravatar image

I've written an application for Windows 7 64-bit that uses two depth sensors. It works fine with 2 Kinects or with 2 Asus Xtions, but it doesn't work with one of each. When I call:

VideoCapture depth1(CV_CAP_OPENNI);
VideoCapture depth2(CV_CAP_OPENNI + 1);

I get 2 streams from the same device (the Kinect only). My questions:

  • Is this a problem with my installation of OpenNI etc?
  • Is this an intrinsic limitation of OpenNI or OpenCV?
  • Else, how can I fix this problem?

I'm using OpenCV 2.4.5, VS10 and OpenNI 1.5.4

Cheers Sam

edit retag flag offensive close merge delete