          return face_count
  
      def select_valid_faces(self, frame):
          """ Return valid faces for extraction """
          faces = self.extracted_faces.get_faces_for_frame(frame)
          if self.type != "large":
              return faces
          valid_faces = list()
          sizes = self.extracted_faces.get_roi_size_for_frame(frame)
          for idx, size in enumerate(sizes):
 
</s> remove         """ Return faces and transformed face matrices
 </s> add         """ Return faces and transformed landmarks </s> remove     def set_faces(self, frame, alignments):
 </s> add     def set_faces(self, frame): </s> remove 
    def get_aligned_landmarks_for_frame(self, frame, landmarks_xy,
                                        update=False):
        """ Return the transposed landmarks for the selected face """
        if self.current_frame != frame or update:
            self.get_faces(frame)
        aligned_landmarks = list()
        if not self.matrices:
            return aligned_landmarks
        for idx, landmarks in enumerate(landmarks_xy):
            matrix = self.matrices[idx]
            aligned_landmarks.append(
                self.extractor.transform_points(landmarks,
                                                matrix,
                                                self.size,
                                                self.padding))
        return aligned_landmarks
 </s> add  </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         self.matrices = list()
 </s> add 
        faces = self.extracted_faces.get_faces_in_frame(frame)
          return face_count
  
      def select_valid_faces(self, frame):
          """ Return valid faces for extraction """
        faces = self.extracted_faces.get_faces_in_frame(frame)
          if self.type != "large":
              return faces
          valid_faces = list()
          sizes = self.extracted_faces.get_roi_size_for_frame(frame)
          for idx, size in enumerate(sizes):
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/jobs.py