  
      def load_image(self, filename):
          """ Load an image """
          src = os.path.join(self.folder, filename)
          image = cv2.imread(src)
          return image
  
      @staticmethod
      def save_image(output_folder, filename, image):
          """ Save an image """
 
</s> remove         cv2.imwrite(output_file, image)
 </s> add         cv2.imwrite(output_file, image)  # pylint: disable=no-member </s> remove             yield filename, cv2.imread(filename)
 </s> add             yield filename, cv2.imread(filename)  # pylint: disable=no-member </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         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]
        image = cv2.imread(src)  # pylint: disable=no-member
  
      def load_image(self, filename):
          """ Load an image """
          src = os.path.join(self.folder, filename)
        image = cv2.imread(src)  # pylint: disable=no-member
          return image
  
      @staticmethod
      def save_image(output_folder, filename, image):
          """ Save an image """
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