PiCapture › "Static" in preview window when using python picamera › Reply To: "Static" in preview window when using python picamera
Great – thanks for letting us know. I was just in the process of trying to reproduce the problem!
One other thing I found in the past with picamera is that sometimes it has issues if you don’t set the resolution along with the camera mode. It shouldn’t matter, but it doesn’t hurt to use:
camera=picamera.PiCamera(sensor_mode = 6, resolution=(640,480))
rather than just setting the sensor_mode.
Depending on the video you are capturing, you might consider turning off the exposure control and automatic white balance functions:
camera.exposure_mode = ‘off’
camera.awb_mode = ‘off’
camera.awb_gains = (1.0,1.0)