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

Refer to Result directly

parent 9a849a87
No related branches found
No related tags found
1 merge request!5Fix the imports
Pipeline #
...@@ -187,7 +187,7 @@ def _detect_multiple_landmarks_on_gray_image(data, top=0, min_quality=0.): ...@@ -187,7 +187,7 @@ def _detect_multiple_landmarks_on_gray_image(data, top=0, min_quality=0.):
Returns: Returns:
:py:class:`list`: A list of named tuples of type :py:class:`.utils.Result`, :py:class:`list`: A list of named tuples of type :py:class:`Result`,
each containing the result of face detection and landmarks extracted from each containing the result of face detection and landmarks extracted from
the input image. The list MAY BE EMPTY if no face is detected in the the input image. The list MAY BE EMPTY if no face is detected in the
input image (data). input image (data).
...@@ -279,9 +279,9 @@ def _detect_multiple_landmarks_on_color_image(data, top=0, min_quality=0.): ...@@ -279,9 +279,9 @@ def _detect_multiple_landmarks_on_color_image(data, top=0, min_quality=0.):
Returns: Returns:
:py:class:`list`: A list of named tuples of type :py:class:`.utils.Result`, :py:class:`list`: A list of named tuples of type :py:class:`Result`, each
each containing the result of face detection and landmarks extracted from containing the result of face detection and landmarks extracted from the
the input image. input image.
''' '''
...@@ -315,9 +315,9 @@ def detect_landmarks(data, top=0, min_quality=0.): ...@@ -315,9 +315,9 @@ def detect_landmarks(data, top=0, min_quality=0.):
Returns: Returns:
:py:class:`list`: A list of named tuples of type :py:class:`.utils.Result`, :py:class:`list`: A list of named tuples of type :py:class:`Result`, each
each containing the result of face detection and landmarks extracted from containing the result of face detection and landmarks extracted from the
the input image. input image.
''' '''
...@@ -338,8 +338,8 @@ def draw_landmarks(data, results): ...@@ -338,8 +338,8 @@ def draw_landmarks(data, results):
with Bob. with Bob.
results (:py:class:`list`): A list of named tuples of type results (:py:class:`list`): A list of named tuples of type
:py:class:`.utils.Result`, each containing the result of face detection :py:class:`Result`, each containing the result of face detection and
and landmarks extracted from the input image. landmarks extracted from the input image.
''' '''
...@@ -398,8 +398,8 @@ def save_landmarks(results, fname): ...@@ -398,8 +398,8 @@ def save_landmarks(results, fname):
Parameters: Parameters:
results (:py:class:`list`): A list of named tuples of type results (:py:class:`list`): A list of named tuples of type
:py:class:`.utils.Result`, each containing the result of face detection :py:class:`Result`, each containing the result of face detection and
and landmarks extracted from the input image. landmarks extracted from the input image.
fname (:py:class:`str`): A path with the output filename fname (:py:class:`str`): A path with the output filename
......
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