public class LivenessCompareRequest extends AbstractModel
| Constructor and Description | 
|---|
| LivenessCompareRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getImageBase64()Get Base64 value of a photo for face comparison;
Base64-encoded image data is up to 3 MB. | 
| String | getLivenessType()Get Liveness detection type. | 
| String | getOptional()Get This parameter does not need to be passed in for this API. | 
| String | getValidateData()Get Input parameter for the numeric mode: numeric verification code (1234). | 
| String | getVideoBase64()Get Base64 value of a video for liveness detection;
The size after Base64-encoding cannot exceed 5 MB. | 
| void | setImageBase64(String ImageBase64)Set Base64 value of a photo for face comparison;
Base64-encoded image data is up to 3 MB. | 
| void | setLivenessType(String LivenessType)Set Liveness detection type. | 
| void | setOptional(String Optional)Set This parameter does not need to be passed in for this API. | 
| void | setValidateData(String ValidateData)Set Input parameter for the numeric mode: numeric verification code (1234). | 
| void | setVideoBase64(String VideoBase64)Set Base64 value of a video for liveness detection;
The size after Base64-encoding cannot exceed 5 MB. | 
| 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, toJsonStringpublic String getImageBase64()
public void setImageBase64(String ImageBase64)
ImageBase64 - Base64 value of a photo for face comparison;
Base64-encoded image data is up to 3 MB. Only JPG and PNG formats are supported.public String getVideoBase64()
public void setVideoBase64(String VideoBase64)
VideoBase64 - Base64 value of a video for liveness detection;
The size after Base64-encoding cannot exceed 5 MB. MP4, AVI, and FLV formats are supported.public String getLivenessType()
public void setLivenessType(String LivenessType)
LivenessType - Liveness detection type. Valid values: LIP/ACTION/SILENT.
LIP: numeric mode; ACTION: motion mode; SILENT: silent mode. You need to select a mode to input.public String getValidateData()
public void setValidateData(String ValidateData)
ValidateData - Input parameter for the numeric mode: numeric verification code (1234). An API needs to be called first to get a numeric verification code;
Input parameter for the motion mode: motion order (2,1 or 1,2). An API needs to be called first to get the motion order;
Input parameter for silent mode: empty.public String getOptional()
public void setOptional(String Optional)
Optional - This parameter does not need to be passed in for this API.Copyright © 2020. All rights reserved.