# OpenMV H7 Plus Overexposed Photos

**URL:** https://forums.openmv.io/t/openmv-h7-plus-overexposed-photos/10757
**Category:** OpenMV Boards
**Created:** [March 20, 2025, 4:43pm UTC](https://forums.openmv.io/t/openmv-h7-plus-overexposed-photos/10757 "2025-03-20T16:43:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![tim1](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@tim1](https://forums.openmv.io/u/tim1)
#### Post date: [March 20, 2025, 4:43pm UTC](https://forums.openmv.io/t/openmv-h7-plus-overexposed-photos/10757/1 "2025-03-20T16:43:35Z")

</div>

I am using an OpenMV H7 Plus camera to remotely transfer photos. Most of the time, the camera returns photos that look great, but occasionally, it returns an entire series of photos that appear to be extremely overexposed. Any ideas of how this can be corrected? Sometimes, an entire series of images is almost completely white and few details in the images can be recognized.

Here is the script that I’m using:

```auto
import sensor
import ustruct
from machine import Pin
from pyb import USB_VCP
pin1 = Pin("P9", Pin.OUT)
usb = USB_VCP()
sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QXGA)
sensor.set_framebuffers(1)
sensor.skip_frames(time=2000)
sensor.set_auto_exposure(False, exposure_us=25000)
pin1.value(True)
while True:
    cmd = usb.recv(4, timeout=5000)
    if cmd == b"snap":
        img = sensor.snapshot()
        img = img.to_jpeg()
        usb.send(ustruct.pack("<L", img.size()))
        usb.send(img)
        sensor.flush()

```

---

<div class="post-metadata">

### Author: ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)
#### Post date: [March 20, 2025, 5:35pm UTC](https://forums.openmv.io/t/openmv-h7-plus-overexposed-photos/10757/2 "2025-03-20T17:35:11Z")

</div>

You might want to turn off auto\_gain also. That will continue to run even if auto exposure is off. Also, auto white balance. Both of those will kick in to try to increase the image brightness if it’s less than the target value.

> **[sensor — camera sensor — MicroPython 1.24 documentation](https://docs.openmv.io/library/omv.sensor.html#sensor.set_auto_gain)**

> **[sensor — camera sensor — MicroPython 1.24 documentation](https://docs.openmv.io/library/omv.sensor.html#sensor.set_auto_whitebal)**
