Spaces:
Runtime error
Runtime error
Commit
·
cd4be53
1
Parent(s):
8ecd0a6
face detect test
Browse files
localmodel/mmod_human_face_detector.dat
ADDED
|
Binary file (730 kB). View file
|
|
|
vtoonify_model.py
CHANGED
|
@@ -73,8 +73,7 @@ class Model():
|
|
| 73 |
|
| 74 |
@staticmethod
|
| 75 |
def _create_dlib_landmark_cnn_model():
|
| 76 |
-
return dlib.cnn_face_detection_model_v1(
|
| 77 |
-
'models/mmod_human_face_detector.dat'))
|
| 78 |
|
| 79 |
def _create_parsing_model(self):
|
| 80 |
parsingpredictor = BiSeNet(n_classes=19)
|
|
|
|
| 73 |
|
| 74 |
@staticmethod
|
| 75 |
def _create_dlib_landmark_cnn_model():
|
| 76 |
+
return dlib.cnn_face_detection_model_v1('localmodel/mmod_human_face_detector.dat')
|
|
|
|
| 77 |
|
| 78 |
def _create_parsing_model(self):
|
| 79 |
parsingpredictor = BiSeNet(n_classes=19)
|