  
      def _padding_from_coverage(self, size, coverage_ratio):
          """ Return the image padding for a face from coverage_ratio set against a
              pre-padded training image """
          adjusted_ratio = coverage_ratio - (1 - self._extract_ratio)
          padding = round((size * adjusted_ratio) / 2)
          logger.trace(padding)
          return padding
  
      def load_feed_face(self, image, size=64, coverage_ratio=0.625, dtype=None):
          """ Align a face in the correct dimensions for feeding into a model.
 
</s> remove         self.image = image[self.top: self.bottom,
 </s> add         self.face = image[self.top: self.bottom, </s> remove             self.aligned["padding"] = padding
 </s> add             self.aligned["padding"] = self._padding_from_coverage(size, coverage_ratio) </s> remove             padding = int(size * self._extract_ratio) // 2
 </s> add  </s> remove     def load_aligned(self, image, size=256, dtype=None):
 </s> add     def load_aligned(self, image, size=256, coverage_ratio=1.0, dtype=None): </s> remove     def _extract_ratio(self):
        """ float: The ratio of padding to add for training images """
        return 0.375
 </s> add     def training_coverage(self):
        """ The coverage ratio to add for training images """
        return 1.0
        padding = int((size * (coverage_ratio - 0.625)) / 2)
  
      def _padding_from_coverage(self, size, coverage_ratio):
          """ Return the image padding for a face from coverage_ratio set against a
              pre-padded training image """
        padding = int((size * (coverage_ratio - 0.625)) / 2)
        padding = int((size * (coverage_ratio - 0.625)) / 2)
          logger.trace(padding)
          return padding
  
      def load_feed_face(self, image, size=64, coverage_ratio=0.625, dtype=None):
          """ Align a face in the correct dimensions for feeding into a model.
keep keep keep keep replace replace keep keep keep keep keep
 Smart Mask Exposure for Extraction & Training (#831)

Smart Masks - Initial Commit 
lib/faces_detect.py