SDK 5.0: pyzed.sl.CameraOne.get_camera_information() failure

I’m encountering an issue where pyzed.sl.CameraOne.get_camera_information() fails when streaming a single (mono) ZED X One camera from a ZED Box Orin to an x86 receiver using SDK 5.0. Image grabbing and retrieval work fine, but the metadata call crashes with a Cython initialization error. I’ve confirmed the .conf calibration file is present and can manually parse it as a workaround, but I’d prefer a proper fix.

Setup Details

  • Camera: Single ZED X One (not stereo pair)

  • Sender: ZED Box Orin (Jetson L4T 36.3).

    • Driver: stereolabs-zedbox-duo_1.3.1-LI-MAX96712-all-ZEDBOX-L4T36.3.0_arm64.deb.

    • SDK: ZED_SDK_Tegra_L4T36.3_v5.0.5.zstd.run.

    • Streaming via ZED Media Server (mono mode) to IP/port.

  • Receiver: Ubuntu x86_64.

    • Python wheel: pyzed-5.0-cp312-cp312-linux_x86_64.whl.
  • Resolution: HD1080 (1920x1080), FPS: 15.

Minimal Code Example

I have a find_and_open_camera_stream() method:

self.init_params = sl.InitParametersOne() self.init_params.set_from_stream(self.stream_ip, self.stream_port) # e.g., "192.168.x.x", 34000self.init_params.camera_resolution = sl.RESOLUTION.HD1080 self.init_params.camera_fps = 15 self.zed = sl.CameraOne() err = self.zed.open(self.init_params)iferr != sl.ERROR_CODE.SUCCESS: returnFalse # Delay and grab succeedtime.sleep(2)ifself.zed.grab() == sl.ERROR_CODE.SUCCESS: print("Grab successful") # This prints # But this fails camera_info = self.zed.get_camera_information()

Traceback

Traceback (most recent call last): File ".../zed_camera.py", line 167, in find_and_open_camera_stream camera_info = self.zed.get_camera_information(sl.Resolution(0, 0)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "pyzed/sl.pyx", line 14730, in pyzed.sl.CameraOne.get_camera_information File "pyzed/sl.pyx", line 13861, in pyzed.sl.CameraOneInformation.__cinit__ File "pyzed/sl.pyx", line 5495, in pyzed.sl.SensorsConfiguration.__cinit__

What Works

  • Streaming connects fine (open() succeeds).

  • grab() and retrieve_image() return valid RGB images.

  • Manual parsing of /usr/local/zed/settings/SN.conf for intrinsics works as a temp fix.

Is this a known bug in SDK 5.0 for mono ZED X One (streaming and/or direct PC connection)?

Thanks!

Hi @brett-azalea,

ZED_Media_Server does not support a “mono mode”, you should be using the python api to stream the ZED X One to another ZED SDK.

You should use this method: sl.CameraOne.enableStreaming. Do you have the same behavior with this streaming method?