Skip to content

Commit

Permalink
Adapt Awb automatic white balance
Browse files Browse the repository at this point in the history
  • Loading branch information
xeonqq committed May 4, 2024
1 parent 57459f9 commit 054b3f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ def main():
fps = 20.0
camera.set_controls({"FrameRate": fps, "ExposureTime": 10000})
camera.set_controls({"AfMode":controls.AfModeEnum.Continuous})
camera.set_controls({"AwbEnable": True})
camera.set_controls({"AwbMode": controls.AwbModeEnum.Daylight})

#metadata = camera.capture_metadata()
#framerate = 1000000 / metadata["FrameDuration"]
Expand Down
Empty file modified startup.sh
100644 → 100755
Empty file.

0 comments on commit 054b3f1

Please sign in to comment.