# ZED2i Camera Returning Dark Image

**URL:** <https://community.stereolabs.com/t/zed2i-camera-returning-dark-image/7670>\
**Category:** ZED2\
**Tags:** python, zed-sdk\
**Created:** [December 10, 2024, 9:22pm UTC](https://community.stereolabs.com/t/zed2i-camera-returning-dark-image/7670 "2024-12-10T21:22:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nfntn](https://community.stereolabs.com/user_avatar/community.stereolabs.com/nfntn/32/1619_2.png) [@nfntn](https://community.stereolabs.com/u/nfntn)\
**Post date:** [December 10, 2024, 9:22pm UTC](https://community.stereolabs.com/t/zed2i-camera-returning-dark-image/7670/1 "2024-12-10T21:22:31Z")

</div>

Hi,

I encountered twice an issue where the ZED2i camera is repeatedly returning a dark image (all pixel values in the range [0,8-10]). In the same session, until the issue popped up, the camera returned correct images, so I doubt it’s related to the scene.

I saw this thread from last year and was wondering whether the issue had been fixed. [Random ZED 2i dropouts (+ horizontal sync loss?) - #11 by adujardin](https://community.stereolabs.com/t/random-zed-2i-dropouts-horizontal-sync-loss/3968/11)

At this point, it’s unclear to me whether this is caused by a faulty HW connection or a faulty FW. The ZED SDK didn’t log any error / warnings, and I never lost the connection to the camera. The camera still only returned dark images. After unplugging and replugging the camera, it returned correct images again.

This issue is rare, and I don’t have associated SVO files recorded for it.

I would have expected a faulty connection to lead to a disconnection of the camera. Is there any way to isolate the issue to the FW/HW? Are there settings where a faulty connection does lead to dark images?

I am running the SDK v4.1 in Python, on a ubuntu 22.04 host+docker environment.

Best

---

<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:** [December 11, 2024, 12:11pm UTC](https://community.stereolabs.com/t/zed2i-camera-returning-dark-image/7670/2 "2024-12-11T12:11:21Z")

</div>

Hi @nfntn  
did you try to enable the image validity check ([enable\_image\_validity\_check](https://www.stereolabs.com/docs/api/python/classpyzed_1_1sl_1_1InitParameters.html#ac92564822e486b753e9230a0ec283991)) to monitor image goodness?

---

<div class="post-metadata">

**Author:** ![nfntn](https://community.stereolabs.com/user_avatar/community.stereolabs.com/nfntn/32/1619_2.png) [@nfntn](https://community.stereolabs.com/u/nfntn)\
**Post date:** [January 30, 2025, 7:40pm UTC](https://community.stereolabs.com/t/zed2i-camera-returning-dark-image/7670/3 "2025-01-30T19:40:26Z")

</div>

I did not try this yet.

Would this catch the following issue:

The left image is dark (as can be seen below). The right image is the usual one of the scene

 ![example_dark_image](https://community.stereolabs.com/uploads/default/original/2X/2/2ab8047a76cf90f42c1252f22f71e7dbb1ca6e49.png)

---

<div class="post-metadata">

**Author:** ![nfntn](https://community.stereolabs.com/user_avatar/community.stereolabs.com/nfntn/32/1619_2.png) [@nfntn](https://community.stereolabs.com/u/nfntn)\
**Post date:** [February 5, 2025, 5:42pm UTC](https://community.stereolabs.com/t/zed2i-camera-returning-dark-image/7670/4 "2025-02-05T17:42:09Z")

</div>

I finally could reproduce.

Using the image validity check did catch the issue.  
Disconnecting the cameras then forcing a SW level reboot through the SDK allowed us to recover the camera.
