http://picamera.readthedocs.io/en/release-1.10/recipes1.html