          self.filename = filename
          self.hash = None
          """ str: The hash of the face. This cannot be set until the file is saved due to image
          compression, but will be set if loading data from :func:`from_alignment` """
  
          self.aligned = dict()
 
</s> remove         return self.config.get("mask_type", None) is not None
 </s> add         return self.config.get("replicate_input_mask", False) </s> remove         config item ``warp_to_landmarks`` is ``True`` or if :attr:`mask_type` is not ``None``. If
        the landmarks for an image cannot be found, then an error is raised. """
 </s> add         config item ``warp_to_landmarks`` is ``True``. If the landmarks for an image cannot be
        found, then an error is raised. """ </s> remove         self.image = image[self.top: self.bottom,
 </s> add         self.face = image[self.top: self.bottom,
        self.face = None
          self.filename = filename
          self.hash = None
        self.face = None
          """ str: The hash of the face. This cannot be set until the file is saved due to image
          compression, but will be set if loading data from :func:`from_alignment` """
  
          self.aligned = dict()
keep add keep keep keep keep
 Smart Mask Exposure for Extraction & Training (#831)

Smart Masks - Initial Commit 
lib/faces_detect.py