public class CompareFaceLivenessResponse extends AbstractModel
header, skipSign| Constructor and Description |
|---|
CompareFaceLivenessResponse() |
CompareFaceLivenessResponse(CompareFaceLivenessResponse 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 |
getBestFrameBase64()
Get The best screenshot photo from the video after verification, encoded in BASE64, in jpg format.
|
String |
getDescription()
Get The service result description
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
String |
getResult()
Get Business Error Codes.
|
Float |
getSim()
Get This value indicates the similarity of face comparison.
|
void |
setBestFrameBase64(String BestFrameBase64)
Set The best screenshot photo from the video after verification, encoded in BASE64, in jpg format.
|
void |
setDescription(String Description)
Set The service result description
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setResult(String Result)
Set Business Error Codes.
|
void |
setSim(Float Sim)
Set This value indicates the similarity of face comparison.
|
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 CompareFaceLivenessResponse()
public CompareFaceLivenessResponse(CompareFaceLivenessResponse source)
public String getResult()
public void setResult(String Result)
Result - Business Error Codes.
-When the return value is "Success", it indicates that liveness detection and face comparison passed. Determined to be the same person.
-When the return value is "FailedOperation.CompareLowSimilarity", it indicates that liveness detection passed, but face comparison similarity is below 70. Determined not to be the same person.
-For other error cases, please refer to [Liveness Face Comparison (API only) Error Codes](https://www.tencentcloud.com/zh/document/product/1061/55390?lang=zh&pg=#97df7537-87fe-4266-87e9-02c816d41ee2)public String getDescription()
public void setDescription(String Description)
Description - The service result descriptionpublic Float getSim()
public void setSim(Float Sim)
Sim - This value indicates the similarity of face comparison. Value range: 0.00-100.00.
- The false acceptance rate for a threshold of 70 is 0.1%, and for a threshold of 80, it is 0.01%.
- This value is valid when the Result parameter is "Success" or "FailedOperation.CompareLowSimilarity".public String getBestFrameBase64()
public void setBestFrameBase64(String BestFrameBase64)
BestFrameBase64 - The best screenshot photo from the video after verification, encoded in BASE64, in jpg format.
The optimal screenshot of the video after verification is the value encoded by BASE64, jpg format.
Note: This field may return "null", indicating that no valid value can be obtained.
Example values: "/9j/4AAQSk... (total length:142036)s97n//2Q=="public String getRequestId()
public void setRequestId(String RequestId)
RequestId - The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.