          """
          logger.debug("initialize %s: (args: %s, kwargs: %s)",
                       self.__class__.__name__, args, kwargs)
          logger.info("Initializing %s (%s)...", self.name, self._plugin_type.title())
          self.queue_size = 1
          name = self.name.replace(" ", "_").lower()
          self._add_queues(kwargs["in_queue"],
 
</s> remove     def __init__(self, detector, aligner, masker, configfile=None, multiprocess=False,
                 exclude_gpus=None, rotate_images=None, min_size=20, normalize_method=None,
                 re_feed=0, image_is_aligned=False):
 </s> add     def __init__(self,
                 detector: str,
                 aligner: str,
                 masker: Union[str, List[str]],
                 configfile: Optional[str] = None,
                 multiprocess: bool = False,
                 exclude_gpus: Optional[List[int]] = None,
                 rotate_images: Optional[List[int]] = None,
                 min_size: int = 20,
                 normalize_method: Optional[str] = None,
                 re_feed: int = 0,
                 image_is_aligned: bool = False) -> None: </s> remove     def __init__(self, arguments: argparse.Namespace) -> None:
 </s> add     def __init__(self, arguments: Namespace) -> None: </s> remove         self._output_dir = None if self._args.skip_saving_faces else get_folder(
            self._args.output_dir)

        logger.info("Output Directory: %s", self._args.output_dir)
        self._images = ImagesLoader(self._args.input_dir, fast_count=True)
        self._alignments = Alignments(self._args, True, self._images.is_video)

        self._existing_count = 0
        self._set_skip_list()
 </s> add         self._input_locations = self._get_input_locations()
        self._validate_batchmode()
        if self._is_initialized:
            # When batch processing, plugins will be initialized on first job in batch
            logger.debug("Plugin already initialized: %s (%s)",
                         self.name, self._plugin_type.title())
            return

          """
          logger.debug("initialize %s: (args: %s, kwargs: %s)",
                       self.__class__.__name__, args, kwargs)
        if self._is_initialized:
            # When batch processing, plugins will be initialized on first job in batch
            logger.debug("Plugin already initialized: %s (%s)",
                         self.name, self._plugin_type.title())
            return

          logger.info("Initializing %s (%s)...", self.name, self._plugin_type.title())
          self.queue_size = 1
          name = self.name.replace(" ", "_").lower()
          self._add_queues(kwargs["in_queue"],
keep keep add keep keep keep keep
 extract: Add batch processing mode 
plugins/extract/_base.py