📜  树莓派相机 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:18.203000             🧑  作者: Mango

代码示例1
from picamera import PiCamera
from time import sleep

camera.start_preview()
sleep(5)
camera.capture('/home/pi/Desktop/image.jpg')
camera.stop_preview()