Add 5 point model
This commit is contained in:
parent
af5a73bd58
commit
167b671ea0
|
@ -9,6 +9,9 @@ from pkg_resources import resource_filename
|
||||||
def pose_predictor_model_location():
|
def pose_predictor_model_location():
|
||||||
return resource_filename(__name__, "models/shape_predictor_68_face_landmarks.dat")
|
return resource_filename(__name__, "models/shape_predictor_68_face_landmarks.dat")
|
||||||
|
|
||||||
|
def pose_predictor_five_point_model_location():
|
||||||
|
return resource_filename(__name__, "models/shape_predictor_5_face_landmarks.dat")
|
||||||
|
|
||||||
def face_recognition_model_location():
|
def face_recognition_model_location():
|
||||||
return resource_filename(__name__, "models/dlib_face_recognition_resnet_model_v1.dat")
|
return resource_filename(__name__, "models/dlib_face_recognition_resnet_model_v1.dat")
|
||||||
|
|
||||||
|
|
Binary file not shown.
2
setup.py
2
setup.py
|
@ -14,7 +14,7 @@ test_requirements = [
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='face_recognition_models',
|
name='face_recognition_models',
|
||||||
version='0.2.0',
|
version='0.3.0',
|
||||||
description="Models used by the face_recognition package.",
|
description="Models used by the face_recognition package.",
|
||||||
long_description=readme,
|
long_description=readme,
|
||||||
author="Adam Geitgey",
|
author="Adam Geitgey",
|
||||||
|
|
Loading…
Reference in New Issue