Spaces:
Build error
Build error
Update mask_the_face.py
Browse files- mask_the_face.py +1 -1
mask_the_face.py
CHANGED
@@ -80,7 +80,7 @@ def maskThisImages(myImg):
|
|
80 |
|
81 |
# Set up dlib face detector and predictor
|
82 |
args.detector = dlib.get_frontal_face_detector()
|
83 |
-
path_to_dlib_model = "
|
84 |
if not os.path.exists(path_to_dlib_model):
|
85 |
download_dlib_model()
|
86 |
|
|
|
80 |
|
81 |
# Set up dlib face detector and predictor
|
82 |
args.detector = dlib.get_frontal_face_detector()
|
83 |
+
path_to_dlib_model = "shape_predictor_68_face_landmarks.dat"
|
84 |
if not os.path.exists(path_to_dlib_model):
|
85 |
download_dlib_model()
|
86 |
|