saimemrekanat commited on
Commit
eed27f8
·
1 Parent(s): b4f633c

face detect test

Browse files
vtoonify/model/encoder/align_all_parallel.py CHANGED
@@ -27,7 +27,7 @@ import math
27
 
28
  #from configs.paths_config import model_paths
29
  SHAPE_PREDICTOR_PATH = 'shape_predictor_68_face_landmarks.dat'#model_paths["shape_predictor"]
30
- cnn_model_path = './checkpoint/mmod_human_face_detector.dat'
31
  def get_landmark(filepath, predictor):
32
  """get landmark with dlib
33
  :return: np.array shape=(68, 2)
 
27
 
28
  #from configs.paths_config import model_paths
29
  SHAPE_PREDICTOR_PATH = 'shape_predictor_68_face_landmarks.dat'#model_paths["shape_predictor"]
30
+ cnn_model_path = 'mmod_human_face_detector.dat'
31
  def get_landmark(filepath, predictor):
32
  """get landmark with dlib
33
  :return: np.array shape=(68, 2)