# RuntimeError: Failed to detect the image sensor or image sensor is detached on Portenta H7 and OpenMV

**URL:** <https://forum.arduino.cc/t/runtimeerror-failed-to-detect-the-image-sensor-or-image-sensor-is-detached-on-portenta-h7-and-openmv/1003841>\
**Category:** Portenta Vision Shield\
**Created:** [June 17, 2022, 12:16pm UTC](https://forum.arduino.cc/t/runtimeerror-failed-to-detect-the-image-sensor-or-image-sensor-is-detached-on-portenta-h7-and-openmv/1003841 "2022-06-17T12:16:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Electric\_Dragon](https://avatars.discourse-cdn.com/v4/letter/e/bc79bd/32.png) [@Electric\_Dragon](https://forum.arduino.cc/u/Electric_Dragon)\
**Post date:** [June 17, 2022, 12:16pm UTC](https://forum.arduino.cc/t/runtimeerror-failed-to-detect-the-image-sensor-or-image-sensor-is-detached-on-portenta-h7-and-openmv/1003841/1 "2022-06-17T12:16:20Z")

</div>

I am trying to run the [Blob detection with Portenta and OpenMV tutorial](https://docs.arduino.cc/tutorials/portenta-vision-shield/blob-detection) on my Portenta H7 with a Lora Vision Shield. It's new...so I haven't tested it before. I have loaded the latest firmware on it and even tried connecting and disconnecting the vision shield. Not sure what's going wrong. This is the error that I get when I try to run the code.

`RuntimeError: Failed to detect the image sensor or image sensor is detached.`

---

<div class="post-metadata">

**Author:** ![Electric\_Dragon](https://avatars.discourse-cdn.com/v4/letter/e/bc79bd/32.png) [@Electric\_Dragon](https://forum.arduino.cc/u/Electric_Dragon)\
**Post date:** [June 18, 2022, 7:49am UTC](https://forum.arduino.cc/t/runtimeerror-failed-to-detect-the-image-sensor-or-image-sensor-is-detached-on-portenta-h7-and-openmv/1003841/2 "2022-06-18T07:49:57Z")

</div>

Okay I hadn't fixed the shield properly

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [December 15, 2022, 7:50am UTC](https://forum.arduino.cc/t/runtimeerror-failed-to-detect-the-image-sensor-or-image-sensor-is-detached-on-portenta-h7-and-openmv/1003841/3 "2022-12-15T07:50:22Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
