fps vs exposure time

Hi there,


something strange is happening to my camera with h7 with global shutter attached.

when i try to set the exposure and gain at:

sensor.set_auto_gain(False)


sensor.set_auto_exposure(False,22500)

i get 48 fps

but when i try to reduce the exposure time at:

sensor.set_auto_gain(False)


sensor.set_auto_exposure(False,2500)

i take 30 fps.

Why i get higher fps when i have more exposure than when i reduce it?

I think you need to pass sensor.set_auto_exposure(False,exposure_us=2500)

Otherwise it’s not looking at the exposure value and you’re just locking in whatever the lighting is.

i did tried your solution with same results.

Otherwise it’s not looking at the exposure value and you’re just locking in whatever the lighting is.

in fact this isn’t true. the value just pass fine without the “exposure_us” but i added.

If it isn’t problem for you it isn’t for me too…

This post is just for feedback… you can try it yourself too! i have 3 cameras all with the same behaviour

This is what the code is doing: https://github.com/openmv/openmv/blob/master/src/omv/mt9v034.c#L273

Looks like I automatically grab the exposure without needing the keyword. https://github.com/openmv/openmv/blob/master/src/omv/py/py_sensor.c#L390

Note sure why this happens. Does the image have more exposure however?