Commit 773972d2 authored by Laurent COLBOIS's avatar Laurent COLBOIS
Browse files

[Doc] Fix build

parent 4474cff1
Pipeline #50962 passed with stage
in 39 minutes and 18 seconds
......@@ -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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment