      def color_adjust(self, img, augment_color, is_display):
          """ Color adjust RGB image """
          logger.trace("Color adjusting image")
          return img.astype('float32') / 255.0
  
      @staticmethod
      def random_clahe(image):
          """ Randomly perform Contrast Limited Adaptive Histogram Equilization """
 
</s> remove     @staticmethod
    def color_adjust(img):
 </s> add     def color_adjust(self, img, augment_color, is_display): </s> remove     def process_face(self, filename, side, is_timelapse):
 </s> add     def process_face(self, filename, side, is_display):
        if not is_display and augment_color:
            logger.trace("Augmenting color")
            face, _ = self.separate_mask(img)
            face = face.astype("uint8")
            face = self.random_clahe(face)
            face = self.random_lab(face)
            img[:, :, :3] = face
      def color_adjust(self, img, augment_color, is_display):
          """ Color adjust RGB image """
          logger.trace("Color adjusting image")
        if not is_display and augment_color:
            logger.trace("Augmenting color")
            face, _ = self.separate_mask(img)
            face = face.astype("uint8")
            face = self.random_clahe(face)
            face = self.random_lab(face)
            img[:, :, :3] = face
          return img.astype('float32') / 255.0
  
      @staticmethod
      def random_clahe(image):
          """ Randomly perform Contrast Limited Adaptive Histogram Equilization """
keep keep add keep keep keep keep keep
 Color Augmentation method (#752)

* Color Augmentation: Implement testing code

* Tweak Contrast and Lighting augmentation amounts

* Prevent color augmentation from entering timelapse

* Remove all augmentations from preview images 
lib/training_data.py