Explicitly set ISO=0 (auto) when adjusting gain.
This commit is contained in:
parent
5a537ed382
commit
0520f058ad
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ def auto_expose_and_freeze_settings(camera):
|
|||
print("Allowing the camera to auto-expose")
|
||||
camera.awb_mode = "auto"
|
||||
camera.exposure_mode = "auto"
|
||||
camera.iso = 0 # This is important, if it's on a fixed ISO, gain might not set properly.
|
||||
for i in range(6):
|
||||
print(".", end="")
|
||||
time.sleep(0.5)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue