  """ Media items (Alignments, Faces, Frames)
      for alignments tool """
  
  import os
  from datetime import datetime
  
  import cv2
  import numpy as np
  
  from lib import Serializer
 
</s> remove import numpy as np
 </s> add  </s> remove from lib import Serializer
 </s> add from lib.alignments import Alignments </s> remove from lib.utils import _image_extensions, rotate_landmarks
from plugins.extract.align._base import Extract as AlignerExtract
 </s> add from lib.utils import _image_extensions </s> remove from lib import Serializer
 </s> add from lib.aligner import Extract as AlignerExtract
from lib.alignments import Alignments as AlignmentsBase </s> remove import cv2
import numpy as np

from lib.aligner import get_align_mat
from lib.align_eyes import FACIAL_LANDMARKS_IDXS
 </s> add 
  """ Media items (Alignments, Faces, Frames)
      for alignments tool """
  
  import os

  
  import cv2
  import numpy as np
  
  from lib import Serializer
keep keep keep keep replace keep keep keep keep keep
 Fix convert-adjust (#531)

* Add dimensions to alignments + refactor

* Add frame_dims + funcs to DetectFaces. Add alignments lib

* Convert Adjust working

* Refactor and tidy up 
tools/lib_alignments/media.py