              A detected_face object for a face
          """
          if self._mask_type == "bisenet-fp":
              mask_types = [f"{self._mask_type}_{area}" for area in ("face", "head")]
          else:
              mask_types = [self._mask_type]
  
 
</s> remove                 centering = "legacy" if self._alignments.version == 1.0 else mask.stored_centering
 </s> add                 centering: "CenteringType" = ("legacy" if self._alignments.version == 1.0
                                              else mask.stored_centering) </s> remove             frame_name = extractor_output.mask_tool_face_info["source_filename"]
            face_index = extractor_output.mask_tool_face_info["face_index"]
            logger.trace("Saving face: (frame: %s, face index: %s)", frame_name, face_index)
 </s> add             frame_name = extractor_output.frame_metadata["source_filename"]
            face_index = extractor_output.frame_metadata["face_index"]
            logger.trace("Saving face: (frame: %s, face index: %s)",  # type: ignore
                         frame_name, face_index) </s> remove     def _feed_extractor(self):
 </s> add     def _set_correct_mask_type(self):
        """ Some masks have multiple variants that they can be saved as depending on config options
        so update the :attr:`_mask_type` accordingly
        """
        if self._extractor is None or self._mask_type != "bisenet-fp":
            return

        # Hacky look up into masker to get the type of mask
        mask_plugin = self._extractor._mask[0]  # pylint:disable=protected-access
        assert mask_plugin is not None
        mtype = "head" if mask_plugin.config.get("include_hair", False) else "face"
        new_type = f"{self._mask_type}_{mtype}"
        logger.debug("Updating '%s' to '%s'", self._mask_type, new_type)
        self._mask_type = new_type

    def _feed_extractor(self) -> MultiThread:
        assert self._saver is not None
              A detected_face object for a face
          """
        assert self._saver is not None
          if self._mask_type == "bisenet-fp":
              mask_types = [f"{self._mask_type}_{area}" for area in ("face", "head")]
          else:
              mask_types = [self._mask_type]
  
keep add keep keep keep keep keep
 Minor updates and fixups
  - Mask Tool - Typing + BiSeNet mask update fix
  - Alignments Tool - Auto search for alignments file 
tools/mask/mask.py