From 773972d2f8e1d3ad5823f20dbfba8d0e16cac967 Mon Sep 17 00:00:00 2001 From: Laurent COLBOIS <lcolbois@.idiap.ch> Date: Fri, 21 May 2021 14:46:40 +0200 Subject: [PATCH] [Doc] Fix build --- doc/faq.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/faq.rst b/doc/faq.rst index 04f23e49..dc7e53f5 100644 --- a/doc/faq.rst +++ b/doc/faq.rst @@ -19,11 +19,10 @@ How to choose the cropped positions ? The ideal cropped positions are dependent on the specific application you are using the face cropper in. Some face embedding extractors work well on loosely cropped faces, while others require the face to be tightly cropped. -We provide a few reasonable defaults that are used in our implemented baselines. They are accessible through an utilitary function, -:any:`bob.bio.face.config.baseline.helpers.get_default_cropped_positions`. +We provide a few reasonable defaults that are used in our implemented baselines. They are accessible through an utilitary function as follows : :: - import bob.bio.face.config.baseline.helpers.get_default_cropped_positions + from bob.bio.face.config.baseline.helpers import get_default_cropped_positions mode = 'legacy' cropped_image_size=(160, 160) annotation_type='eyes-center' @@ -35,7 +34,7 @@ There are currently three available modes : * :code:`legacy` Tight crop, used in non neural-net baselines such as :code:`gabor-graph`, :code:`lgbphs` or :code:`lda`. It is typically use with a 5:4 aspect ratio for the :code:`cropped_image_size` * :code:`dnn` Loose crop, used for neural-net baselines such as the ArcFace or FaceNet models. -* :code:`pad` Tight crop used in some PAD baselines in :ref:`bob.pad.face` +* :code:`pad` Tight crop used in some PAD baselines We present hereafter a visual example of those crops for the `eyes-center` annotation type. -- GitLab