          logger.trace("Reapplying image: (filename: `%s`, image shape: %s)",  # type: ignore
                       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
          """
 
</s> remove         dims: Tuple[int, int] = metadata["source_frame_dims"]
 </s> add         dims = cast(Tuple[int, int], metadata["source_frame_dims"]) </s> remove                       metadata: Dict[str, Any]) -> Optional["ExtractMedia"]:
 </s> add                       metadata: "PNGHeaderDict") -> Optional["ExtractMedia"]: </s> remove                      "detected_faces: %s)", self.__class__.__name__, filename, image.shape,
                     detected_faces)
 </s> add                      "detected_faces: %s, is_aligned: %s)", self.__class__.__name__, filename,
                     image.shape, detected_faces, is_aligned) </s> remove                  detected_faces: Optional[List["DetectedFace"]] = None) -> None:
 </s> add                  detected_faces: Optional[List["DetectedFace"]] = None,
                 is_aligned: bool = False) -> None: </s> remove             metadata = dict(alignments=face.to_png_meta(),
                            source=extractor_output.frame_metadata)
 </s> add             metadata: "PNGHeaderDict" = dict(alignments=face.to_png_meta(),
                                             source=extractor_output.frame_metadata)
    def add_frame_metadata(self, metadata: "PNGHeaderSourceDict") -> None:
          logger.trace("Reapplying image: (filename: `%s`, image shape: %s)",  # type: ignore
                       self._filename, image.shape)
          self._image = image
  
    def add_frame_metadata(self, metadata: "PNGHeaderSourceDict") -> 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
          """
keep keep keep keep replace keep keep keep keep keep
 Update Face Filter
  - Remove old face filter
  - plugins.extract.pipeline: Expose plugins directly
  - Change `is_aligned` from plugin level to ExtractMedia level
  - Allow extract pipeline to take faceswap aligned images
  - Add ability for recognition plugins to accept aligned faces as input
  - Add face filter to recognition plugin
  - Move extractor pipeline IO ops to own class 
plugins/extract/pipeline.py