freenove_car/Code/Server/camera.py

5 lines
101 B
Python
Raw Normal View History

2021-11-17 20:48:15 -05:00
from picamera import PiCamera
from time import sleep
camera = PiCamera()
camera.capture('image.jpg')