          return self._frame_metadata
  
      def get_image_copy(self, color_format: Literal["BGR", "RGB", "GRAY"]) -> "np.ndarray":
          """ Get a copy of the image in the requested color format.
  
          Parameters
 
</s> remove             The filename of the image to be saved
        image: numpy.ndarray
            The image to be saved
 </s> add             The filename of the image to be saved. NB: Any folders passed in with the filename
            will be stripped and replaced with :attr:`location`.
        image: bytes
            The encoded image to be saved
        subfolder: str, optional
            If the file should be saved in a subfolder in the output location, the subfolder should
            be provided here. ``None`` for no subfolder. Default: ``None`` </s> remove         image: numpy.ndarray
            The image to be saved
 </s> add         image: bytes
            The encoded image to be saved
        subfolder: str or ``None``
            If the file should be saved in a subfolder in the output location, the subfolder should
            be provided here. ``None`` for no subfolder. </s> remove     def _save(self, filename, image):
 </s> add     def _save(self, filename: str, image: bytes, sub_folder: Optional[str]) -> None: </s> remove     def save(self, filename, image):
 </s> add     def save(self, filename: str, image: bytes, sub_folder: Optional[str] = None) -> None:
    @property
    def sub_folders(self) -> List[Optional[str]]:
        """ list: The sub_folders that the faces should be output to. Used when binning filter
        output is enabled. The list corresponds to the list of detected faces
        """
        return self._sub_folders

          return self._frame_metadata
  
    @property
    def sub_folders(self) -> List[Optional[str]]:
        """ list: The sub_folders that the faces should be output to. Used when binning filter
        output is enabled. The list corresponds to the list of detected faces
        """
        return self._sub_folders

      def get_image_copy(self, color_format: Literal["BGR", "RGB", "GRAY"]) -> "np.ndarray":
          """ Get a copy of the image in the requested color format.
  
          Parameters
keep add keep keep keep keep
 Extract filter: Allow saving of filtered images 
plugins/extract/pipeline.py