Does anyone know how to capture images from the picamera at fast speeds and convert it into a format that PIL can interpret? At the moment I'm using their suggested code (from
http://picamera.readthedocs.org/en/latest/recipes1.html), but I can only get it to take an image every second - which is at least 10 times too slow for my needs. I'm sort of new to all this, so if you explain your answers as much as possible that would be much appreciated.
The code I'm currently using:
stream = io.BytesIO()
with picamera.PiCamera() as camera:
camera.start_preview()
camera.capture(stream, format='jpeg')
stream.seek(0)
image = Image.open(stream)