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). | 
| 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. | 
| DetectFaceAttributesResponse | DetectFaceAttributes(DetectFaceAttributesRequest 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 face in a static image uploaded by a user. | 
| DetectLiveFaceAccurateResponse | DetectLiveFaceAccurate(DetectLiveFaceAccurateRequest req)This API is used to detect the liveness of faces in images uploaded by users and determine whether these images are photographed. | 
| 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. | 
| ModifyGroupResponse | ModifyGroup(ModifyGroupRequest req)This API is used to modify the name, tag, and custom description field of a group. | 
| 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 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 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 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 DetectFaceAttributesResponse DetectFaceAttributes(DetectFaceAttributesRequest req) throws TencentCloudSDKException
req - DetectFaceAttributesRequestTencentCloudSDKExceptionpublic DetectLiveFaceResponse DetectLiveFace(DetectLiveFaceRequest req) throws TencentCloudSDKException
req - DetectLiveFaceRequestTencentCloudSDKExceptionpublic DetectLiveFaceAccurateResponse DetectLiveFaceAccurate(DetectLiveFaceAccurateRequest req) throws TencentCloudSDKException
req - DetectLiveFaceAccurateRequestTencentCloudSDKExceptionpublic 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 ModifyGroupResponse ModifyGroup(ModifyGroupRequest req) throws TencentCloudSDKException
req - ModifyGroupRequestTencentCloudSDKExceptionpublic 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 © 2023. All rights reserved.