13 lines
251 B
Python
Executable File
13 lines
251 B
Python
Executable File
#!/usr/bin/python3
|
|
from picamera import PiCamera
|
|
from time import sleep
|
|
|
|
camera = PiCamera()
|
|
|
|
location = str(input("Where would you like to save this image? "))
|
|
camera.start_preview()
|
|
sleep(5)
|
|
camera.capture('pics/' + location)
|
|
camera.stop_preview()
|
|
|