跳到主要內容

發表文章

目前顯示的是有「raspberrypi」標籤的文章

pi camera - take a picture (using python)

import time import picamera with picamera.PiCamera() as camera:     camera.resolution = (320, 240)     camera.start_preview()     time.sleep(2)     camera.capture('foo.jpg')