Open matmicro opened 1 year ago
Hi, could you perhaps include a little more of your code? For example, the following works for me:
from picamera2 import Picamera2
picam2 = Picamera2()
picam2.start()
picam2.set_controls({'AwbMode': 3})
If you can produce a similar but small standalone example that fails then it would be easier to investigate. Thanks!
Just to point out that {"AwbMode", 3}
is not a dictionary but a set in python. This should in fact be {"AwbMode": 3}
i.e., you must use a colon rather than a comma in the key/value assignment.
How to change the AwbMode ? Current code does not works :
Error is :
Any idea on what could be the root cause ?