mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #2686 from kaizhi-singtown/fix-examples
example: Fix set_auto_gain param.
This commit is contained in:
commit
b6b9a97bab
@ -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