tencentcloud-sdk-nodejs-intl-en 3.0.1466 → 3.0.1468
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tencentcloud/adp/v20260520/adp_client.js +2034 -23
- package/tencentcloud/adp/v20260520/models.js +30718 -611
- package/tencentcloud/cam/v20190116/cam_client.js +14 -0
- package/tencentcloud/cam/v20190116/models.js +193 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/iai/v20200303/iai_client.js +23 -20
- package/tencentcloud/iai/v20200303/models.js +283 -239
- package/tencentcloud/mna/v20210119/mna_client.js +1 -1
- package/tencentcloud/mna/v20210119/models.js +10 -12
- package/tencentcloud/ocr/v20181119/models.js +2 -1
- package/tencentcloud/ocr/v20181119/ocr_client.js +1 -1
|
@@ -99,6 +99,7 @@ const GroupInfo = models.GroupInfo;
|
|
|
99
99
|
const AddUserRequest = models.AddUserRequest;
|
|
100
100
|
const UpdateAssumeRolePolicyRequest = models.UpdateAssumeRolePolicyRequest;
|
|
101
101
|
const LoginActionFlag = models.LoginActionFlag;
|
|
102
|
+
const ListAccountsResponse = models.ListAccountsResponse;
|
|
102
103
|
const DeleteRoleRequest = models.DeleteRoleRequest;
|
|
103
104
|
const UpdateRoleConsoleLoginRequest = models.UpdateRoleConsoleLoginRequest;
|
|
104
105
|
const UpdateUserResponse = models.UpdateUserResponse;
|
|
@@ -115,6 +116,7 @@ const DisableUserSSORequest = models.DisableUserSSORequest;
|
|
|
115
116
|
const UpdateSAMLProviderResponse = models.UpdateSAMLProviderResponse;
|
|
116
117
|
const UpdateAccessKeyRequest = models.UpdateAccessKeyRequest;
|
|
117
118
|
const UpdateUserRequest = models.UpdateUserRequest;
|
|
119
|
+
const ListAllUser = models.ListAllUser;
|
|
118
120
|
const CreateSAMLProviderRequest = models.CreateSAMLProviderRequest;
|
|
119
121
|
const AttachPolicyInfo = models.AttachPolicyInfo;
|
|
120
122
|
const ConsumeCustomMFATokenRequest = models.ConsumeCustomMFATokenRequest;
|
|
@@ -200,6 +202,7 @@ const DescribeSafeAuthFlagCollRequest = models.DescribeSafeAuthFlagCollRequest;
|
|
|
200
202
|
const PutRolePermissionsBoundaryResponse = models.PutRolePermissionsBoundaryResponse;
|
|
201
203
|
const SetMfaFlagRequest = models.SetMfaFlagRequest;
|
|
202
204
|
const ListCollaboratorsResponse = models.ListCollaboratorsResponse;
|
|
205
|
+
const ListAccountsRequest = models.ListAccountsRequest;
|
|
203
206
|
const ListAccessKeysResponse = models.ListAccessKeysResponse;
|
|
204
207
|
const GetSecurityLastUsedResponse = models.GetSecurityLastUsedResponse;
|
|
205
208
|
const ListAttachedUserPoliciesRequest = models.ListAttachedUserPoliciesRequest;
|
|
@@ -582,6 +585,17 @@ class CamClient extends AbstractClient {
|
|
|
582
585
|
this.request("DeleteRole", req, resp, cb);
|
|
583
586
|
}
|
|
584
587
|
|
|
588
|
+
/**
|
|
589
|
+
* Query all account lists.
|
|
590
|
+
* @param {ListAccountsRequest} req
|
|
591
|
+
* @param {function(string, ListAccountsResponse):void} cb
|
|
592
|
+
* @public
|
|
593
|
+
*/
|
|
594
|
+
ListAccounts(req, cb) {
|
|
595
|
+
let resp = new ListAccountsResponse();
|
|
596
|
+
this.request("ListAccounts", req, resp, cb);
|
|
597
|
+
}
|
|
598
|
+
|
|
585
599
|
/**
|
|
586
600
|
* This API is used to query sub-users.
|
|
587
601
|
* @param {GetUserRequest} req
|
|
@@ -3532,6 +3532,63 @@ class LoginActionFlag extends AbstractModel {
|
|
|
3532
3532
|
}
|
|
3533
3533
|
}
|
|
3534
3534
|
|
|
3535
|
+
/**
|
|
3536
|
+
* ListAccounts response structure.
|
|
3537
|
+
* @class
|
|
3538
|
+
*/
|
|
3539
|
+
class ListAccountsResponse extends AbstractModel {
|
|
3540
|
+
constructor(){
|
|
3541
|
+
super();
|
|
3542
|
+
|
|
3543
|
+
/**
|
|
3544
|
+
* <p>Sub-account list.</p>
|
|
3545
|
+
* @type {Array.<ListAllUser> || null}
|
|
3546
|
+
*/
|
|
3547
|
+
this.Users = null;
|
|
3548
|
+
|
|
3549
|
+
/**
|
|
3550
|
+
* <p>This field is returned only when IsTruncated is true. If it returns true, you need to continue to call this API and use Marker to get the truncated content.</p>
|
|
3551
|
+
* @type {string || null}
|
|
3552
|
+
*/
|
|
3553
|
+
this.Marker = null;
|
|
3554
|
+
|
|
3555
|
+
/**
|
|
3556
|
+
* <p>Whether the returned result of the request is truncated.</p>
|
|
3557
|
+
* @type {boolean || null}
|
|
3558
|
+
*/
|
|
3559
|
+
this.IsTruncated = null;
|
|
3560
|
+
|
|
3561
|
+
/**
|
|
3562
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3563
|
+
* @type {string || null}
|
|
3564
|
+
*/
|
|
3565
|
+
this.RequestId = null;
|
|
3566
|
+
|
|
3567
|
+
}
|
|
3568
|
+
|
|
3569
|
+
/**
|
|
3570
|
+
* @private
|
|
3571
|
+
*/
|
|
3572
|
+
deserialize(params) {
|
|
3573
|
+
if (!params) {
|
|
3574
|
+
return;
|
|
3575
|
+
}
|
|
3576
|
+
|
|
3577
|
+
if (params.Users) {
|
|
3578
|
+
this.Users = new Array();
|
|
3579
|
+
for (let z in params.Users) {
|
|
3580
|
+
let obj = new ListAllUser();
|
|
3581
|
+
obj.deserialize(params.Users[z]);
|
|
3582
|
+
this.Users.push(obj);
|
|
3583
|
+
}
|
|
3584
|
+
}
|
|
3585
|
+
this.Marker = 'Marker' in params ? params.Marker : null;
|
|
3586
|
+
this.IsTruncated = 'IsTruncated' in params ? params.IsTruncated : null;
|
|
3587
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3588
|
+
|
|
3589
|
+
}
|
|
3590
|
+
}
|
|
3591
|
+
|
|
3535
3592
|
/**
|
|
3536
3593
|
* DeleteRole request structure.
|
|
3537
3594
|
* @class
|
|
@@ -4178,6 +4235,97 @@ class UpdateUserRequest extends AbstractModel {
|
|
|
4178
4235
|
}
|
|
4179
4236
|
}
|
|
4180
4237
|
|
|
4238
|
+
/**
|
|
4239
|
+
* Account details
|
|
4240
|
+
* @class
|
|
4241
|
+
*/
|
|
4242
|
+
class ListAllUser extends AbstractModel {
|
|
4243
|
+
constructor(){
|
|
4244
|
+
super();
|
|
4245
|
+
|
|
4246
|
+
/**
|
|
4247
|
+
* <p>Sub-account account ID.</p>
|
|
4248
|
+
* @type {number || null}
|
|
4249
|
+
*/
|
|
4250
|
+
this.Uin = null;
|
|
4251
|
+
|
|
4252
|
+
/**
|
|
4253
|
+
* <p>Username of sub-account.</p>
|
|
4254
|
+
* @type {string || null}
|
|
4255
|
+
*/
|
|
4256
|
+
this.Name = null;
|
|
4257
|
+
|
|
4258
|
+
/**
|
|
4259
|
+
* <p>Sub-account UID.</p>
|
|
4260
|
+
* @type {number || null}
|
|
4261
|
+
*/
|
|
4262
|
+
this.Uid = null;
|
|
4263
|
+
|
|
4264
|
+
/**
|
|
4265
|
+
* <p>Sub-account remark.</p>
|
|
4266
|
+
* @type {string || null}
|
|
4267
|
+
*/
|
|
4268
|
+
this.Remark = null;
|
|
4269
|
+
|
|
4270
|
+
/**
|
|
4271
|
+
* <p>Whether or not the sub-account can log in to the console.</p>
|
|
4272
|
+
* @type {number || null}
|
|
4273
|
+
*/
|
|
4274
|
+
this.ConsoleLogin = null;
|
|
4275
|
+
|
|
4276
|
+
/**
|
|
4277
|
+
* <p>Phone number.</p>
|
|
4278
|
+
* @type {string || null}
|
|
4279
|
+
*/
|
|
4280
|
+
this.PhoneNum = null;
|
|
4281
|
+
|
|
4282
|
+
/**
|
|
4283
|
+
* <p>Area code.</p>
|
|
4284
|
+
* @type {string || null}
|
|
4285
|
+
*/
|
|
4286
|
+
this.CountryCode = null;
|
|
4287
|
+
|
|
4288
|
+
/**
|
|
4289
|
+
* <p>Mailbox.</p>
|
|
4290
|
+
* @type {string || null}
|
|
4291
|
+
*/
|
|
4292
|
+
this.Email = null;
|
|
4293
|
+
|
|
4294
|
+
/**
|
|
4295
|
+
* <p>Creation time.</p><p>Parameter format: YYYY-MM-DD hh:mm:ss</p>
|
|
4296
|
+
* @type {string || null}
|
|
4297
|
+
*/
|
|
4298
|
+
this.CreateTime = null;
|
|
4299
|
+
|
|
4300
|
+
/**
|
|
4301
|
+
* <p>Account type</p><p>Enumeration values:</p><ul><li>Owner: root account</li><li>SubUser: sub-user</li><li>CICUser: CIC user</li><li>WechatCorpUser: WeCom sub-user</li><li>AgentIdentity: AgentIdentity user</li><li>Collaborator: collaborator</li><li>MessageReceiver: message recipient</li><li>Unknown: unknown</li></ul>
|
|
4302
|
+
* @type {string || null}
|
|
4303
|
+
*/
|
|
4304
|
+
this.UserType = null;
|
|
4305
|
+
|
|
4306
|
+
}
|
|
4307
|
+
|
|
4308
|
+
/**
|
|
4309
|
+
* @private
|
|
4310
|
+
*/
|
|
4311
|
+
deserialize(params) {
|
|
4312
|
+
if (!params) {
|
|
4313
|
+
return;
|
|
4314
|
+
}
|
|
4315
|
+
this.Uin = 'Uin' in params ? params.Uin : null;
|
|
4316
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
4317
|
+
this.Uid = 'Uid' in params ? params.Uid : null;
|
|
4318
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
4319
|
+
this.ConsoleLogin = 'ConsoleLogin' in params ? params.ConsoleLogin : null;
|
|
4320
|
+
this.PhoneNum = 'PhoneNum' in params ? params.PhoneNum : null;
|
|
4321
|
+
this.CountryCode = 'CountryCode' in params ? params.CountryCode : null;
|
|
4322
|
+
this.Email = 'Email' in params ? params.Email : null;
|
|
4323
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
4324
|
+
this.UserType = 'UserType' in params ? params.UserType : null;
|
|
4325
|
+
|
|
4326
|
+
}
|
|
4327
|
+
}
|
|
4328
|
+
|
|
4181
4329
|
/**
|
|
4182
4330
|
* CreateSAMLProvider request structure.
|
|
4183
4331
|
* @class
|
|
@@ -8004,6 +8152,48 @@ class ListCollaboratorsResponse extends AbstractModel {
|
|
|
8004
8152
|
}
|
|
8005
8153
|
}
|
|
8006
8154
|
|
|
8155
|
+
/**
|
|
8156
|
+
* ListAccounts request structure.
|
|
8157
|
+
* @class
|
|
8158
|
+
*/
|
|
8159
|
+
class ListAccountsRequest extends AbstractModel {
|
|
8160
|
+
constructor(){
|
|
8161
|
+
super();
|
|
8162
|
+
|
|
8163
|
+
/**
|
|
8164
|
+
* <p>Number of returned results. If the returned results are truncated after reaching the MaxItems limit, the response parameter IsTruncated will be equal to true.</p><p>Value range: [1, 100]</p>
|
|
8165
|
+
* @type {number || null}
|
|
8166
|
+
*/
|
|
8167
|
+
this.MaxItems = null;
|
|
8168
|
+
|
|
8169
|
+
/**
|
|
8170
|
+
* <p>When the return result of the request is truncated, you can use Marker to get the content after the current truncation position.</p>
|
|
8171
|
+
* @type {string || null}
|
|
8172
|
+
*/
|
|
8173
|
+
this.Marker = null;
|
|
8174
|
+
|
|
8175
|
+
/**
|
|
8176
|
+
* <p>Type of user</p><p>Enumeration values:</p><ul><li>Owner: root account</li><li>SubUser: ordinary sub-user</li><li>CICUser: CIC sub-user</li><li>WechatCorpUser: WeCom sub-user</li><li>AgentIdentity: AgentIdentity sub-user</li><li>Collaborator: collaborator</li><li>MessageReceiver: message recipient</li></ul>
|
|
8177
|
+
* @type {string || null}
|
|
8178
|
+
*/
|
|
8179
|
+
this.UserType = null;
|
|
8180
|
+
|
|
8181
|
+
}
|
|
8182
|
+
|
|
8183
|
+
/**
|
|
8184
|
+
* @private
|
|
8185
|
+
*/
|
|
8186
|
+
deserialize(params) {
|
|
8187
|
+
if (!params) {
|
|
8188
|
+
return;
|
|
8189
|
+
}
|
|
8190
|
+
this.MaxItems = 'MaxItems' in params ? params.MaxItems : null;
|
|
8191
|
+
this.Marker = 'Marker' in params ? params.Marker : null;
|
|
8192
|
+
this.UserType = 'UserType' in params ? params.UserType : null;
|
|
8193
|
+
|
|
8194
|
+
}
|
|
8195
|
+
}
|
|
8196
|
+
|
|
8007
8197
|
/**
|
|
8008
8198
|
* ListAccessKeys response structure.
|
|
8009
8199
|
* @class
|
|
@@ -8378,6 +8568,7 @@ module.exports = {
|
|
|
8378
8568
|
AddUserRequest: AddUserRequest,
|
|
8379
8569
|
UpdateAssumeRolePolicyRequest: UpdateAssumeRolePolicyRequest,
|
|
8380
8570
|
LoginActionFlag: LoginActionFlag,
|
|
8571
|
+
ListAccountsResponse: ListAccountsResponse,
|
|
8381
8572
|
DeleteRoleRequest: DeleteRoleRequest,
|
|
8382
8573
|
UpdateRoleConsoleLoginRequest: UpdateRoleConsoleLoginRequest,
|
|
8383
8574
|
UpdateUserResponse: UpdateUserResponse,
|
|
@@ -8394,6 +8585,7 @@ module.exports = {
|
|
|
8394
8585
|
UpdateSAMLProviderResponse: UpdateSAMLProviderResponse,
|
|
8395
8586
|
UpdateAccessKeyRequest: UpdateAccessKeyRequest,
|
|
8396
8587
|
UpdateUserRequest: UpdateUserRequest,
|
|
8588
|
+
ListAllUser: ListAllUser,
|
|
8397
8589
|
CreateSAMLProviderRequest: CreateSAMLProviderRequest,
|
|
8398
8590
|
AttachPolicyInfo: AttachPolicyInfo,
|
|
8399
8591
|
ConsumeCustomMFATokenRequest: ConsumeCustomMFATokenRequest,
|
|
@@ -8479,6 +8671,7 @@ module.exports = {
|
|
|
8479
8671
|
PutRolePermissionsBoundaryResponse: PutRolePermissionsBoundaryResponse,
|
|
8480
8672
|
SetMfaFlagRequest: SetMfaFlagRequest,
|
|
8481
8673
|
ListCollaboratorsResponse: ListCollaboratorsResponse,
|
|
8674
|
+
ListAccountsRequest: ListAccountsRequest,
|
|
8482
8675
|
ListAccessKeysResponse: ListAccessKeysResponse,
|
|
8483
8676
|
GetSecurityLastUsedResponse: GetSecurityLastUsedResponse,
|
|
8484
8677
|
ListAttachedUserPoliciesRequest: ListAttachedUserPoliciesRequest,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1468";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -20,7 +20,7 @@ const GetPersonGroupInfoResponse = models.GetPersonGroupInfoResponse;
|
|
|
20
20
|
const Eye = models.Eye;
|
|
21
21
|
const Candidate = models.Candidate;
|
|
22
22
|
const SearchFacesReturnsByGroupRequest = models.SearchFacesReturnsByGroupRequest;
|
|
23
|
-
const
|
|
23
|
+
const Encryption = models.Encryption;
|
|
24
24
|
const DeletePersonRequest = models.DeletePersonRequest;
|
|
25
25
|
const ModifyGroupResponse = models.ModifyGroupResponse;
|
|
26
26
|
const SearchPersonsReturnsByGroupResponse = models.SearchPersonsReturnsByGroupResponse;
|
|
@@ -30,7 +30,7 @@ const DetectFaceSimilarityResponse = models.DetectFaceSimilarityResponse;
|
|
|
30
30
|
const ModifyPersonGroupInfoRequest = models.ModifyPersonGroupInfoRequest;
|
|
31
31
|
const GetGroupListResponse = models.GetGroupListResponse;
|
|
32
32
|
const GroupInfo = models.GroupInfo;
|
|
33
|
-
const
|
|
33
|
+
const GetGroupInfoResponse = models.GetGroupInfoResponse;
|
|
34
34
|
const Hat = models.Hat;
|
|
35
35
|
const FaceQualityCompleteness = models.FaceQualityCompleteness;
|
|
36
36
|
const FaceAttributesInfo = models.FaceAttributesInfo;
|
|
@@ -76,6 +76,7 @@ const AnalyzeFaceResponse = models.AnalyzeFaceResponse;
|
|
|
76
76
|
const GetGroupInfoRequest = models.GetGroupInfoRequest;
|
|
77
77
|
const FaceDetailInfo = models.FaceDetailInfo;
|
|
78
78
|
const FaceHairAttributesInfo = models.FaceHairAttributesInfo;
|
|
79
|
+
const GetPersonListResponse = models.GetPersonListResponse;
|
|
79
80
|
const DetectLiveFaceAccurateResponse = models.DetectLiveFaceAccurateResponse;
|
|
80
81
|
const AnalyzeFaceRequest = models.AnalyzeFaceRequest;
|
|
81
82
|
const Point = models.Point;
|
|
@@ -175,10 +176,10 @@ The maximum number of faces that can be included in one group varies by algorith
|
|
|
175
176
|
}
|
|
176
177
|
|
|
177
178
|
/**
|
|
178
|
-
*
|
|
179
|
+
* Add a group of human face images to a person. A person allows up to 5 images. If the person exists across multiple person libraries, the images will be added to the person in ALL libraries.
|
|
179
180
|
|
|
180
181
|
>
|
|
181
|
-
-
|
|
182
|
+
- For the signature method in public parameters, please use the V3 version. In other words, set the SignatureMethod parameter to TC3-HMAC-SHA256.
|
|
182
183
|
* @param {CreateFaceRequest} req
|
|
183
184
|
* @param {function(string, CreateFaceResponse):void} cb
|
|
184
185
|
* @public
|
|
@@ -224,22 +225,24 @@ The maximum number of faces that can be included in one group varies by algorith
|
|
|
224
225
|
}
|
|
225
226
|
|
|
226
227
|
/**
|
|
227
|
-
* This API is used to recognize top K persons in one or more
|
|
228
|
+
* This API is used to recognize the top K most similar persons in one or more person libraries for a face image to be recognized, and sort the recognition results by similarity in descending order.
|
|
228
229
|
|
|
229
|
-
|
|
230
|
+
This API is used to recognize up to 10 human faces in an image at a time and search across 100 person libraries at a time.
|
|
230
231
|
|
|
231
|
-
The
|
|
232
|
+
The total number of human faces in a person library for a single search is related to the algorithm model version of the person library. For a person library with algorithm model version 2.0, the total number of human faces in a single search should not exceed 1 million. For a person library with algorithm model version 3.0, the total number of human faces in a single search should not exceed 3 million.
|
|
232
233
|
|
|
233
|
-
|
|
234
|
+
Unlike the [Person search](https://www.tencentcloud.com/document/product/867/44992?from_cn_redirect=1) and [Person search by database return](https://www.tencentcloud.com/document/product/867/44991?from_cn_redirect=1) APIs, this API verifies each Face under a Person as a separate individual. The Person search and Person search by database return APIs perform fusion feature processing on all faces under a Person. For example, if a Person has 4 faces, the [Person search](https://www.tencentcloud.com/document/product/867/44992?from_cn_redirect=1) and [Person search by database return](https://www.tencentcloud.com/document/product/867/44991?from_cn_redirect=1) APIs will fuse the features of the 4 faces to generate the characteristics of this Person, making the search more accurate.
|
|
234
235
|
|
|
235
236
|
|
|
236
|
-
This
|
|
237
|
+
This interface should be used in conjunction with the personnel database management API (https://www.tencentcloud.com/document/product/867/45015?from_cn_redirect=1).
|
|
238
|
+
|
|
239
|
+
**Note:** If a person library has not been called for over 1 year, the platform will delete its resources to ensure user information security.
|
|
237
240
|
|
|
238
241
|
>
|
|
239
|
-
-
|
|
242
|
+
- Use the V3 signature method in public parameters. In other words, set the SignatureMethod parameter to TC3-HMAC-SHA256.
|
|
240
243
|
|
|
241
244
|
>
|
|
242
|
-
-
|
|
245
|
+
-Cannot search person libraries of different algorithm model versions (FaceModelVersion) at the same time.
|
|
243
246
|
* @param {SearchFacesRequest} req
|
|
244
247
|
* @param {function(string, SearchFacesResponse):void} cb
|
|
245
248
|
* @public
|
|
@@ -314,10 +317,10 @@ This API recognizes each face image of a person as an independent one. By contra
|
|
|
314
317
|
}
|
|
315
318
|
|
|
316
319
|
/**
|
|
317
|
-
*
|
|
320
|
+
* Create a person and add a human face, name, sex, and other information related to the person.
|
|
318
321
|
|
|
319
322
|
>
|
|
320
|
-
- Please use the
|
|
323
|
+
- Please use the V3 version of the signature method in public parameters. In other words, set the SignatureMethod parameter to TC3-HMAC-SHA256.
|
|
321
324
|
* @param {CreatePersonRequest} req
|
|
322
325
|
* @param {function(string, CreatePersonResponse):void} cb
|
|
323
326
|
* @public
|
|
@@ -466,17 +469,17 @@ The face static liveness detection (high-precision version) API officially start
|
|
|
466
469
|
}
|
|
467
470
|
|
|
468
471
|
/**
|
|
469
|
-
* This API is used to recognize top K persons in one or more
|
|
470
|
-
|
|
471
|
-
Up to 10 faces in an image can be recognized at a time, and up to 100 groups can be searched in at a time.
|
|
472
|
+
* This API is used to recognize the top K most similar persons in one or more person libraries for a face image to be recognized, and sort them by similarity in descending order.
|
|
472
473
|
|
|
473
|
-
|
|
474
|
+
This API is used to recognize up to 10 human faces in an image at a time and search across 100 person libraries at a time.
|
|
474
475
|
|
|
475
|
-
|
|
476
|
+
The total number of faces in a person library for a single search is related to the algorithm model version of the person library. For a person library with algorithm model version 2.0, the total number of faces in a single search should not exceed 1 million. For a person library with algorithm model version 3.0, the total number of faces in a single search should not exceed 3 million.
|
|
476
477
|
|
|
478
|
+
This API is used to perform fusion feature processing on all faces under a Person. For example, if a Person has 4 faces, this API will fuse the features of the 4 faces to generate the corresponding features of this Person, making Person search (confirming that the Face image to be identified belongs to a certain Person) more accurate. In contrast, [Face search](https://www.tencentcloud.com/document/product/867/44994?from_cn_redirect=1) and [Face search by group return API](https://www.tencentcloud.com/document/product/867/44993?from_cn_redirect=1) search for each Face under the Person as a separate individual.
|
|
479
|
+
**Note:** If a person library has no calls for more than 1 year, the platform will delete its resources to ensure User Information Security.
|
|
477
480
|
>
|
|
478
|
-
-
|
|
479
|
-
-
|
|
481
|
+
- Use the V3 signature method in public parameters. In other words, set the SignatureMethod parameter to TC3-HMAC-SHA256.
|
|
482
|
+
-Only person libraries with algorithm model version (FaceModelVersion) 3.0 are supported.
|
|
480
483
|
* @param {SearchPersonsRequest} req
|
|
481
484
|
* @param {function(string, SearchPersonsResponse):void} cb
|
|
482
485
|
* @public
|