              self.scale = 1.0
  
      def set_detect_image(self, input_image):
          """ Convert the image to RGB and scale """
          image = input_image[:, :, ::-1].copy()
          if self.scale == 1.0:
              return image
  
          height, width = image.shape[:2]
 
</s> remove         """ Crop an image around bounding box to the face """
 </s> add         """ Crop an image around bounding box to the face
            and capture it's dimensions """ </s> remove         image = cv2.imread(src)
 </s> add         image = cv2.imread(src)  # pylint: disable=no-member </s> remove         alignments = self.alignments.get_alignments_for_frame(frame_name)
 </s> add         alignments = self.alignments.get_faces_in_frame(frame_name) </s> remove         for alignment in alignments:
            face, matrix = self.extract_one_face(alignment, image.copy())
            self.faces.append(face)
            self.matrices.append(matrix)
 </s> add         self.faces = [self.extract_one_face(alignment, image.copy())
                      for alignment in alignments] </s> remove     def set_faces(self, frame, alignments):
 </s> add     def set_faces(self, frame):
        # pylint: disable=no-member
              self.scale = 1.0
  
      def set_detect_image(self, input_image):
          """ Convert the image to RGB and scale """
        # pylint: disable=no-member
          image = input_image[:, :, ::-1].copy()
          if self.scale == 1.0:
              return image
  
          height, width = image.shape[:2]
keep keep keep add 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 
plugins/extract/detect/_base.py