parent
7ce490a198
commit
a292344ac6
@ -0,0 +1,9 @@
|
||||
import time
|
||||
from picamera import PiCamera
|
||||
|
||||
camera = PiCamera()
|
||||
camera.resolution = (3280,2464)
|
||||
camera.start_preview()
|
||||
|
||||
current_time = time.strftime("%H;%M;%S", time.localtime())
|
||||
camera.capture('/home/pi/payload/img'+current_time+'.jpg')
|
||||
Loading…
Reference in new issue