public class FaceidClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
FaceidClient(Credential credential,
String region) |
FaceidClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
ApplyLivenessTokenResponse |
ApplyLivenessToken(ApplyLivenessTokenRequest req)
This API is used to apply for a token before calling the liveness detection service each time.
|
ApplySdkVerificationTokenResponse |
ApplySdkVerificationToken(ApplySdkVerificationTokenRequest req)
This API is used to apply for a token before calling the SDK-based verification service each time.
|
ApplyWebVerificationTokenResponse |
ApplyWebVerificationToken(ApplyWebVerificationTokenRequest req)
This API is used to apply for a token before calling the web-based verification service each time.
|
CreateUploadUrlResponse |
CreateUploadUrl(CreateUploadUrlRequest req)
This API is used to generate a temporary `UploadUrl` for uploading resource files (with the `HTTP PUT` method).
|
DetectReflectLivenessAndCompareResponse |
DetectReflectLivenessAndCompare(DetectReflectLivenessAndCompareRequest req)
This API is used to detect liveness with the package generated by the liveness comparison (reflection-based) SDK, and to compare the person detected with that in the image passed in.
|
GenerateReflectSequenceResponse |
GenerateReflectSequence(GenerateReflectSequenceRequest req)
This API is used to generate an appropriate light sequence based on the information collected by the liveness comparison (reflection-based) SDK and pass the light sequence into the SDK to start the identity verification process.
|
GetFaceIdResultIntlResponse |
GetFaceIdResultIntl(GetFaceIdResultIntlRequest req)
This API is used to get the verification result with the corresponding SDK token after the identity verification process is completed.
|
GetFaceIdTokenIntlResponse |
GetFaceIdTokenIntl(GetFaceIdTokenIntlRequest req)
This API is used to apply for an SDK token before calling the liveness detection and face comparison SDK each time.
|
GetLivenessResultResponse |
GetLivenessResult(GetLivenessResultRequest req)
This API is used to get the verification result with the corresponding token (SdkToken) after the liveness detection is completed.
|
GetSdkVerificationResultResponse |
GetSdkVerificationResult(GetSdkVerificationResultRequest req)
This API is used to get the verification result with the corresponding token after the SDK-based verification is completed.
|
GetWebVerificationResultResponse |
GetWebVerificationResult(GetWebVerificationResultRequest req)
This API is used to get the verification result with the corresponding token (BizToken) after the web-based verification is completed.
|
LivenessCompareResponse |
LivenessCompare(LivenessCompareRequest req)
This API is used to pass in a video and a photo, determine whether the person in the video is real, and if yes, then determine whether the person in the video is the same as that in the photo.
|
VideoLivenessCompareResponse |
VideoLivenessCompare(VideoLivenessCompareRequest req)
This API is used to pass in URLs of a video and a photo, determine whether the person in the video is real, and if yes, then determine whether the person in the video is the same as that in the photo.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public FaceidClient(Credential credential, String region)
public FaceidClient(Credential credential, String region, ClientProfile profile)
public ApplyLivenessTokenResponse ApplyLivenessToken(ApplyLivenessTokenRequest req) throws TencentCloudSDKException
req
- ApplyLivenessTokenRequestTencentCloudSDKException
public ApplySdkVerificationTokenResponse ApplySdkVerificationToken(ApplySdkVerificationTokenRequest req) throws TencentCloudSDKException
req
- ApplySdkVerificationTokenRequestTencentCloudSDKException
public ApplyWebVerificationTokenResponse ApplyWebVerificationToken(ApplyWebVerificationTokenRequest req) throws TencentCloudSDKException
req
- ApplyWebVerificationTokenRequestTencentCloudSDKException
public CreateUploadUrlResponse CreateUploadUrl(CreateUploadUrlRequest req) throws TencentCloudSDKException
req
- CreateUploadUrlRequestTencentCloudSDKException
public DetectReflectLivenessAndCompareResponse DetectReflectLivenessAndCompare(DetectReflectLivenessAndCompareRequest req) throws TencentCloudSDKException
req
- DetectReflectLivenessAndCompareRequestTencentCloudSDKException
public GenerateReflectSequenceResponse GenerateReflectSequence(GenerateReflectSequenceRequest req) throws TencentCloudSDKException
req
- GenerateReflectSequenceRequestTencentCloudSDKException
public GetFaceIdResultIntlResponse GetFaceIdResultIntl(GetFaceIdResultIntlRequest req) throws TencentCloudSDKException
req
- GetFaceIdResultIntlRequestTencentCloudSDKException
public GetFaceIdTokenIntlResponse GetFaceIdTokenIntl(GetFaceIdTokenIntlRequest req) throws TencentCloudSDKException
req
- GetFaceIdTokenIntlRequestTencentCloudSDKException
public GetLivenessResultResponse GetLivenessResult(GetLivenessResultRequest req) throws TencentCloudSDKException
req
- GetLivenessResultRequestTencentCloudSDKException
public GetSdkVerificationResultResponse GetSdkVerificationResult(GetSdkVerificationResultRequest req) throws TencentCloudSDKException
req
- GetSdkVerificationResultRequestTencentCloudSDKException
public GetWebVerificationResultResponse GetWebVerificationResult(GetWebVerificationResultRequest req) throws TencentCloudSDKException
req
- GetWebVerificationResultRequestTencentCloudSDKException
public LivenessCompareResponse LivenessCompare(LivenessCompareRequest req) throws TencentCloudSDKException
req
- LivenessCompareRequestTencentCloudSDKException
public VideoLivenessCompareResponse VideoLivenessCompare(VideoLivenessCompareRequest req) throws TencentCloudSDKException
req
- VideoLivenessCompareRequestTencentCloudSDKException
Copyright © 2023. All rights reserved.