gain maxes out at 32

Discussion related to "under the hood" OpenMV topics.
User avatar
kwiley
Posts: 107
Joined: Fri Dec 21, 2018 5:22 pm

gain maxes out at 32

Postby kwiley » Tue Jan 29, 2019 3:47 am

The docs say you can set a gain ceiling up to 128, but if you print out the gain continuously, it never exceeds 32 (well, 29.82729, but that's the gain returned by get_gain_db() that corresponds to a setting of 32). Setting it to 64 or 128 doesn't push it up any higher. I tried setting the ceiling both through set_auto_gain() and set_gain_ceiling(), as well as setting the gain (not the ceiling) to those higher values through set_auto_gain().

I think 32 is the max, not 128. Thoughts?
User avatar
kwagyeman
Posts: 3333
Joined: Sun May 24, 2015 2:10 pm

Re: gain maxes out at 32

Postby kwagyeman » Tue Jan 29, 2019 11:17 am

It's only 128 for the OV2640. 32 is the max for the OV7725.
Nyamekye,
User avatar
kwiley
Posts: 107
Joined: Fri Dec 21, 2018 5:22 pm

Re: gain maxes out at 32

Postby kwiley » Tue Jan 29, 2019 1:08 pm

Thanks. That's fine. Just wanted to understand what was going on.

Return to “Technical Discussion”

Who is online

Users browsing this forum: MSN [Bot] and 3 guests