dlib to face align using python
人脸特征点检测
predictor_path = 'path/to/shape_predictor_68_face_landmarks.dat'
img = 'the/face/you/want/to/predict'
detector = dlib.get_frontal_face_detector()
predictor = dlib.shape_predictor(predictor_path ...
predictor_path = 'path/to/shape_predictor_68_face_landmarks.dat'
img = 'the/face/you/want/to/predict'
detector = dlib.get_frontal_face_detector()
predictor = dlib.shape_predictor(predictor_path ...