example: Fix set_auto_gain param.

This commit is contained in:
kaizhi-singtown 2025-05-07 19:12:01 +08:00
parent e2f8e7d89c
commit 5ccf1f019d
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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()