  import cv2
  
  from lib.alignments import Alignments
  from lib.faces_detect import DetectedFace
  from lib.utils import _image_extensions, _video_extensions, hash_image_file, hash_encode_image
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class AlignmentData(Alignments):
 
</s> remove from lib.utils import (camel_case_split, get_folder, get_image_paths,
 </s> add from lib.utils import (camel_case_split, cv2_read_img, get_folder, get_image_paths, </s> remove from lib.utils import (get_folder, get_image_paths, set_system_verbosity)
 </s> add from lib.utils import cv2_read_img, get_folder, get_image_paths, set_system_verbosity </s> remove import cv2

 </s> add 
from lib.utils import (_image_extensions, _video_extensions, cv2_read_img, hash_image_file,
                       hash_encode_image)
  import cv2
  
  from lib.alignments import Alignments
  from lib.faces_detect import DetectedFace
from lib.utils import (_image_extensions, _video_extensions, cv2_read_img, hash_image_file,
                       hash_encode_image)
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class AlignmentData(Alignments):
keep keep keep keep replace keep keep keep keep keep
 Centralize cv2 image reading and handle bad filenames 
tools/lib_alignments/media.py