                  logger.info("Updated masks for %s faces of %s",
                              self._counts["update"], self._counts["face"])
          logger.debug("Completed masker process")
  
      def _update_faces(self, extractor_output):
          """ Update alignments for the mask if the input type is a faces folder
  
          If an output location has been indicated, then puts the mask preview to the save queue
  
          Parameters
 
</s> remove     def _update_frames(self, extractor_output):
 </s> add     def _update_frames(self, extractor_output: ExtractMedia) -> None: </s> remove         extractor_output: dict
 </s> add         extractor_output: :class:`plugins.extract.pipeline.ExtractMedia` </s> remove         extractor_output: dict
 </s> add         extractor_output: :class:`plugins.extract.pipeline.ExtractMedia` </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:
    def _update_faces(self, extractor_output: ExtractMedia) -> None:
                  logger.info("Updated masks for %s faces of %s",
                              self._counts["update"], self._counts["face"])
          logger.debug("Completed masker process")
  
    def _update_faces(self, extractor_output: ExtractMedia) -> None:
          """ Update alignments for the mask if the input type is a faces folder
  
          If an output location has been indicated, then puts the mask preview to the save queue
  
          Parameters
keep keep keep keep replace 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