def shutter():
photofile = open(photo_filename, 'wb')
print(photofile)
with picamera.PiCamera() as camera:
camera.resolution = (640,480)
camera.start_preview()
sleep(1.000)
camera.capture(photofile)
评论列表
文章目录