You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling vz_cam.VZ_SetColorPixelFormat(VzPixelFormat.VzPixelFormatGray8) with any of the VzPixelFormat enum values fails with message:
File "......./API/VzenseDS_api.py", line 145, in VZ_SetColorPixelFormat
return self.vz_cam_lib.VZ_SetColorPixelFormat(self.device_handle, pixelFormat)
ctypes.ArgumentError: argument 2: TypeError: Don't know how to convert parameter 2
call the API
vz_cam.VZ_SetColorPixelFormat() or vz_cam.VZ_SetColorPixelFormat(VzPixelFormat.VzPixelFormatBGR888.value) or vz_cam.VZ_SetColorPixelFormat(3)
if call the vz_cam.VZ_SetColorPixelFormat(VzPixelFormat.VzPixelFormatBGR888), should chanage the define def VZ_SetColorPixelFormat(self,pixelFormat=VzPixelFormat.VzPixelFormatBGR888):
return self.vz_cam_lib.VZ_SetColorPixelFormat(self.device_handle, pixelFormat.value)
Calling
vz_cam.VZ_SetColorPixelFormat(VzPixelFormat.VzPixelFormatGray8)
with any of the VzPixelFormat enum values fails with message:Passing it as an integer instead works.
See MWE below.
Running on linux x86_64 with Nebula Version: 1.1.17.834828436
I Couldn't find anything related in the release notes, but please let me know if updating will solve this issue.
The text was updated successfully, but these errors were encountered: