#encoding:utf-8
#!/usr/bin/python
import os,picamera
def capture(path):
camera=picamera.PiCamera()
camera.capture(path)
if __name__ == '__main__':
capture(os.getcwd())
树莓派相机的python调用
最新推荐文章于 2023-06-11 10:39:39 发布
#encoding:utf-8
#!/usr/bin/python
import os,picamera
def capture(path):
camera=picamera.PiCamera()
camera.capture(path)
if __name__ == '__main__':
capture(os.getcwd())