INVALID_HANDEL Using Python API

Hi,

I’m trying to process images coming from the ZED camera using CuPy (A GPU equivalent to NumPy). I’m currently getting an INVALID_HANDLE error that I cannot seem to overcome. reading some github threads it seems to be related to the context switching between ZED and CuPy. Does anybody have any idea how to solve this?

Thanks
Yuval

Just to update on my solution for this issue. The ZED runs its own context internally and therefore processing images using CuPy should be handled in a different thread. My best solution relied on the ZED-TensorFlow example which worked pretty good.