public class IaiClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION| Constructor and Description |
|---|
IaiClient(Credential credential,
String region) |
IaiClient(Credential credential,
String region,
ClientProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
AnalyzeFaceResponse |
AnalyzeFace(AnalyzeFaceRequest req)
This API is used to perform facial feature localization (aka facial keypoint localization) on a given image and calculate 90 facial keypoints that make up the contour of the face, including eyebrows (8 points on the left and 8 on the right), eyes (8 points on the left and 8 on the right), nose (13 points), mouth (22 points), face contour (21 points), and eyeballs or pupils (2 points).
|
CheckSimilarPersonResponse |
CheckSimilarPerson(CheckSimilarPersonRequest req)
This API is used to check a specified group for suspected duplicate persons and list their information.
|
CompareFaceResponse |
CompareFace(CompareFaceRequest req)
This API is used to calculate the similarity of faces in two images and return the face similarity score.
|
CopyPersonResponse |
CopyPerson(CopyPersonRequest req)
This API is used to copy a person in a group to another group (without copying the description).
|
CreateFaceResponse |
CreateFace(CreateFaceRequest req)
This API is used to add a set of face images to a person.
|
CreateGroupResponse |
CreateGroup(CreateGroupRequest req)
This API is used to create an empty group.
|
CreatePersonResponse |
CreatePerson(CreatePersonRequest req)
This API is used to create a person and add face, name, gender, and other related information.
|
DeleteFaceResponse |
DeleteFace(DeleteFaceRequest req)
This API is used to delete the face images of a person.
|
DeleteGroupResponse |
DeleteGroup(DeleteGroupRequest req)
This API is used to delete a group and all persons in it.
|
DeletePersonResponse |
DeletePerson(DeletePersonRequest req)
This API is used to delete a person from all groups.
|
DeletePersonFromGroupResponse |
DeletePersonFromGroup(DeletePersonFromGroupRequest req)
This API is used to remove a person from a specified group.
|
DetectFaceResponse |
DetectFace(DetectFaceRequest req)
This API is used to detect the position, attributes, and quality information of a face in the given image.
|
DetectLiveFaceResponse |
DetectLiveFace(DetectLiveFaceRequest req)
This API is used to detect the liveness of a user with a user-uploaded image.
|
EstimateCheckSimilarPersonCostTimeResponse |
EstimateCheckSimilarPersonCostTime(EstimateCheckSimilarPersonCostTimeRequest req)
This API is used to get the estimated duration of a duplicate person check task.
|
GetCheckSimilarPersonJobIdListResponse |
GetCheckSimilarPersonJobIdList(GetCheckSimilarPersonJobIdListRequest req)
This API is used to get the list of duplicate person check tasks and sort them in reverse order by task creation time (i.e., the newest one is at the top)
Only data in the past year is retained.
|
GetGroupInfoResponse |
GetGroupInfo(GetGroupInfoRequest req)
This API is used to get the group information.
|
GetGroupListResponse |
GetGroupList(GetGroupListRequest req)
This API is used to get the list of groups.
|
GetPersonBaseInfoResponse |
GetPersonBaseInfo(GetPersonBaseInfoRequest req)
This API is used to get the information of a specified person, including name, gender, face, etc.
|
GetPersonGroupInfoResponse |
GetPersonGroupInfo(GetPersonGroupInfoRequest req)
This API is used to get the information of a specified person, including group, description, etc.
|
GetPersonListResponse |
GetPersonList(GetPersonListRequest req)
This API is used to get the list of persons in a specified group.
|
GetPersonListNumResponse |
GetPersonListNum(GetPersonListNumRequest req)
This API is used to get the number of persons in a specified group.
|
GetSimilarPersonResultResponse |
GetSimilarPersonResult(GetSimilarPersonResultRequest req)
This API is used to get the result of the `CheckSimilarPerson` API.
|
ModifyGroupResponse |
ModifyGroup(ModifyGroupRequest req)
This API is used to modify the name, tag, and custom description field of a group.
|
ModifyPersonBaseInfoResponse |
ModifyPersonBaseInfo(ModifyPersonBaseInfoRequest req)
This API is used to modify the information of a person, including name, gender, etc.
|
ModifyPersonGroupInfoResponse |
ModifyPersonGroupInfo(ModifyPersonGroupInfoRequest req)
This API is used to modify the description of a specified person in a group.
|
SearchFacesResponse |
SearchFaces(SearchFacesRequest req)
This API is used to recognize top K persons in one or more groups who are similar to the person in a given image and rank the similarity in a descending order.
|
SearchFacesReturnsByGroupResponse |
SearchFacesReturnsByGroup(SearchFacesReturnsByGroupRequest req)
This API is used to recognize top K persons in one or more groups who are similar to the person in a given image, display the results **by group**, and rank the similarity within each group in a descending order.
|
SearchPersonsResponse |
SearchPersons(SearchPersonsRequest req)
This API is used to recognize top K persons in one or more groups who are similar to the person in a given image and rank the similarity in a descending order.
|
SearchPersonsReturnsByGroupResponse |
SearchPersonsReturnsByGroup(SearchPersonsReturnsByGroupRequest req)
This API is used to recognize top K persons in one or more groups who are similar to the person in a given image, display the results **by group**, and rank the similarity within each group in a descending order.
|
VerifyFaceResponse |
VerifyFace(VerifyFaceRequest req)
This API is used to judge whether a person in an image corresponds to a given `PersonId`.
|
VerifyPersonResponse |
VerifyPerson(VerifyPersonRequest req)
This API is used to judge whether a person in an image corresponds to a given `PersonId`.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegionpublic IaiClient(Credential credential, String region)
public IaiClient(Credential credential, String region, ClientProfile profile)
public AnalyzeFaceResponse AnalyzeFace(AnalyzeFaceRequest req) throws TencentCloudSDKException
req - AnalyzeFaceRequestTencentCloudSDKExceptionpublic CheckSimilarPersonResponse CheckSimilarPerson(CheckSimilarPersonRequest req) throws TencentCloudSDKException
req - CheckSimilarPersonRequestTencentCloudSDKExceptionpublic CompareFaceResponse CompareFace(CompareFaceRequest req) throws TencentCloudSDKException
req - CompareFaceRequestTencentCloudSDKExceptionpublic CopyPersonResponse CopyPerson(CopyPersonRequest req) throws TencentCloudSDKException
req - CopyPersonRequestTencentCloudSDKExceptionpublic CreateFaceResponse CreateFace(CreateFaceRequest req) throws TencentCloudSDKException
req - CreateFaceRequestTencentCloudSDKExceptionpublic CreateGroupResponse CreateGroup(CreateGroupRequest req) throws TencentCloudSDKException
req - CreateGroupRequestTencentCloudSDKExceptionpublic CreatePersonResponse CreatePerson(CreatePersonRequest req) throws TencentCloudSDKException
req - CreatePersonRequestTencentCloudSDKExceptionpublic DeleteFaceResponse DeleteFace(DeleteFaceRequest req) throws TencentCloudSDKException
req - DeleteFaceRequestTencentCloudSDKExceptionpublic DeleteGroupResponse DeleteGroup(DeleteGroupRequest req) throws TencentCloudSDKException
req - DeleteGroupRequestTencentCloudSDKExceptionpublic DeletePersonResponse DeletePerson(DeletePersonRequest req) throws TencentCloudSDKException
req - DeletePersonRequestTencentCloudSDKExceptionpublic DeletePersonFromGroupResponse DeletePersonFromGroup(DeletePersonFromGroupRequest req) throws TencentCloudSDKException
req - DeletePersonFromGroupRequestTencentCloudSDKExceptionpublic DetectFaceResponse DetectFace(DetectFaceRequest req) throws TencentCloudSDKException
req - DetectFaceRequestTencentCloudSDKExceptionpublic DetectLiveFaceResponse DetectLiveFace(DetectLiveFaceRequest req) throws TencentCloudSDKException
req - DetectLiveFaceRequestTencentCloudSDKExceptionpublic EstimateCheckSimilarPersonCostTimeResponse EstimateCheckSimilarPersonCostTime(EstimateCheckSimilarPersonCostTimeRequest req) throws TencentCloudSDKException
req - EstimateCheckSimilarPersonCostTimeRequestTencentCloudSDKExceptionpublic GetCheckSimilarPersonJobIdListResponse GetCheckSimilarPersonJobIdList(GetCheckSimilarPersonJobIdListRequest req) throws TencentCloudSDKException
req - GetCheckSimilarPersonJobIdListRequestTencentCloudSDKExceptionpublic GetGroupInfoResponse GetGroupInfo(GetGroupInfoRequest req) throws TencentCloudSDKException
req - GetGroupInfoRequestTencentCloudSDKExceptionpublic GetGroupListResponse GetGroupList(GetGroupListRequest req) throws TencentCloudSDKException
req - GetGroupListRequestTencentCloudSDKExceptionpublic GetPersonBaseInfoResponse GetPersonBaseInfo(GetPersonBaseInfoRequest req) throws TencentCloudSDKException
req - GetPersonBaseInfoRequestTencentCloudSDKExceptionpublic GetPersonGroupInfoResponse GetPersonGroupInfo(GetPersonGroupInfoRequest req) throws TencentCloudSDKException
req - GetPersonGroupInfoRequestTencentCloudSDKExceptionpublic GetPersonListResponse GetPersonList(GetPersonListRequest req) throws TencentCloudSDKException
req - GetPersonListRequestTencentCloudSDKExceptionpublic GetPersonListNumResponse GetPersonListNum(GetPersonListNumRequest req) throws TencentCloudSDKException
req - GetPersonListNumRequestTencentCloudSDKExceptionpublic GetSimilarPersonResultResponse GetSimilarPersonResult(GetSimilarPersonResultRequest req) throws TencentCloudSDKException
req - GetSimilarPersonResultRequestTencentCloudSDKExceptionpublic ModifyGroupResponse ModifyGroup(ModifyGroupRequest req) throws TencentCloudSDKException
req - ModifyGroupRequestTencentCloudSDKExceptionpublic ModifyPersonBaseInfoResponse ModifyPersonBaseInfo(ModifyPersonBaseInfoRequest req) throws TencentCloudSDKException
req - ModifyPersonBaseInfoRequestTencentCloudSDKExceptionpublic ModifyPersonGroupInfoResponse ModifyPersonGroupInfo(ModifyPersonGroupInfoRequest req) throws TencentCloudSDKException
req - ModifyPersonGroupInfoRequestTencentCloudSDKExceptionpublic SearchFacesResponse SearchFaces(SearchFacesRequest req) throws TencentCloudSDKException
req - SearchFacesRequestTencentCloudSDKExceptionpublic SearchFacesReturnsByGroupResponse SearchFacesReturnsByGroup(SearchFacesReturnsByGroupRequest req) throws TencentCloudSDKException
req - SearchFacesReturnsByGroupRequestTencentCloudSDKExceptionpublic SearchPersonsResponse SearchPersons(SearchPersonsRequest req) throws TencentCloudSDKException
req - SearchPersonsRequestTencentCloudSDKExceptionpublic SearchPersonsReturnsByGroupResponse SearchPersonsReturnsByGroup(SearchPersonsReturnsByGroupRequest req) throws TencentCloudSDKException
req - SearchPersonsReturnsByGroupRequestTencentCloudSDKExceptionpublic VerifyFaceResponse VerifyFace(VerifyFaceRequest req) throws TencentCloudSDKException
req - VerifyFaceRequestTencentCloudSDKExceptionpublic VerifyPersonResponse VerifyPerson(VerifyPersonRequest req) throws TencentCloudSDKException
req - VerifyPersonRequestTencentCloudSDKExceptionCopyright © 2020. All rights reserved.