python读取视频流做人脸识别_python实现图片,视频人脸识别(opencv版)
图片人脸识别import cv2filepath = "img/xingye-1.png"img = cv2.imread(filepath) # 读取图片gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) # 转换灰色# OpenCV人脸识别分类器classifier = cv2.CascadeClassifier("C:\Python36\Lib\site...