public class FaceidClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION| Constructor and Description |
|---|
FaceidClient(Credential credential,
String region)
构造client
|
FaceidClient(Credential credential,
String region,
ClientProfile profile)
构造client
|
| Modifier and Type | Method and Description |
|---|---|
DetectAuthResponse |
DetectAuth(DetectAuthRequest req)
每次开始核身前,需先调用本接口获取BizToken,用来串联核身流程,在核身完成后,用于获取验证结果信息。
|
GetActionSequenceResponse |
GetActionSequence(GetActionSequenceRequest req)
使用动作活体检测模式前,需调用本接口获取动作顺序。
|
GetDetectInfoResponse |
GetDetectInfo(GetDetectInfoRequest req)
完成验证后,用BizToken调用本接口获取结果信息,BizToken生成后三天内(3\*24\*3,600秒)可多次拉取。
|
GetLiveCodeResponse |
GetLiveCode(GetLiveCodeRequest req)
使用数字活体检测模式前,需调用本接口获取数字验证码。
|
ImageRecognitionResponse |
ImageRecognition(ImageRecognitionRequest req)
传入照片和身份信息,判断该照片与公安权威库的证件照是否属于同一个人。
|
LivenessCompareResponse |
LivenessCompare(LivenessCompareRequest req)
传入视频和照片,先判断视频中是否为真人,判断为真人后,再判断该视频中的人与上传照片是否属于同一个人。
|
LivenessRecognitionResponse |
LivenessRecognition(LivenessRecognitionRequest req)
传入视频和身份信息,先判断视频中是否为真人,判断为真人后,再判断该视频中的人与公安权威库的证件照是否属于同一个人。
|
getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegionpublic FaceidClient(Credential credential, String region)
credential - 认证信息实例region - 产品地域public FaceidClient(Credential credential, String region, ClientProfile profile)
credential - 认证信息实例region - 产品地域profile - 配置实例public DetectAuthResponse DetectAuth(DetectAuthRequest req) throws TencentCloudSDKException
req - DetectAuthRequestTencentCloudSDKExceptionpublic GetActionSequenceResponse GetActionSequence(GetActionSequenceRequest req) throws TencentCloudSDKException
req - GetActionSequenceRequestTencentCloudSDKExceptionpublic GetDetectInfoResponse GetDetectInfo(GetDetectInfoRequest req) throws TencentCloudSDKException
req - GetDetectInfoRequestTencentCloudSDKExceptionpublic GetLiveCodeResponse GetLiveCode(GetLiveCodeRequest req) throws TencentCloudSDKException
req - GetLiveCodeRequestTencentCloudSDKExceptionpublic ImageRecognitionResponse ImageRecognition(ImageRecognitionRequest req) throws TencentCloudSDKException
req - ImageRecognitionRequestTencentCloudSDKExceptionpublic LivenessCompareResponse LivenessCompare(LivenessCompareRequest req) throws TencentCloudSDKException
req - LivenessCompareRequestTencentCloudSDKExceptionpublic LivenessRecognitionResponse LivenessRecognition(LivenessRecognitionRequest req) throws TencentCloudSDKException
req - LivenessRecognitionRequestTencentCloudSDKExceptionCopyright © 2018. All rights reserved.