          self._args = arguments
          self._configfile = configfile
  
          self._scale = arguments.output_scale / 100
          self._adjustments = dict(box=None, mask=None, color=None, seamless=None, sharpening=None)
  
          self._load_plugins()
          logger.debug("Initialized %s", self.__class__.__name__)
  
      @property
 
</s> remove         self._adjustments = dict(box=None, mask=None, color=None, seamless=None, sharpening=None)
 </s> add         self._adjustments = dict(mask=None, color=None, seamless=None, sharpening=None) </s> remove         self._erodes = [self.config.get(erode, 0) / 100 for erode in erode_types]
 </s> add         self._erodes = [self._config.get(erode, 0) / 100 for erode in erode_types] </s> remove     def __init__(self, mask_type: str, output_size: int, coverage_ratio: float, **kwargs):
        super().__init__(mask_type, output_size, **kwargs)
 </s> add     def __init__(self,
                 mask_type: str,
                 output_size: int,
                 coverage_ratio: float,
                 configfile: Optional[str] = None,
                 config: Optional[FaceswapConfig] = None) -> None:
        logger.debug("Initializing %s: (mask_type: '%s', output_size: %s, coverage_ratio: %s, "
                     "configfile: %s, config: %s)", self.__class__.__name__, mask_type,
                     coverage_ratio, output_size, configfile, config)
        self._mask_type = mask_type
        self._config = self._set_config(configfile, config)
        logger.debug("config: %s", self._config)

        self._coverage_ratio = coverage_ratio
        self._box = self._get_box(output_size) </s> remove         new_face = self._adjustments["box"].run(new_face)
 </s> add  </s> remove         self._coverage_ratio = coverage_ratio
 </s> add     def _set_config(self,
                    configfile: Optional[str],
                    config: Optional[FaceswapConfig]) -> dict:
        """ Set the correct configuration for the plugin based on whether a config file
        or pre-loaded config has been passed in.

        Parameters
        ----------
        configfile: str
            Location of custom configuration ``ini`` file. If ``None`` then use the
            default config location
        config: :class:`lib.config.FaceswapConfig`
            Pre-loaded :class:`lib.config.FaceswapConfig`. If passed, then this will be
            used over any configuration on disk. If ``None`` then it is ignored.

        Returns
        -------
        dict
            The configuration in dictionary form for the given from
            :attr:`lib.config.FaceswapConfig.config_dict`
        """
        section = ".".join(self.__module__.split(".")[-2:])
        if config is None:
            retval = Config(section, configfile=configfile).config_dict
        else:
            config.section = section
            retval = config.config_dict
            config.section = None
        logger.debug("Config: %s", retval)
        return retval

    def _get_box(self, output_size: int) -> np.ndarray:
        """ Apply a gradient overlay to the edge of the swap box to smooth out any hard areas
        that where the face intersects with the edge of the swap area.
        self._adjustments = dict(mask=None, color=None, seamless=None, sharpening=None)
          self._args = arguments
          self._configfile = configfile
  
          self._scale = arguments.output_scale / 100
        self._adjustments = dict(mask=None, color=None, seamless=None, sharpening=None)
  
          self._load_plugins()
          logger.debug("Initialized %s", self.__class__.__name__)
  
      @property
keep keep keep keep replace keep keep keep keep keep
 convert: remove box blend plugin 
lib/convert.py