一、打开摄像头 import cv2 # 打开摄像头并灰度化显示 capture = cv2.VideoCapture(0) while(True): # 获取一帧 ret, frame = capt … Continue reading OpenCV-Python入门教程2-打开摄像头
一、打开摄像头 import cv2 # 打开摄像头并灰度化显示 capture = cv2.VideoCapture(0) while(True): # 获取一帧 ret, frame = capt … Continue reading OpenCV-Python入门教程2-打开摄像头