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)
使用数字活体检测模式前,需调用本接口获取数字验证码。
|
IdCardVerificationResponse |
IdCardVerification(IdCardVerificationRequest req)
传入姓名和身份证号,校验两者的真实性和一致性。
|
ImageRecognitionResponse |
ImageRecognition(ImageRecognitionRequest req)
传入照片和身份信息,判断该照片与公安权威库的证件照是否属于同一个人。
|
LivenessCompareResponse |
LivenessCompare(LivenessCompareRequest req)
传入视频和照片,先判断视频中是否为真人,判断为真人后,再判断该视频中的人与上传照片是否属于同一个人。
|
LivenessRecognitionResponse |
LivenessRecognition(LivenessRecognitionRequest req)
传入视频和身份信息,先判断视频中是否为真人,判断为真人后,再判断该视频中的人与公安权威库的证件照是否属于同一个人。
|
getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public 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
- DetectAuthRequestTencentCloudSDKException
public GetActionSequenceResponse GetActionSequence(GetActionSequenceRequest req) throws TencentCloudSDKException
req
- GetActionSequenceRequestTencentCloudSDKException
public GetDetectInfoResponse GetDetectInfo(GetDetectInfoRequest req) throws TencentCloudSDKException
req
- GetDetectInfoRequestTencentCloudSDKException
public GetLiveCodeResponse GetLiveCode(GetLiveCodeRequest req) throws TencentCloudSDKException
req
- GetLiveCodeRequestTencentCloudSDKException
public IdCardVerificationResponse IdCardVerification(IdCardVerificationRequest req) throws TencentCloudSDKException
req
- IdCardVerificationRequestTencentCloudSDKException
public ImageRecognitionResponse ImageRecognition(ImageRecognitionRequest req) throws TencentCloudSDKException
req
- ImageRecognitionRequestTencentCloudSDKException
public LivenessCompareResponse LivenessCompare(LivenessCompareRequest req) throws TencentCloudSDKException
req
- LivenessCompareRequestTencentCloudSDKException
public LivenessRecognitionResponse LivenessRecognition(LivenessRecognitionRequest req) throws TencentCloudSDKException
req
- LivenessRecognitionRequestTencentCloudSDKException
Copyright © 2019. All rights reserved.