public class FaceEnhanceInfo extends AbstractModel
skipSign
Constructor and Description |
---|
FaceEnhanceInfo() |
FaceEnhanceInfo(FaceEnhanceInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Float |
getIntensity()
Get The face enhancement strength.
|
String |
getSwitch()
Get Whether to enable face enhancement.
|
void |
setIntensity(Float Intensity)
Set The face enhancement strength.
|
void |
setSwitch(String Switch)
Set Whether to enable face enhancement.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public FaceEnhanceInfo()
public FaceEnhanceInfo(FaceEnhanceInfo source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable face enhancement. Valid values:
public Float getIntensity()
public void setIntensity(Float Intensity)
Intensity
- The face enhancement strength. This parameter is valid only if `Switch` is `ON`. Value range: 0.0 – 1.0.
Default value: `0.0`.Copyright © 2023. All rights reserved.