  
          if self.erosion_kernel is not None:
              image_mask = cv2.erode(image_mask,self.erosion_kernel,iterations = 1)
  
          if self.blurSize!=0:
              image_mask = cv2.blur(image_mask,(self.blurSize,self.blurSize))
  
          return image_mask
 
</s> remove         elif self.maskType == 'FaceHull':
 </s> add         elif self.mask_type == 'faceHull':
 </s> remove         if self.maskType == 'Rect':
 </s> add         if self.mask_type == 'rect':
 </s> remove         self.blurSize = 2
        self.seamlessClone = False
        self.maskType = 'Rect' # Choose in 'FaceHullAndRect','FaceHull','Rect'
 </s> add         if erosion_kernel_size is not None:
            self.erosion_kernel = cv2.getStructuringElement(cv2.MORPH_ELLIPSE,(erosion_kernel_size,erosion_kernel_size))

        self.blur_size = blur_size
        self.seamless_clone = seamless_clone
        self.mask_type = mask_type.lower() # Choose in 'FaceHullAndRect','FaceHull','Rect'
 </s> remove         if 'Hull' in self.maskType:
 </s> add         if 'hull' in self.mask_type:
 </s> remove 
        converter = PluginLoader.get_converter(conv_name)(model.converter(False))
 </s> add         converter = PluginLoader.get_converter(conv_name)(model.converter(False),
            blur_size=self.arguments.blur_size,
            seamless_clone=self.arguments.seamless_clone,
            mask_type=self.arguments.mask_type,
            erosion_kernel_size=self.arguments.erosion_kernel_size,
            smooth_mask=self.arguments.smooth_mask,
            avg_color_adjust=self.arguments.avg_color_adjust
        )
        if self.blur_size!=0:
            image_mask = cv2.blur(image_mask,(self.blur_size,self.blur_size))

  
          if self.erosion_kernel is not None:
              image_mask = cv2.erode(image_mask,self.erosion_kernel,iterations = 1)
  
        if self.blur_size!=0:
            image_mask = cv2.blur(image_mask,(self.blur_size,self.blur_size))
        if self.blur_size!=0:
            image_mask = cv2.blur(image_mask,(self.blur_size,self.blur_size))
  
          return image_mask
keep keep keep keep replace replace keep keep
 extended arguments for convert.py (#89)

* extended arguments for convert re https://github.com/deepfakes/faceswap/issues/85

* helptext for extended arguments.

* changed default mask type to facehullandrect 
plugins/Convert_Masked.py