          self._image: Optional["np.ndarray"] = image
          self._image_shape = cast(Tuple[int, int, int], image.shape)
          self._detected_faces: List["DetectedFace"] = ([] if detected_faces is None
                                                        else detected_faces)
          self._frame_metadata: Dict[str, Any] = {}
          self._sub_folders: List[Optional[str]] = []
  
      @property
      def filename(self) -> str:
          """ str: The base name of the :attr:`image` filename. """
 
</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         dims: Tuple[int, int] = metadata["source_frame_dims"]
 </s> add         dims = cast(Tuple[int, int], metadata["source_frame_dims"]) </s> remove                  detected_faces: Optional[List["DetectedFace"]] = None) -> None:
 </s> add                  detected_faces: Optional[List["DetectedFace"]] = None,
                 is_aligned: bool = False) -> None: </s> remove     def add_frame_metadata(self, metadata: Dict[str, Any]) -> None:
 </s> add     def add_frame_metadata(self, metadata: "PNGHeaderSourceDict") -> None: </s> remove         exception = False

 </s> add 
        self._is_aligned = is_aligned
        self._frame_metadata: Optional["PNGHeaderSourceDict"] = None
          self._image: Optional["np.ndarray"] = image
          self._image_shape = cast(Tuple[int, int, int], image.shape)
          self._detected_faces: List["DetectedFace"] = ([] if detected_faces is None
                                                        else detected_faces)
        self._is_aligned = is_aligned
        self._frame_metadata: Optional["PNGHeaderSourceDict"] = None
          self._sub_folders: List[Optional[str]] = []
  
      @property
      def filename(self) -> str:
          """ str: The base name of the :attr:`image` filename. """
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