  # TODO imageio single frame seek seems slow. Look into this
  # import imageio
  
  from lib.alignments import Alignments
  from lib.faces_detect import DetectedFace
  from lib.utils import (_image_extensions, _video_extensions, count_frames_and_secs, cv2_read_img,
                         hash_image_file, hash_encode_image)
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 
</s> remove import cv2
 </s> add  </s> remove from lib.align_eyes import align_eyes as func_align_eyes, FACIAL_LANDMARKS_IDXS
 </s> add  </s> remove from lib.align_eyes import FACIAL_LANDMARKS_IDXS

 </s> add  </s> remove     def load_aligned(self, image, size=256, align_eyes=False, dtype=None):
 </s> add     def load_aligned(self, image, size=256, dtype=None):
from lib.aligner import Extract as AlignerExtract
  # TODO imageio single frame seek seems slow. Look into this
  # import imageio
  
from lib.aligner import Extract as AlignerExtract
  from lib.alignments import Alignments
  from lib.faces_detect import DetectedFace
  from lib.utils import (_image_extensions, _video_extensions, count_frames_and_secs, cv2_read_img,
                         hash_image_file, hash_encode_image)
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
keep keep add keep keep keep keep keep keep
 Align eyes deprecation (#851)

* align eyes removal

* add align_eyes tool 
tools/lib_alignments/media.py