                  "color",
                  self.args.color_adjustment,
                  disable_logging=disable_logging)(configfile=self.configfile, config=config)
  
          if self.args.scaling != "none" and self.args.scaling is not None:
              self.adjustments["scaling"] = PluginLoader.get_converter(
                  "scaling",
                  self.args.scaling,
                  disable_logging=disable_logging)(configfile=self.configfile, config=config)
          logger.debug("Loaded plugins: %s", self.adjustments)
  
 
</s> remove                 self.args.color_adjustment,
                disable_logging=disable_logging)(configfile=self.configfile, config=config)
 </s> add                 self._args.color_adjustment,
                disable_logging=disable_logging)(configfile=self._configfile, config=config) </s> remove         if self.args.color_adjustment != "none" and self.args.color_adjustment is not None:
            self.adjustments["color"] = PluginLoader.get_converter(
 </s> add         if self._args.color_adjustment != "none" and self._args.color_adjustment is not None:
            self._adjustments["color"] = PluginLoader.get_converter( </s> remove                 self.args.scaling,
                disable_logging=disable_logging)(configfile=self.configfile, config=config)
        logger.debug("Loaded plugins: %s", self.adjustments)

    def process(self, in_queue, out_queue, completion_queue=None):
        """ Process items from the queue """
        logger.debug("Starting convert process. (in_queue: %s, out_queue: %s, completion_queue: "
                     "%s)", in_queue, out_queue, completion_queue)
 </s> add                 self._args.scaling,
                disable_logging=disable_logging)(configfile=self._configfile, config=config)
        logger.debug("Loaded plugins: %s", self._adjustments)

    def process(self, in_queue, out_queue):
        """ Main convert process.

        Takes items from the in queue, runs the relevant adjustments, patches faces to final frame
        and outputs patched frame to the out queue.

        Parameters
        ----------
        in_queue: :class:`queue.Queue`
            The output from :class:`scripts.convert.Predictor`. Contains detected faces from the
            Faceswap model as well as the frame to be patched.
        out_queue: :class:`queue.Queue`
            The queue to place patched frames into for writing by one of Faceswap's
            :mod:`plugins.convert.writer` plugins.
        """
        logger.debug("Starting convert process. (in_queue: %s, out_queue: %s)",
                     in_queue, out_queue) </s> remove             disable_logging=disable_logging)(self.args.mask_type,
                                             self.output_size,
                                             self.output_has_mask,
                                             configfile=self.configfile,
 </s> add             disable_logging=disable_logging)(self._args.mask_type,
                                             self._output_size,
                                             self._coverage_ratio,
                                             configfile=self._configfile, </s> remove         self.adjustments["mask"] = PluginLoader.get_converter(
 </s> add         self._adjustments["mask"] = PluginLoader.get_converter(
        if self._args.scaling != "none" and self._args.scaling is not None:
            self._adjustments["scaling"] = PluginLoader.get_converter(
                  "color",
                  self.args.color_adjustment,
                  disable_logging=disable_logging)(configfile=self.configfile, config=config)
  
        if self._args.scaling != "none" and self._args.scaling is not None:
            self._adjustments["scaling"] = PluginLoader.get_converter(
        if self._args.scaling != "none" and self._args.scaling is not None:
            self._adjustments["scaling"] = PluginLoader.get_converter(
                  "scaling",
                  self.args.scaling,
                  disable_logging=disable_logging)(configfile=self.configfile, config=config)
          logger.debug("Loaded plugins: %s", self.adjustments)
  
keep keep keep keep replace replace keep keep keep keep keep
 Smart Masks to Convert (#957)

- scripts.convert - Use Smart Masks for Convert
    * Make on-the-fly conversion an explicit option

- Move BlurMask to lib.faces_detect

- tools.preview - Fix for smart masks
    * Subclass from tk.Tk
    * Options to lib.gui.control_helper
    *variable cleanup

- lib.logger - Demote more tensorflow deprecation messages

- Documentation:
    * lib.faces_detect.BlurMask
    * plugins.convert.mask
    * lib.convert
    * scripts.convert
    * scripts.fsmedia
    * tools.preview 
lib/convert.py