Class Color (0.4.1)

Color(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Color preprocessing configuration. .. attribute:: saturation

Control color saturation of the video. Enter a value between -1 and 1, where -1 is fully desaturated and 1 is maximum saturation. 0 is no change. The default is 0.

:type: float

Attributes

NameDescription
contrast float
Control black and white contrast of the video. Enter a value between -1 and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no change. The default is 0.
brightness float
Control brightness of the video. Enter a value between -1 and 1, where -1 is minimum brightness and 1 is maximum brightness. 0 is no change. The default is 0.