From ef2910f8a913252a4e689c8b4c834e0c2e2695b1 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Wed, 24 May 2017 16:29:57 +0200
Subject: [PATCH] Refer to Result directly

---
 bob/ip/facelandmarks/utils.py | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/bob/ip/facelandmarks/utils.py b/bob/ip/facelandmarks/utils.py
index e1a5f99..49c3ca1 100644
--- a/bob/ip/facelandmarks/utils.py
+++ b/bob/ip/facelandmarks/utils.py
@@ -187,7 +187,7 @@ def _detect_multiple_landmarks_on_gray_image(data, top=0, min_quality=0.):
 
   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
       the input image.  The list MAY BE EMPTY if no face is detected in the
       input image (data).
@@ -279,9 +279,9 @@ def _detect_multiple_landmarks_on_color_image(data, top=0, min_quality=0.):
 
   Returns:
 
-    :py:class:`list`: A list of named tuples of type :py:class:`.utils.Result`,
-      each containing the result of face detection and landmarks extracted from
-      the input image.
+    :py:class:`list`: A list of named tuples of type :py:class:`Result`, each
+      containing the result of face detection and landmarks extracted from the
+      input image.
 
   '''
 
@@ -315,9 +315,9 @@ def detect_landmarks(data, top=0, min_quality=0.):
 
   Returns:
 
-    :py:class:`list`: A list of named tuples of type :py:class:`.utils.Result`,
-      each containing the result of face detection and landmarks extracted from
-      the input image.
+    :py:class:`list`: A list of named tuples of type :py:class:`Result`, each
+      containing the result of face detection and landmarks extracted from the
+      input image.
 
   '''
 
@@ -338,8 +338,8 @@ def draw_landmarks(data, results):
       with Bob.
 
     results (:py:class:`list`): A list of named tuples of type
-      :py:class:`.utils.Result`, each containing the result of face detection
-      and landmarks extracted from the input image.
+      :py:class:`Result`, each containing the result of face detection and
+      landmarks extracted from the input image.
 
   '''
 
@@ -398,8 +398,8 @@ def save_landmarks(results, fname):
   Parameters:
 
     results (:py:class:`list`): A list of named tuples of type
-      :py:class:`.utils.Result`, each containing the result of face detection
-      and landmarks extracted from the input image.
+      :py:class:`Result`, each containing the result of face detection and
+      landmarks extracted from the input image.
 
     fname (:py:class:`str`): A path with the output filename
 
-- 
GitLab