# Failure on Zed camera's \`.open()\`

**URL:** <https://community.stereolabs.com/t/failure-on-zed-cameras-open/11218>\
**Category:** Python\
**Tags:** python, zed-sdk, sdk, jetson\
**Created:** [April 19, 2026, 3:59pm UTC](https://community.stereolabs.com/t/failure-on-zed-cameras-open/11218 "2026-04-19T15:59:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stripedapus](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/6a8cbe/32.png) [@stripedapus](https://community.stereolabs.com/u/stripedapus)\
**Post date:** [April 19, 2026, 3:59pm UTC](https://community.stereolabs.com/t/failure-on-zed-cameras-open/11218/1 "2026-04-19T15:59:35Z")

</div>

Hi there,

I have a system that runs with 3 cameras in production, all started in immediate succession. I am running the ZED SDK 5.2.3 on a Jetson Orin AGX 64 GB. My program is written in Python.

The issue I am facing is that one of the cameras (changes which one) often fails to start. The logs are usually:

```auto
[ZED][ERROR] [Init] Corrupted frames were detected. Please verify that your camera is properly connected.
[ERROR] FAILURE in sl::ERROR_CODE sl::Camera::open(sl::InitParameters)

```

The error comes after calling `cam.open(init_params)`, where my `init_params` are defined like this:

```auto
def _init_params(self, sn: str) -> sl.InitParameters:
        init_params = sl.InitParameters()
        init_params.set_from_serial_number(sn)
        init_params.camera_image_flip = sl.FLIP_MODE.AUTO
        init_params.coordinate_units = sl.UNIT.METER
        init_params.depth_mode = sl.DEPTH_MODE.NEURAL_LIGHT
        init_params.camera_resolution = sl.RESOLUTION.SVGA
        init_params.coordinate_system = sl.COORDINATE_SYSTEM.RIGHT_HANDED_Y_UP
        init_params.camera_fps = 30
        init_params.depth_maximum_distance = 20
        return init_params

```

The interesting thing is that on each startup, it is generally a different camera which errors out (seems to be a random one of the three). I’d say about 50% of the time it’s one of the cameras, 50% it’s none of them. I’ve yet to see 2+ error on the same run.

The fact that each camera takes turns erroring on startup makes me think it is not a hardware/connection issue.

Is startup failure a known issue with the 5.2.3 SDK? Or is there something funky with my init parameters? Or do I need to wait longer before I start each camera?

Any insight is welcome.

Thanks!

---

<div class="post-metadata">

**Author:** ![CristianViSa](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/c/85e7bf/32.png) [@CristianViSa](https://community.stereolabs.com/u/CristianViSa)\
**Post date:** [April 20, 2026, 8:38am UTC](https://community.stereolabs.com/t/failure-on-zed-cameras-open/11218/2 "2026-04-20T08:38:37Z")

</div>

I am having same issues with new cameras. I have cameras that we bought years ago and they don’t have these issues, yet I have cameras bought a month ago that do. They haven’t confirmed anything yet; I’m waiting for a reply, but I think there have been changes to the camera drivers and they’re causing a conflict.

Also, sometimes it starts up fine but then ends up crashing and can’t recover; I’d like [Stereolabs](https://www.stereolabs.com/) to provide more information about these issues, which, from what I can see on this forum, are quite common

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [April 23, 2026, 2:30pm UTC](https://community.stereolabs.com/t/failure-on-zed-cameras-open/11218/3 "2026-04-23T14:30:16Z")

</div>

Hi @stripedapus  
How are you opening the cameras?  
Are you using a multi-threaded application?  
Can you share the full opening code?

@CristianViSa please create a new thread to discuss your problem separately.

---

<div class="post-metadata">

**Author:** ![stripedapus](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/6a8cbe/32.png) [@stripedapus](https://community.stereolabs.com/u/stripedapus)\
**Post date:** [April 23, 2026, 3:36pm UTC](https://community.stereolabs.com/t/failure-on-zed-cameras-open/11218/4 "2026-04-23T15:36:31Z")

</div>

Hi @Myzhar

I am using a multi-threaded application, but each camera is opened on the main thread and then uses a background thread for grabs/retrievals. However, we are failing before we even get to the background thread. It looks something like this:

```python
# Main thread:
cameras = []
for sn in serial_numbers:
  cam = MyZedCamera(sn)
  cam.start()
  cameras.append(cam)

class MyZedCamera
  def __init__ (self, sn: str):
    params = self._init_params(sn)
    self.zed = sl.Camera()
    status = self.zed.open(init_params)

    if status != sl.ERROR_CODE.SUCCESS:
      print("THIS IS WHERE THE ERROR HAPPENS")

    self.zed.enable_positional_tracking(sl.PositionalTrackingParameters())
    obj = sl.ObjectDetectionParameters()
    obj.detection_model = sl.OBJECT_DETECTION_MODEL.CUSTOM_YOLOLIKE_BOX_OBJECTS
    obj.custom_onnx_file = "my_model.onnx"
    self.zed.enable_object_detection(obj)

    self.worker_thread = threading.Thread(target=self.loop)
    
  def _init_params(self, sn: str) -> sl.InitParameters:
        init_params = sl.InitParameters()
        init_params.set_from_serial_number(sn)
        init_params.camera_image_flip = sl.FLIP_MODE.AUTO
        init_params.coordinate_units = sl.UNIT.METER
        init_params.depth_mode = sl.DEPTH_MODE.NEURAL_LIGHT
        init_params.camera_resolution = sl.RESOLUTION.SVGA
        init_params.coordinate_system = sl.COORDINATE_SYSTEM.RIGHT_HANDED_Y_UP
        init_params.camera_fps = 30
        init_params.depth_maximum_distance = 20
        return init_params

  def loop(self):
    # This is run in a background thread
    self.zed.grab()
    # Retrieve images, data, etc and copy to output buffers

  def start(self):
    # Just starts the background thread
    self.worker_thread.start()

```

Please let me know if you need some more information.

Thanks!

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [April 27, 2026, 10:32am UTC](https://community.stereolabs.com/t/failure-on-zed-cameras-open/11218/5 "2026-04-27T10:32:06Z")

</div>

> [@stripedapus](#):
>
> ```auto
> if status != sl.ERROR_CODE.SUCCESS:
> print("THIS IS WHERE THE ERROR HAPPENS")
> 
> ```

I recommend you analyze the error to better understand what’s happening:

`if status > sl.ERROR_CODE.SUCCESS:` → Error  
`if status < sl.ERROR_CODE.SUCCESS:` → Warning  
`if status == sl.ERROR_CODE.SUCCESS:` → Good

> <https://github.com/stereolabs/zed-sdk/blob/5102dd8a94ae91694e1d818cb8e3bed6bf884dc8/tutorials/tutorial%202%20-%20image%20capture/python/image_capture.py#L34-L37>
