  
      @staticmethod
      def get_info():
          """ Return command information """
          return "Swap the original faces in a source video/images to your final faces"
  
      @staticmethod
      def get_optional_arguments():
          """ Put the arguments in a list so that they are accessible from both
          argparse and gui """
 
</s> remove         return "Extract faces from image or video sources"
 </s> add         return ("Extract faces from image or video sources.\n"
                "Extraction plugins can be configured in the 'Settings' Menu") </s> remove         return ("Train a model on extracted original (A) and swap (B) faces\n"
                "Training models can take a long time. Anything from 24hrs to "
                "over a week")
 </s> add         return ("Train a model on extracted original (A) and swap (B) faces.\n"
                "Training models can take a long time. Anything from 24hrs to over a week\n"
                "Model plugins can be configured in the 'Settings' Menu") </s> remove         backend = get_backend()
 </s> add         if get_backend() == "cpu":
            default_detector = default_aligner = "cv2-dnn"
        else:
            default_detector = "s3fd"
            default_aligner = "fan"
 </s> remove     def launch(self):
        """ Launches the plugins
            This can be called multiple times depending on the phase/whether multiprocessing
            is enabled.

            If multiprocessing:
                launches both plugins, but aligner first so that it's VRAM can be allocated
                prior to giving the remaining to the detector
            If not multiprocessing:
                Launches the relevant plugin for the current phase """
        if self.is_parallel:
            logger.debug("Launching aligner and detector")
            self.launch_aligner()
            self.launch_detector()
        elif self.phase == "detect":
            logger.debug("Launching detector")
            self.launch_detector()
        else:
            logger.debug("Launching aligner")
            self.launch_aligner()
 </s> add     @staticmethod
    def _load_aligner(aligner, configfile, normalize_method):
        """ Set global arguments and load aligner plugin """
        aligner_name = aligner.replace("-", "_").lower()
        logger.debug("Loading Aligner: '%s'", aligner_name)
        aligner = PluginLoader.get_aligner(aligner_name)(configfile=configfile,
                                                         normalize_method=normalize_method)
        return aligner </s> remove     @staticmethod
    def load_detector(detector, loglevel, rotation, min_size, configfile):
        """ Set global arguments and load detector plugin """
        detector_name = detector.replace("-", "_").lower()
        logger.debug("Loading Detector: '%s'", detector_name)
        detector = PluginLoader.get_detector(detector_name)(loglevel=loglevel,
                                                            rotation=rotation,
                                                            min_size=min_size,
                                                            configfile=configfile)
        return detector
 </s> add     def set_batchsize(self, plugin_type, batchsize):
        """ Set the batchsize of a given :attr:`plugin_type` to the given :attr:`batchsize`.
        return ("Swap the original faces in a source video/images to your final faces.\n"
                "Conversion plugins can be configured in the 'Settings' Menu")
  
      @staticmethod
      def get_info():
          """ Return command information """
        return ("Swap the original faces in a source video/images to your final faces.\n"
                "Conversion plugins can be configured in the 'Settings' Menu")
  
      @staticmethod
      def get_optional_arguments():
          """ Put the arguments in a list so that they are accessible from both
          argparse and gui """
keep keep keep keep replace keep keep keep keep keep
 De-Multiprocess Extract (#871)

* requirements.txt: - Pin opencv to 4.1.1 (fixes cv2-dnn error)

* lib.face_detect.DetectedFace: change LandmarksXY to landmarks_xy. Add left, right, top, bottom attributes

* lib.model.session: Session manager for loading models into different graphs (for Nvidia + CPU)

* plugins.extract._base: New parent class for all extract plugins

* plugins.extract.pipeline. Remove MultiProcessing. Dynamically limit batchsize for Nvidia cards. Remove loglevel input

* S3FD + FAN plugins. Standardise to Keras version for all backends

* Standardize all extract plugins to new threaded codebase

* Documentation. Start implementing Numpy style docstrings for Sphinx Documentation

* Remove s3fd_amd. Change convert OTF to expect DetectedFace object

* faces_detect - clean up and documentation

* Remove PoolProcess

* Migrate manual tool to new extract workflow

* Remove AMD specific extractor code from cli and plugins

* Sort tool to new extract workflow

* Remove multiprocessing from project

* Remove multiprocessing queues from QueueManager

* Remove multiprocessing support from logger

* Move face_filter to new extraction pipeline

* Alignments landmarksXY > landmarks_xy and legacy handling

* Intercept get_backend for sphinx doc build

# Add Sphinx documentation 
lib/cli.py