图片加口罩代码

时间:2021-01-06 13:53:48
【文件属性】:
文件名称:图片加口罩代码
文件大小:16KB
文件格式:PDF
更新时间:2021-01-06 13:53:48
口罩 图片 import cv2 import dlib import time def get_mouth(img): img_gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) width_w, height_h = img_gray.shape[0], img_gray.shape[1] detector = dlib.get_frontal_face_detector() predictor = dlib.shape_predictor('models/shape_predictor_68_face_landmarks.dat'

网友评论