Is it possible to work with multiple (two) kinect2 device with pykinect2? I didn't find any information on how to call the second device. By default, the image comes from the main kinect. I will be happy to any advice, thank you!
my code for kinect initializing
kinect = PyKinectRuntime.PyKinectRuntime(PyKinectV2.FrameSourceTypes_Depth | PyKinectV2.FrameSourceTypes_BodyIndex)
depth_width, depth_height = kinect.depth_frame_desc.Width, kinect.depth_frame_desc.Height
I have found a solution
Working for windows 10, pycharm with python 3.8, anaconda3
Get
libfreenect
last release (Release 0.2.0, libfreenect2-0.2.0-usbdk-vs2015-x64.zip) https://github.com/OpenKinect/libfreenect2Install
Zadig
usb driver https://github.com/OpenKinect/libfreenect2/blob/master/README.md#windows--visual-studioGet repo
pylibfreenect2
(v0.1.4 release)https://github.com/r9y9/pylibfreenect2
install
cython-compiler
(version 1.0.1):open
setup.py
frompylibfreenect2
change/usr/local/
toC:/.../libfreenect2-0.2.0-usbdk-vs2015-x64
runsetup.py
python setup.py install
download
libusb-1.0.dll
fromhttps://github.com/libusb/libusb/releases/tag/v1.0.22 and replace it in
libfreenect2\bin
foldercopy files from
libfreenect2\bin
toC:\Users\user\anaconda3\envs\'env name'\Lib\site-packages\pylibfreenect2-0.1.5.dev0-py3.8-win-amd64.egg\pylibfreenect2