Preprocessor refactoring, VideoFaceCrop+ImageFaceCrop replaced with FaceCropAlign+Wrapper
This MR is the refactoring of the face cropping preprocessor. Two tasks are addressed:
-
First, the combination of two classes
VideoFaceCrop
+ImageFaceCrop
simplified to a single class namelyFaceCropAlign
. This class can now be used with aWrapper
ofbob.bio.video.preprocessor
. An example of how to use the class with Wrapper: https://gitlab.idiap.ch/bob/bob.pad.face/blob/preproc_refactor/bob/pad/face/config/lbp_svm.py -
FaceCropAlign now also supports facial alignment, based on the positions of the eyes.