Python采集树莓派摄像头图像

将树莓派断电,提起树莓派接口的黑色挡板,接线,禁止热插拔

image

from picamera import PiCamera

camera = PiCamera()
camera.capture("pitest.jpg")