  from scripts.fsmedia import Alignments, Images, PostProcess, Utils
  from lib.faces_detect import DetectedFace
  from lib.multithreading import BackgroundGenerator, SpawnProcess
  from lib.queue_manager import queue_manager
  from lib.utils import get_folder, get_image_paths
  
  from plugins.plugin_loader import PluginLoader
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
 
</s> remove from lib.utils import get_folder
 </s> add from lib.utils import get_folder, hash_encode_image </s> remove import cv2
 </s> add  </s> remove from tools.lib_alignments.jobs import Check, Draw, Extract, Legacy, Reformat, RemoveAlignments, Sort, Spatial
 </s> add from tools.lib_alignments.jobs import Check, Draw, Extract, Legacy, Reformat, RemoveAlignments, Rename, Sort, Spatial
from lib.utils import get_folder, get_image_paths, hash_image_file
  from scripts.fsmedia import Alignments, Images, PostProcess, Utils
  from lib.faces_detect import DetectedFace
  from lib.multithreading import BackgroundGenerator, SpawnProcess
  from lib.queue_manager import queue_manager
from lib.utils import get_folder, get_image_paths, hash_image_file
  
  from plugins.plugin_loader import PluginLoader
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
keep keep keep keep replace keep keep keep keep keep
 Add Face Hashes to Alignments (#550)

* Convert main scripts to use face hashes

* Alignment tool: Use hashes, add logging, add face rename function

* More logging. Update Manual tool to work with hashing 
scripts/convert.py