etiennedub / pyk4a

Python 3 wrapper for Azure-Kinect-Sensor-SDK
MIT License
288 stars 81 forks source link

Feature/multi device #20

Closed lpasselin closed 4 years ago

lpasselin commented 4 years ago

No breaking changes to PyK4A.

device_id is input to each k4a_module calls. There is probably a cleaner way to do this.

Did not do extensive tests. Only quick color capture test on single device was performed.

We need to test with multiple devices before merging this.

lpasselin commented 4 years ago

@ivandex-bot if you could test if this works for multiple cameras, I would appreciate!

lpasselin commented 4 years ago

It would be much cleaner if we could embed the device_container struct directly into the instances of the python PyK4A class. It could be useful to fetch configuration in a similar way.

ivandex-bot commented 4 years ago

@lpasselin I tested these changes and now I am able to access multiple devices at the same time. Really appreciate the change !