树莓派相机的python调用

#encoding:utf-8
#!/usr/bin/python

import os,picamera

def capture(path):
    camera=picamera.PiCamera()
    camera.capture(path)

if __name__ == '__main__':
    capture(os.getcwd())

展开阅读全文

没有更多推荐了,返回首页