public class CompareResult extends AbstractModel
header, skipSign
Constructor and Description |
---|
CompareResult() |
CompareResult(CompareResult 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 |
---|---|
FileInfo |
getBestFrame()
Get The download URL of the face screenshot during verification, which is valid for 10 minutes.
|
FileInfo |
getCardInfoInputJson()
Get The identity document photo info edited by the user.
|
String |
getCompareErrorCode()
Get The face comparison result code.
|
String |
getCompareErrorMsg()
Get The description of the face comparison result.
|
String |
getErrorCode()
Get The final verification result code.
|
String |
getErrorMsg()
Get The description of the final verification result.
|
Boolean |
getIsNeedCharge()
Get This parameter is disused.
|
FileInfo |
getLiveData()
Get The liveness algorithm package generated during this SDK-based liveness detection.
|
String |
getLiveErrorCode()
Get The liveness detection result code.
|
String |
getLiveErrorMsg()
Get The description of the liveness detection result.
|
FileInfo |
getLiveVideo()
Get The download URL of the video used for verification, which is valid for 10 minutes.
|
FileInfo |
getProfileImage()
Get The download URL of the profile photo screenshot from the identity document, which is valid for 10 minutes.
|
String |
getRequestId()
Get The request ID of this verification process.
|
Float |
getSim()
Get The similarity score of face comparison.
|
void |
setBestFrame(FileInfo BestFrame)
Set The download URL of the face screenshot during verification, which is valid for 10 minutes.
|
void |
setCardInfoInputJson(FileInfo CardInfoInputJson)
Set The identity document photo info edited by the user.
|
void |
setCompareErrorCode(String CompareErrorCode)
Set The face comparison result code.
|
void |
setCompareErrorMsg(String CompareErrorMsg)
Set The description of the face comparison result.
|
void |
setErrorCode(String ErrorCode)
Set The final verification result code.
|
void |
setErrorMsg(String ErrorMsg)
Set The description of the final verification result.
|
void |
setIsNeedCharge(Boolean IsNeedCharge)
Set This parameter is disused.
|
void |
setLiveData(FileInfo LiveData)
Set The liveness algorithm package generated during this SDK-based liveness detection.
|
void |
setLiveErrorCode(String LiveErrorCode)
Set The liveness detection result code.
|
void |
setLiveErrorMsg(String LiveErrorMsg)
Set The description of the liveness detection result.
|
void |
setLiveVideo(FileInfo LiveVideo)
Set The download URL of the video used for verification, which is valid for 10 minutes.
|
void |
setProfileImage(FileInfo ProfileImage)
Set The download URL of the profile photo screenshot from the identity document, which is valid for 10 minutes.
|
void |
setRequestId(String RequestId)
Set The request ID of this verification process.
|
void |
setSim(Float Sim)
Set The similarity score 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, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CompareResult()
public CompareResult(CompareResult source)
public String getErrorCode()
public void setErrorCode(String ErrorCode)
ErrorCode
- The final verification result code.
0: Success.
1001: Failed to call the liveness detection engine.
1004: Face detection failed.
2004: The uploaded face image is too large or too small.
2012: The face is not fully exposed.
2013: No face is detected.
2014: The resolution of the uploaded image is too low . Please upload a new one.
2015: Face comparison failed.
2016: The similarity did not reach the passing standard.public String getErrorMsg()
public void setErrorMsg(String ErrorMsg)
ErrorMsg
- The description of the final verification result.public FileInfo getLiveData()
public void setLiveData(FileInfo LiveData)
LiveData
- The liveness algorithm package generated during this SDK-based liveness detection.public FileInfo getLiveVideo()
public void setLiveVideo(FileInfo LiveVideo)
LiveVideo
- The download URL of the video used for verification, which is valid for 10 minutes.public String getLiveErrorCode()
public void setLiveErrorCode(String LiveErrorCode)
LiveErrorCode
- The liveness detection result code.
0: Success.
1001: Failed to call the liveness detection engine.
1004: Face detection failed.public String getLiveErrorMsg()
public void setLiveErrorMsg(String LiveErrorMsg)
LiveErrorMsg
- The description of the liveness detection result.public FileInfo getBestFrame()
public void setBestFrame(FileInfo BestFrame)
BestFrame
- The download URL of the face screenshot during verification, which is valid for 10 minutes.
Note: This field may return null, indicating that no valid value can be obtained.public FileInfo getProfileImage()
public void setProfileImage(FileInfo ProfileImage)
ProfileImage
- The download URL of the profile photo screenshot from the identity document, which is valid for 10 minutes.public String getCompareErrorCode()
public void setCompareErrorCode(String CompareErrorCode)
CompareErrorCode
- The face comparison result code.
0: Success.
2004: The uploaded face image is too large or too small.
2012: The face is not fully exposed.
2013: No face is detected.
2014: The resolution of the uploaded image is too low . Please upload a new one.
2015: Face comparison failed.
2016: The similarity did not reach the passing standard.
Note: This field may return null, indicating that no valid value can be obtained.public String getCompareErrorMsg()
public void setCompareErrorMsg(String CompareErrorMsg)
CompareErrorMsg
- The description of the face comparison result.
Note: This field may return null, indicating that no valid values can be obtained.public Float getSim()
public void setSim(Float Sim)
Sim
- The similarity score of face comparison.
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getIsNeedCharge()
public void setIsNeedCharge(Boolean IsNeedCharge)
IsNeedCharge
- This parameter is disused.public FileInfo getCardInfoInputJson()
public void setCardInfoInputJson(FileInfo CardInfoInputJson)
CardInfoInputJson
- The identity document photo info edited by the user. Currently, this parameter is not applied.
Note: This field may return null, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The request ID of this verification process.Copyright © 2024. All rights reserved.