mirror of
https://github.com/openmv/openmv.git
synced 2025-09-26 23:09:13 +08:00
example: Fix set_auto_gain param.
This commit is contained in:
parent
e2f8e7d89c
commit
5ccf1f019d
@ -21,7 +21,7 @@ sensor.set_windowing((320, 240))
|
||||
sensor.set_pixformat(sensor.GRAYSCALE)
|
||||
|
||||
sensor.skip_frames(time=2000)
|
||||
sensor.set_auto_gain(False, value=100)
|
||||
sensor.set_auto_gain(False, gain_db=100)
|
||||
|
||||
|
||||
def draw_keypoints(img, kpts):
|
||||
|
@ -21,7 +21,7 @@ sensor.set_windowing((320, 240))
|
||||
sensor.set_pixformat(sensor.GRAYSCALE)
|
||||
|
||||
sensor.skip_frames(time=2000)
|
||||
sensor.set_auto_gain(False, value=100)
|
||||
sensor.set_auto_gain(False, gain_db=100)
|
||||
|
||||
FILE_NAME = "desc"
|
||||
img = sensor.snapshot()
|
||||
|
Loading…
Reference in New Issue
Block a user