I was testing some recipes in the documentation but I could not succeed at viewing the picture captured to the file '. data', like in this recipe:
Code: Select all
import time, picamera
with picamera.PiCamera() as camera:
camera.resolution = (100, 100)
camera.start_preview()
time.sleep(2)
camera.capture('image.data', 'yuv')