Skip to content

Instantly share code, notes, and snippets.

@anisayari
Created October 25, 2019 09:30
Show Gist options
  • Save anisayari/03151bb182818967054fe86ae434f653 to your computer and use it in GitHub Desktop.
Save anisayari/03151bb182818967054fe86ae434f653 to your computer and use it in GitHub Desktop.
print('[INFO] Starting System...')
print('[INFO] Importing pretrained model..')
pose_predictor_68_point = dlib.shape_predictor("pretrained_model/shape_predictor_68_face_landmarks.dat")
pose_predictor_5_point = dlib.shape_predictor("pretrained_model/shape_predictor_5_face_landmarks.dat")
face_encoder = dlib.face_recognition_model_v1("pretrained_model/dlib_face_recognition_resnet_model_v1.dat")
face_detector = dlib.get_frontal_face_detector()
print('[INFO] Importing pretrained model..')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment