Interface PreprocessingConfig.ColorOrBuilder (1.23.0)

public static interface PreprocessingConfig.ColorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBrightness()

public abstract double getBrightness()

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.

double brightness = 3;

Returns
TypeDescription
double

The brightness.

getContrast()

public abstract double getContrast()

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.

double contrast = 2;

Returns
TypeDescription
double

The contrast.

getSaturation()

public abstract double getSaturation()

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.

double saturation = 1;

Returns
TypeDescription
double

The saturation.