I am trying to build a system to record streams from several kinects on one computer.
For the moment my setup is constituted by 2 kinect and one computer and I am using pykinect to get the streams for the two kinects.
To get access to the kinect devices, I am using the following code:
kinect0 = nui.Runtime(index=0)
kinect1 = nui.Runtime(index=1)
But when the 2nd line is run I get the following error:
kinect1 = nui.Runtime(index=1) # to instantiate a Nui.Runtime object in order to configure applications to read the depth, color and skeleton streams
File "C:\Python27\lib\site-packages\pykinect-1.0-py2.7.egg\pykinect\nui\__init__.py", line 115, in __init__
raise KinectError('Unable to create Kinect runtime '+ traceback.format_exc())
pykinect.nui.KinectError: Unable to create Kinect runtime Traceback (most recent call last):
File "C:\Python27\lib\site-packages\pykinect-1.0-py2.7.egg\pykinect\nui\__init__.py", line 110, in __init__
File "C:\Python27\lib\site-packages\pykinect-1.0-py2.7.egg\pykinect\nui\_interop.py", line 155, in NuiInitialize
File "_ctypes/callproc.c", line 936, in GetResult
WindowsError: [Error -2097086457] Windows Error 0x83010007
On the other side, when I print out the number of active kinect with the following line:
I get the value 2 which means that there are 2 active kinects.
I cannot figure out what is the problem which do not allow the use of the 2 kinects.
Could anyone help me please?
Thank you for your attention,