Created
October 25, 2019 09:30
-
-
Save anisayari/03151bb182818967054fe86ae434f653 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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