                       self._filename, image.shape)
          self._image = image
  
      def _image_as_bgr(self) -> "np.ndarray":
          """ Get a copy of the source frame in BGR format.
  
          Returns
          -------
          :class:`numpy.ndarray`:
 
</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: </s> remove     def _create_image(self, detected_face, mask_type):
 </s> add     def _create_image(self, detected_face: DetectedFace, mask_type: str) -> np.ndarray: </s> remove             logger.trace("filename: '%s', image_shape: %s", filename, image.shape)
 </s> add             logger.trace("filename: '%s', image_shape: %s", filename, image.shape)  # type: ignore
    def add_frame_metadata(self, metadata: Dict[str, Any]) -> None:
        """ Add the source frame metadata from an aligned PNG's header data.

        metadata: dict
            The contents of the 'source' field in the PNG header
        """
        logger.trace("Adding PNG Source data for '%s': %s",  # type:ignore
                     self._filename, metadata)
        dims: Tuple[int, int] = metadata["source_frame_dims"]
        self._image_shape = (*dims, 3)
        self._frame_metadata = metadata

                       self._filename, image.shape)
          self._image = image
  
    def add_frame_metadata(self, metadata: Dict[str, Any]) -> None:
        """ Add the source frame metadata from an aligned PNG's header data.

        metadata: dict
            The contents of the 'source' field in the PNG header
        """
        logger.trace("Adding PNG Source data for '%s': %s",  # type:ignore
                     self._filename, metadata)
        dims: Tuple[int, int] = metadata["source_frame_dims"]
        self._image_shape = (*dims, 3)
        self._frame_metadata = metadata

      def _image_as_bgr(self) -> "np.ndarray":
          """ Get a copy of the source frame in BGR format.
  
          Returns
          -------
          :class:`numpy.ndarray`:
keep keep add keep keep keep keep keep keep
 Minor updates and fixups
  - Mask Tool - Typing + BiSeNet mask update fix
  - Alignments Tool - Auto search for alignments file 
plugins/extract/pipeline.py