From f627bc6cd1f2ef4d1d8294723a167633cb006d12 Mon Sep 17 00:00:00 2001 From: Olegs NIKISINS <onikisins@italix03.idiap.ch> Date: Mon, 26 Mar 2018 17:10:39 +0200 Subject: [PATCH] Updated docs for FaceCropAlign call method --- bob/pad/face/preprocessor/FaceCropAlign.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bob/pad/face/preprocessor/FaceCropAlign.py b/bob/pad/face/preprocessor/FaceCropAlign.py index 7f0f935d..deed4936 100644 --- a/bob/pad/face/preprocessor/FaceCropAlign.py +++ b/bob/pad/face/preprocessor/FaceCropAlign.py @@ -404,6 +404,16 @@ class FaceCropAlign(Preprocessor): ``min_face_size`` : :py:class:`int` The minimal size of the face in pixels to be processed. Default: None. + + ``normalization_function`` : function + Function to be applied to the input image before cropping and + normalization. For example, type-casting to uint8 format and + data normalization, using facial region only (annotations). + The expected signature of the function: + ``normalization_function(image, annotations, **kwargs)``. + + ``normalization_function_kwargs`` : :py:class:`dict` + Key-word arguments for the ``normalization_function``. """ # ========================================================================== -- GitLab