Hello, I would like to load the Point Cloud into the GPU as described in the tutorial here:
However, the following error occurs:
File "zed/detect.py", line 629, in zed
self.zed.retrieve_measure(self.point_cloud_left_tmp, sl.MEASURE.XYZ, sl.MEM.GPU)
File "/usr/lib/python3.8/enum.py", line 384, in __getattr__
raise AttributeError(name) from None
AttributeError: GPU
Does anyone know what the problem is?
Edit:
I think the posted tutorial is outdated, since
width = zed.get_resolution().width / 2
is also not working:
AttributeError: 'pyzed.sl.Camera' object has no attribute 'get_resolution'
Maybe someone has a proper new way for sdk>=4.0 how to manage this issue.