          alignments = self.alignments.get_alignments_for_frame(frame)
          if not alignments:
              return
          image = self.frames.load_image(frame)
          for alignment in alignments:
              face, matrix = self.extract_one_face(alignment, image.copy())
              self.faces.append(face)
              self.matrices.append(matrix)
          self.current_frame = frame
  
      def extract_one_face(self, alignment, image):
          """ Extract one face from image """
          face = DetectedFace()
 
</s> remove         self.faces = list()
        self.matrices = list()
        alignments = self.alignments.get_alignments_for_frame(frame)
 </s> add         alignments = self.alignments.get_faces_in_frame(frame) </s> remove         return self.extractor.extract(image, face, self.size, self.align_eyes)

    def original_roi(self, matrix):
        """ Return the original ROI of an extracted face """
        points = np.array([[0, 0], [0, self.size - 1],
                           [self.size - 1, self.size - 1],
                           [self.size - 1, 0]], np.int32)
        points = points.reshape((-1, 1, 2))
 </s> add         face.load_aligned(image,
                          size=self.size,
                          padding=self.padding,
                          align_eyes=self.align_eyes)
        return face </s> remove         faces = self.alignments.get_alignments_for_frame(frame)
 </s> add         faces = self.alignments.get_faces_in_frame(frame) </s> remove         original_roi = self.extracted_faces.get_roi_for_frame(frame)

 </s> add         self.extracted_faces.get_faces_in_frame(frame)
        original_roi = [face.original_roi
                        for face in self.extracted_faces.faces]
        self.faces = [self.extract_one_face(alignment, image.copy())
                      for alignment in alignments]
          alignments = self.alignments.get_alignments_for_frame(frame)
          if not alignments:
              return
          image = self.frames.load_image(frame)
        self.faces = [self.extract_one_face(alignment, image.copy())
                      for alignment in alignments]
        self.faces = [self.extract_one_face(alignment, image.copy())
                      for alignment in alignments]
        self.faces = [self.extract_one_face(alignment, image.copy())
                      for alignment in alignments]
        self.faces = [self.extract_one_face(alignment, image.copy())
                      for alignment in alignments]
          self.current_frame = frame
  
      def extract_one_face(self, alignment, image):
          """ Extract one face from image """
          face = DetectedFace()
keep keep keep keep replace replace replace 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