Skip to content
Snippets Groups Projects
Commit 47d4525f authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Copy OpenCV's face detector

parent 76e43139
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ class Localizer(_flandmark.Localizer): ...@@ -15,7 +15,7 @@ class Localizer(_flandmark.Localizer):
""" """
def __init__(self, detection_model=resource_filename(__name__, def __init__(self, detection_model=resource_filename(__name__,
'haarcascade_frontalface_alt.xml'), 'haarcascade_frontalface_alt.xml'),
localization_model=resource_filename(__name__, localization_model=resource_filename(__name__,
'flandmark_model.dat')): 'flandmark_model.dat')):
"""Builds a new facial localization model. """Builds a new facial localization model.
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment