public class DetectLiveFaceAccurateRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DetectLiveFaceAccurateRequest() | 
| DetectLiveFaceAccurateRequest(DetectLiveFaceAccurateRequest 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 | 
|---|---|
| String | getFaceModelVersion()Get Algorithm model version used for face recognition. | 
| String | getImage()Get Specifies the base64 code of the image. | 
| String | getUrl()Get Specifies the Url of the image. | 
| void | setFaceModelVersion(String FaceModelVersion)Set Algorithm model version used for face recognition. | 
| void | setImage(String Image)Set Specifies the base64 code of the image. | 
| void | setUrl(String Url)Set Specifies the Url of the image. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DetectLiveFaceAccurateRequest()
public DetectLiveFaceAccurateRequest(DetectLiveFaceAccurateRequest source)
public String getImage()
public void setImage(String Image)
Image - Specifies the base64 code of the image.
-base64-Encoded size cannot exceed 5M.
-The long side pixel of a jpg image must not exceed 4000. the long side pixel of another format image cannot exceed 2000. 
-Specifies the image aspect ratio should be close to 3:4. mobile phone shooting proportion is best.
-Specifies the human face dimension is greater than 100X100 pixels.
-Supported image formats include PNG, JPG, JPEG, and BMP. GIF is not supported.public String getUrl()
public void setUrl(String Url)
Url - Specifies the Url of the image.
-Specifies the maximum size of the corresponding image after base64 encoding is 5M.
-The long side pixel of a jpg image must not exceed 4000. the long side pixel of another format image must not exceed 2000.
-Url or Image must be provided. if both are provided, only use Url. 
-Specifies the image aspect ratio should be close to 3:4. mobile phone shooting proportion is best.
-Specifies the human face dimension is greater than 100X100 pixels.
-Image storage Url on tencent cloud guarantees higher download speed and stability. it is recommended to store images on tencent cloud. non-tencent cloud storage urls may be impacted in speed and stability.
-Supported image formats include PNG, JPG, JPEG, and BMP. GIF is not supported.public String getFaceModelVersion()
public void setFaceModelVersion(String FaceModelVersion)
FaceModelVersion - Algorithm model version used for face recognition. Valid value: `3.0`.Copyright © 2025. All rights reserved.