freenove_car/Code/Server/camera.py
2021-11-18 09:48:15 +08:00

5 lines
101 B
Python

from picamera import PiCamera
from time import sleep
camera = PiCamera()
camera.capture('image.jpg')