  import logging
  import os
  import warnings
  
  from pathlib import Path
  from re import finditer
  from time import time
  
  import cv2
 
</s> remove import cv2
 </s> add  </s> remove from cv2 import (  # pylint: disable=no-name-in-module
    rectangle, circle, polylines, putText,
    FONT_HERSHEY_DUPLEX, fillPoly, addWeighted)
from numpy import array, int32, uint8, zeros
 </s> add import logging

import cv2
import numpy as np </s> remove from lib.utils import get_folder, get_image_paths
 </s> add from lib.utils import get_folder, get_image_paths, hash_image_file </s> remove from lib.utils import get_folder
 </s> add from lib.utils import get_folder, hash_encode_image
from hashlib import sha1
  import logging
  import os
  import warnings
  
from hashlib import sha1
  from pathlib import Path
  from re import finditer
  from time import time
  
  import cv2
keep keep keep add 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 
lib/utils.py