          self.y = d_rect.top()
          self.h = d_rect.bottom() - d_rect.top()
  
      def image_to_face(self, image):
          """ Crop an image around bounding box to the face """
          self.image = image[self.y: self.y + self.h,
                             self.x: self.x + self.w]
  
      def to_alignment(self):
          """ Convert a detected face to alignment dict """
 
</s> remove                  landmarksXY=None):
 </s> add                  frame_dims=None, landmarksXY=None): </s> remove         alignments = self.alignments.get_alignments_for_frame(frame)
 </s> add         alignments = self.alignments.get_faces_in_frame(frame) </s> remove         alignment = self.alignments.get_alignments_for_frame(frame)[face_id]
 </s> add         alignment = self.alignments.get_faces_in_frame(frame)[face_id] </s> remove         image = cv2.imread(src)
 </s> add         image = cv2.imread(src)  # pylint: disable=no-member
        """ Crop an image around bounding box to the face
            and capture it's dimensions """
          self.y = d_rect.top()
          self.h = d_rect.bottom() - d_rect.top()
  
      def image_to_face(self, image):
        """ Crop an image around bounding box to the face
            and capture it's dimensions """
          self.image = image[self.y: self.y + self.h,
                             self.x: self.x + self.w]
  
      def to_alignment(self):
          """ Convert a detected face to alignment dict """
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 
lib/faces_detect.py