python opencv3 静态图片检测人脸

git:https://github.com/linyi0604/Computer-Vision 1 # coding:utf-8 2 3 import cv2 4 5 filename = "../data/mm3.jpg" 6 7 8 def detect(filename): 9 # 创建检测人脸的对象 要在opencv的目录下找到xml文件,放置到自己项目中 1
相关文章
相关标签/搜索