Skip to content

RandomBrightness

RandomBrightness class

dlf.preprocessing.brightness.RandomBrightness(max_delta=0.2)

Data augmentation method that randomly adjust the brightness of an RGB image

Aliases

  • brightness
  • Brightness
  • random_brightness
  • RandomBrightness

Arguments

  • max_delta: float [0,1). Scalar that is added to the pixel. Defaults to 0.2.

YAML Configuration

preprocess_list:
    brigthness:
        max_delta: 0.2