import os
import cv2
import dlib
import numpy as np
from imutils import face_utils
"""
大论文用到的代码
代码可视化
人脸对齐3
"""
def face_remap(shape):
shape = face_utils.shape_to_np(shape)
remapped_image = shape.copy()
# left eye brow
remapped_image[17] = shape[26]
remapped_image[18] = shape[25]
remapped_image[19