      # <<< FACE NORMALIZATION METHODS >>> #
      def _normalize_faces(self, faces):
          """ Normalizes the face for feeding into model
  
          The normalization method is dictated by the command line argument:
              -nh (--normalization)
          """
          if self.normalize_method is None:
              return faces
          logger.trace("Normalizing faces")
          meth = getattr(self, "_normalize_{}".format(self.normalize_method.lower()))
 
</s> remove     def _compile_detection_image(self, input_image):
        """ Compile the detection image for feeding into the model"""
        image = self._convert_color(input_image)
 </s> add     def _compile_detection_image(self, item):
        """ Compile the detection image for feeding into the model </s> remove             logger.trace("Yielding: (filename: '%s', image: %s, detected_faces: %s)",
                         retval["filename"], retval["image"].shape, len(retval["detected_faces"]))
            yield retval
 </s> add             logger.trace("Final Output: (filename: '%s', image shape: %s, detected_faces: %s, "
                         "item: %s)",
                         output.filename, output.image_shape, output.detected_faces, output)
            yield output </s> remove                              item["filename"], len(item["detected_faces"]))
                self._faces_per_filename[item["filename"]] = len(item["detected_faces"])
 </s> add                              item.filename, len(item.detected_faces))
                self._faces_per_filename[item.filename] = len(item.detected_faces) </s> remove     """ Creates a :mod:`~plugins.extract.detect`/:mod:`~plugins.extract.align` pipeline and yields
    results frame by frame from the :attr:`detected_faces` generator
 </s> add     """ Creates a :mod:`~plugins.extract.detect`/:mod:`~plugins.extract.align``/\
    :mod:`~plugins.extract.mask` pipeline and yields results frame by frame from the
    :attr:`detected_faces` generator </s> remove         if self._rollover:
 </s> add         if self._rollover is not None:
        The normalization method is dictated by the command line argument `-nh (--normalization)`
      # <<< FACE NORMALIZATION METHODS >>> #
      def _normalize_faces(self, faces):
          """ Normalizes the face for feeding into model
  
        The normalization method is dictated by the command line argument `-nh (--normalization)`
        The normalization method is dictated by the command line argument `-nh (--normalization)`
          """
          if self.normalize_method is None:
              return faces
          logger.trace("Normalizing faces")
          meth = getattr(self, "_normalize_{}".format(self.normalize_method.lower()))
keep keep keep keep replace replace keep keep keep keep keep
 plugins.extract - Create ExtractMedia class for pipeline flow
Bugfix - Fix memory leak in extract 
plugins/extract/align/_base.py