public class LivenessCompareResponse extends AbstractModel
Constructor and Description |
---|
LivenessCompareResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getBestFrameBase64()
Get The best screenshot of the video after successful verification.
|
String |
getDescription()
Get Service result description.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
String |
getResult()
Get Service error code.
|
Float |
getSim()
Get Similarity.
|
void |
setBestFrameBase64(String BestFrameBase64)
Set The best screenshot of the video after successful verification.
|
void |
setDescription(String Description)
Set Service result description.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setResult(String Result)
Set Service error code.
|
void |
setSim(Float Sim)
Set Similarity.
|
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 getBestFrameBase64()
public void setBestFrameBase64(String BestFrameBase64)
BestFrameBase64
- The best screenshot of the video after successful verification. The photo is Base64-encoded and in JPG format.public Float getSim()
public void setSim(Float Sim)
Sim
- Similarity. Value range: [0.00, 100.00]. As a recommendation, when the similarity is greater than or equal to 70, it can be determined that the two faces are of the same person. You can adjust the threshold according to your specific scenario (the FAR at the threshold of 70 is 0.1%, and FAR at the threshold of 80 is 0.01%).public String getResult()
public void setResult(String Result)
Result
- Service error code. `Success` will be returned for success. For error information, please see the `FailedOperation` section in the error code list below.public String getDescription()
public void setDescription(String Description)
Description
- Service result description.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2020. All rights reserved.