Send feedback
Interface PreprocessingConfig.ColorOrBuilder (1.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.15.0 keyboard_arrow_down
public static interface PreprocessingConfig.ColorOrBuilder extends 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 Type Description 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 Type Description 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 Type Description double
The saturation.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-16 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?