I'm adjusting some of the PiCamera parameters to make it work well in low light. However, when I preview the camera (in low light) the image starts off looking great and then immediately darkens. These are the steps I take:
from picamera import PiCamera
cam = picamera.PiCamera()
cam.framerate = 4
cam.shutter_speed = 249839 # max shutter speed for a frame rate of 4.
cam.start_preview()
What's causing the image to go really dark after about a second? Also - if there are better ways to handle low light, would love to hear about those. Thanks.