                  continue
              for f_idx, face in enumerate(item.detected_faces):
                  feed_face = AlignedFace(face.landmarks_xy,
                                          image=item.get_image_copy(self.color_format),
                                          centering="face",
                                          size=self.input_size,
                                          coverage_ratio=self.coverage_ratio,
                                          dtype="float32",
                                          is_aligned=self._image_is_aligned)
                  batch.setdefault("detected_faces", []).append(face)
 
</s> remove                                    centering="face",
 </s> add                                    centering=mask.stored_centering, </s> remove                 centering = "legacy" if self._alignments.version == 1.0 else "face"
 </s> add                 centering = "legacy" if self._alignments.version == 1.0 else mask.stored_centering </s> remove                 if not metadata:
                    # Face not found
 </s> add                 if not metadata:  # Face not found </s> remove                 logger.warning("Skipping Face not found in alignments file. skipping: '%s'",
                               filename)
 </s> add                 logger.warning("Skipping Face not found in alignments file: '%s'", filename) </s> remove                           aligned=True, centering="head", dilation=0, blur_kernel=0, as_zip=False):
 </s> add                           aligned=True, centering="face", dilation=0, blur_kernel=0, as_zip=False):
                                        centering=self._storage_centering,
                  continue
              for f_idx, face in enumerate(item.detected_faces):
                  feed_face = AlignedFace(face.landmarks_xy,
                                          image=item.get_image_copy(self.color_format),
                                        centering=self._storage_centering,
                                          size=self.input_size,
                                          coverage_ratio=self.coverage_ratio,
                                          dtype="float32",
                                          is_aligned=self._image_is_aligned)
                  batch.setdefault("detected_faces", []).append(face)
keep keep keep keep replace keep keep keep keep keep
 core mask updates:
  - Add support for different mask centering
  - Update legacy alignments to store mask centering
  - Bugfix: lib.image ImageIO. Ensure unique queues are created (fixes mask tool when Face is input and an output folder is provided) 
plugins/extract/mask/_base.py