Commit 736fdf49 authored by Laurent COLBOIS's avatar Laurent COLBOIS

[Fix][FaceCrop] Feed annotator with list of images

parent 559ccd8c
Pipeline #47725 failed with stage
in 6 minutes and 45 seconds
......@@ -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):
"The annotator failed and the annot are missing too"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment