              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)
  
          self._post_process.do_actions(extract_media)
          extract_media.remove_image()
  
          faces_count = len(extract_media.detected_faces)
          if faces_count == 0:
 
</s> remove         Loads the aligned face, perform any processing actions and verify the output.
 </s> add         Loads the aligned face, generate the thumbnail, perform any processing actions and verify
        the output. </s> remove from lib.image import encode_image_with_hash, ImagesLoader, ImagesSaver
 </s> add from lib.image import encode_image_with_hash, generate_thumbnail, ImagesLoader, ImagesSaver
            face.thumbnail = generate_thumbnail(face.aligned_face, size=80, quality=60)
              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)
            face.thumbnail = generate_thumbnail(face.aligned_face, size=80, quality=60)
          self._post_process.do_actions(extract_media)
          extract_media.remove_image()
  
          faces_count = len(extract_media.detected_faces)
          if faces_count == 0:
keep keep keep keep replace keep keep keep keep keep
 scripts.extract - Save jpg thumbnails to alignments file 
scripts/extract.py