public class DetectLiveFaceAccurateRequest extends AbstractModel
Constructor and Description |
---|
DetectLiveFaceAccurateRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getFaceModelVersion()
Get Algorithm model version used for face recognition.
|
String |
getImage()
Get Base64-encoded image data, which cannot exceed 5 MB.
|
String |
getUrl()
Get Image URL.
|
void |
setFaceModelVersion(String FaceModelVersion)
Set Algorithm model version used for face recognition.
|
void |
setImage(String Image)
Set Base64-encoded image data, which cannot exceed 5 MB.
|
void |
setUrl(String Url)
Set Image URL.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getImage()
public void setImage(String Image)
Image
- Base64-encoded image data, which cannot exceed 5 MB.
The long side cannot exceed 4,000 px for images in JPG format or 2,000 px for images in other formats.
The recommended image aspect ratio is 3:4 (generally, the aspect ratio of images taken by mobile phones).
The face must be greater than 100*100 px in size.
Supported image formats are PNG, JPG, JPEG, and BMP. GIF is currently not supported.public String getUrl()
public void setUrl(String Url)
Url
- Image URL. The image cannot exceed 5 MB in size after being base64-encoded.
The long side cannot exceed 4,000 px for images in JPG format or 2,000 px for images in other formats.
Either `Url` or `Image` of the image must be provided; if both are provided, only `Url` will be used.
The recommended image aspect ratio is 3:4 (generally, the aspect ratio of images taken by mobile phones).
The face must be greater than 100*100 px in size.
We recommend storing the image in Tencent Cloud, as a Tencent Cloud URL can guarantee higher download speed and stability. The download speed and stability of non-Tencent Cloud URLs may be low.
Supported image formats are PNG, JPG, JPEG, and BMP. GIF is currently not supported.public String getFaceModelVersion()
public void setFaceModelVersion(String FaceModelVersion)
FaceModelVersion
- Algorithm model version used for face recognition. Valid value: 3.0Copyright © 2020. All rights reserved.