Translate

Sunday, 16 October 2016

Raspberry pi camera image capturing

from time import sleep from picamera

import PiCamera camera = PiCamera()

camera.resolution = (1024, 768)

camera.start_preview()

sleep(2)

camera.capture('foo.jpg')

No comments:

Post a Comment