              image = self.mask_class(src_pts, image, channels=4).mask
  
          image = self.processing.color_adjust(image)
  
          if not is_timelapse:
              image = self.processing.random_transform(image)
              if not self.training_opts["no_flip"]:
                  image = self.processing.do_random_flip(image)
          sample = image.copy()[:, :, :3]
  
 
</s> remove         image = self.processing.color_adjust(image)
 </s> add         image = self.processing.color_adjust(image,
                                             self.training_opts["augment_color"],
                                             is_display) </s> remove         logger.trace("Process face: (filename: '%s', side: '%s', is_timelapse: %s)",
                     filename, side, is_timelapse)
 </s> add         logger.trace("Process face: (filename: '%s', side: '%s', is_display: %s)",
                     filename, side, is_display) </s> remove         do_preview = False if viewer is None else True
        do_timelapse = False if timelapse_kwargs is None else True
 </s> add         do_preview = viewer is not None
        do_timelapse = timelapse_kwargs is not None </s> remove         target_image = cv2.warpAffine(  # pylint: disable=no-member
 </s> add         target_image = cv2.warpAffine(  # pylint:disable=no-member
        if not is_display:
              image = self.mask_class(src_pts, image, channels=4).mask
  
          image = self.processing.color_adjust(image)
  
        if not is_display:
              image = self.processing.random_transform(image)
              if not self.training_opts["no_flip"]:
                  image = self.processing.do_random_flip(image)
          sample = image.copy()[:, :, :3]
  
keep keep keep keep replace 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