How to use multiple depth sensors with OpenNI/OpenCV ?
I'm using OpenCV 2.4.4 built from source with OpenNI support and I'd like to use two Asus sensors at the same time. Is that possible with OpenCV ? If so how ?
If I initialize a sensor like so:
VideoCapture sensor1;sensor1.open(CV_CAP_OPENNI_ASUS);
How can I init the second ?
did you try : VideoCapture sensor2;sensor2.open(CV_CAP_OPENNI_ASUS+1); ?
@berak Just did and it works ! If you want to add that as an answer I'd be more than happy to accept. Thanks!
ah, cool ;)