摘要: import wave import threading from os import remove, mkdir, listdir from os.path import exists, splitext, basename, join from datetime import datetime 阅读全文
posted @ 2021-08-12 14:20 missking 阅读(72) 评论(0) 推荐(0) 编辑
摘要: from PIL import ImageGrab import numpy as np import cv2 import datetime from pynput import keyboard import threading flag=False #停止标志位 # cap = cv2.Vid 阅读全文
posted @ 2021-08-12 14:19 missking 阅读(47) 评论(0) 推荐(0) 编辑
摘要: import cv2 import numpy cap = cv2.VideoCapture(0)#调整参数实现读取视频或调用摄像头【这是笔记本自带的摄像头】 cap = cv2.VideoCapture(1)#调整参数实现读取视频或调用摄像头【这是usb连接的摄像头】 while 1: ret, 阅读全文
posted @ 2021-08-12 14:17 missking 阅读(155) 评论(1) 推荐(0) 编辑