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 |
|---|---|
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.
|
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.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegionpublic FaceidClient(Credential credential, String region)
public FaceidClient(Credential credential, String region, ClientProfile profile)
public CreateUploadUrlResponse CreateUploadUrl(CreateUploadUrlRequest req) throws TencentCloudSDKException
req - CreateUploadUrlRequestTencentCloudSDKExceptionpublic DetectReflectLivenessAndCompareResponse DetectReflectLivenessAndCompare(DetectReflectLivenessAndCompareRequest req) throws TencentCloudSDKException
req - DetectReflectLivenessAndCompareRequestTencentCloudSDKExceptionpublic GenerateReflectSequenceResponse GenerateReflectSequence(GenerateReflectSequenceRequest req) throws TencentCloudSDKException
req - GenerateReflectSequenceRequestTencentCloudSDKExceptionpublic LivenessCompareResponse LivenessCompare(LivenessCompareRequest req) throws TencentCloudSDKException
req - LivenessCompareRequestTencentCloudSDKExceptionCopyright © 2022. All rights reserved.