摘要: import cv2 # 获取本地摄像头 # folder_path 截取图片的存储目录 def get_img_from_camera_local(folder_path): cap = cv2.VideoCapture(0) i = 1 while True: ret, frame = cap.read() cv2.imshow("c... 阅读全文
posted @ 2019-03-05 09:35 小呆丶 阅读(1957) 评论(0) 推荐(0) 编辑