              Dictionary output from :class:`plugins.extract.Pipeline.Extractor`
          size: int
              The size that the aligned face should be created at
          """
          for face in faces["detected_faces"]:
              face.load_aligned(faces["image"], size=size)
  
          self._post_process.do_actions(faces)
  
          faces_count = len(faces["detected_faces"])
          if faces_count == 0:
 
</s> remove         faces: dict
            Dictionary output from :class:`plugins.extract.Pipeline.Extractor`
 </s> add         extract_media: :class:`plugins.extract.pipeline.ExtractMedia`
            Output from :class:`plugins.extract.pipeline.Extractor` </s> remove         self._post_process.do_actions(faces)
 </s> add         self._post_process.do_actions(extract_media)
        extract_media.remove_image() </s> remove         faces_count = len(faces["detected_faces"])
 </s> add         faces_count = len(extract_media.detected_faces) </s> remove                            os.path.basename(faces["filename"]))
 </s> add                            os.path.basename(extract_media.filename)) </s> remove         faces: dict
            The output dictionary from :class:`plugins.extract.Pipeline.Extractor`
 </s> add         extract_media: :class:`~plugins.extract.pipeline.ExtractMedia`
            The output from :class:`~plugins.extract.Pipeline.Extractor`
        for face in extract_media.detected_faces:
            face.load_aligned(extract_media.image, size=size)
              Dictionary output from :class:`plugins.extract.Pipeline.Extractor`
          size: int
              The size that the aligned face should be created at
          """
        for face in extract_media.detected_faces:
            face.load_aligned(extract_media.image, size=size)
        for face in extract_media.detected_faces:
            face.load_aligned(extract_media.image, size=size)
  
          self._post_process.do_actions(faces)
  
          faces_count = len(faces["detected_faces"])
          if faces_count == 0:
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 
scripts/extract.py