diff --git a/bob/bio/face/preprocessor/FaceCrop.py b/bob/bio/face/preprocessor/FaceCrop.py index 23cfc2494eff78c86703cc6b9f2ff098a73a43d1..034938af8fa73b07341a8ca1f7c5e41799e219ad 100644 --- a/bob/bio/face/preprocessor/FaceCrop.py +++ b/bob/bio/face/preprocessor/FaceCrop.py @@ -346,7 +346,7 @@ class FaceCrop(Base): and not self.fixed_positions and self.annotator is not None ): - annot = self.annotator(image, annotations=annot) + annot = self.annotator([image], annotations=[annot])[0] if not self.is_annotations_valid(annot): logger.warn( "The annotator failed and the annot are missing too"