tencentcloud-sdk-nodejs-iai 4.0.330 → 4.0.333

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.
@@ -143,6 +143,21 @@ export interface SearchPersonsReturnsByGroupResponse {
143
143
  RequestId?: string
144
144
  }
145
145
 
146
+ /**
147
+ * 包含此人员的人员库及描述字段内容列表
148
+ */
149
+ export interface PersonGroupInfo {
150
+ /**
151
+ * 包含此人员的人员库ID
152
+ */
153
+ GroupId: string
154
+
155
+ /**
156
+ * 人员描述字段内容
157
+ */
158
+ PersonExDescriptions: Array<string>
159
+ }
160
+
146
161
  /**
147
162
  * 帽子信息
148
163
  */
@@ -461,21 +476,26 @@ export interface FaceInfo {
461
476
  }
462
477
 
463
478
  /**
464
- * CheckSimilarPerson请求参数结构体
479
+ * 眉毛信息
465
480
  */
466
- export interface CheckSimilarPersonRequest {
481
+ export interface Eyebrow {
467
482
  /**
468
- * 待整理的人员库列表。
469
- 人员库总人数不可超过200万,人员库个数不可超过10个。
483
+ * 眉毛浓密。
484
+ AttributeItem对应的Type为 —— 0:淡眉,1:浓眉。
470
485
  */
471
- GroupIds: Array<string>
486
+ EyebrowDensity: AttributeItem
472
487
 
473
488
  /**
474
- * 人员查重整理力度的控制。
475
- 1:力度较高的人员整理,能够消除更多的重复身份,对应稍高的非重复身份误清除率;
476
- 2:力度较低的人员整理,非重复身份的误清除率较低,对应稍低的重复身份消除率。
489
+ * 眉毛弯曲。
490
+ AttributeItem对应的Type为 —— 0:不弯,1:弯眉。
477
491
  */
478
- UniquePersonControl: number
492
+ EyebrowCurve: AttributeItem
493
+
494
+ /**
495
+ * 眉毛长短。
496
+ AttributeItem对应的Type为 —— 0:短眉毛,1:长眉毛。
497
+ */
498
+ EyebrowLength: AttributeItem
479
499
  }
480
500
 
481
501
  /**
@@ -722,21 +742,6 @@ export interface CopyPersonResponse {
722
742
  RequestId?: string
723
743
  }
724
744
 
725
- /**
726
- * EstimateCheckSimilarPersonCostTime返回参数结构体
727
- */
728
- export interface EstimateCheckSimilarPersonCostTimeResponse {
729
- /**
730
- * 人员查重任务预估需要耗费时间。 单位为分钟。
731
- */
732
- EstimatedTimeCost?: number
733
-
734
- /**
735
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
736
- */
737
- RequestId?: string
738
- }
739
-
740
745
  /**
741
746
  * 分组识别结果Item
742
747
  */
@@ -859,27 +864,6 @@ export interface DeleteGroupRequest {
859
864
  GroupId: string
860
865
  }
861
866
 
862
- /**
863
- * EstimateCheckSimilarPersonCostTime请求参数结构体
864
- */
865
- export interface EstimateCheckSimilarPersonCostTimeRequest {
866
- /**
867
- * 待整理的人员库列表。
868
- 人员库总人数不可超过200万,人员库个数不可超过10个。
869
- */
870
- GroupIds: Array<string>
871
- }
872
-
873
- /**
874
- * RevertGroupFaceModelVersion返回参数结构体
875
- */
876
- export interface RevertGroupFaceModelVersionResponse {
877
- /**
878
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
879
- */
880
- RequestId?: string
881
- }
882
-
883
867
  /**
884
868
  * UpgradeGroupFaceModelVersion请求参数结构体
885
869
  */
@@ -954,16 +938,6 @@ export interface GetPersonBaseInfoResponse {
954
938
  RequestId?: string
955
939
  }
956
940
 
957
- /**
958
- * GetSimilarPersonResult请求参数结构体
959
- */
960
- export interface GetSimilarPersonResultRequest {
961
- /**
962
- * 查重任务ID,用于查询、获取查重的进度和结果。
963
- */
964
- JobId: string
965
- }
966
-
967
941
  /**
968
942
  * SearchPersons返回参数结构体
969
943
  */
@@ -1196,26 +1170,6 @@ export interface DeletePersonFromGroupResponse {
1196
1170
  RequestId?: string
1197
1171
  }
1198
1172
 
1199
- /**
1200
- * GetCheckSimilarPersonJobIdList返回参数结构体
1201
- */
1202
- export interface GetCheckSimilarPersonJobIdListResponse {
1203
- /**
1204
- * 人员查重任务信息列表。
1205
- */
1206
- JobIdInfos?: Array<JobIdInfo>
1207
-
1208
- /**
1209
- * 查重任务总数量。
1210
- */
1211
- JobIdNum?: number
1212
-
1213
- /**
1214
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1215
- */
1216
- RequestId?: string
1217
- }
1218
-
1219
1173
  /**
1220
1174
  * 稠密关键点详细信息
1221
1175
  */
@@ -1483,16 +1437,6 @@ AttributeItem对应的Type为 —— 0:黑色,1:金色,2:棕色,3:
1483
1437
  Color: AttributeItem
1484
1438
  }
1485
1439
 
1486
- /**
1487
- * GetPersonListNum请求参数结构体
1488
- */
1489
- export interface GetPersonListNumRequest {
1490
- /**
1491
- * 人员库ID
1492
- */
1493
- GroupId: string
1494
- }
1495
-
1496
1440
  /**
1497
1441
  * 人脸的识别结果
1498
1442
  */
@@ -1668,27 +1612,6 @@ export interface ModifyPersonBaseInfoResponse {
1668
1612
  RequestId?: string
1669
1613
  }
1670
1614
 
1671
- /**
1672
- * GetSimilarPersonResult返回参数结构体
1673
- */
1674
- export interface GetSimilarPersonResultResponse {
1675
- /**
1676
- * 查重任务完成进度。取值[0.0,100.0]。当且仅当值为100时,SimilarPersons才有意义。
1677
- */
1678
- Progress?: number
1679
-
1680
- /**
1681
- * 疑似同一人的人员信息文件临时下载链接, 有效时间为5分钟,结果文件实际保存90天。
1682
- 文件内容由 SimilarPerson 的数组组成。
1683
- */
1684
- SimilarPersonsUrl?: string
1685
-
1686
- /**
1687
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1688
- */
1689
- RequestId?: string
1690
- }
1691
-
1692
1615
  /**
1693
1616
  * ModifyPersonGroupInfo请求参数结构体
1694
1617
  */
@@ -1903,26 +1826,32 @@ export interface ModifyPersonBaseInfoRequest {
1903
1826
  }
1904
1827
 
1905
1828
  /**
1906
- * 查重任务信息
1829
+ * VerifyFace返回参数结构体
1907
1830
  */
1908
- export interface JobIdInfo {
1831
+ export interface VerifyFaceResponse {
1909
1832
  /**
1910
- * 查重任务ID,用于查询、获取查重的进度和结果。
1833
+ * 给定的人脸图片与 PersonId 对应人脸的相似度。若 PersonId 下有多张人脸(Face),返回相似度最大的分数。
1834
+
1835
+ 不同算法版本返回的相似度分数不同。
1836
+ 若需要验证两张图片中人脸是否为同一人,3.0版本误识率千分之一对应分数为40分,误识率万分之一对应分数为50分,误识率十万分之一对应分数为60分。 一般超过50分则可认定为同一人。
1837
+ 2.0版本误识率千分之一对应分数为70分,误识率万分之一对应分数为80分,误识率十万分之一对应分数为90分。 一般超过80分则可认定为同一人。
1838
+ */
1839
+ Score: number
1840
+
1841
+ /**
1842
+ * 是否为同一人的判断。
1911
1843
  */
1912
- JobId: string
1844
+ IsMatch: boolean
1913
1845
 
1914
1846
  /**
1915
- * 查重起始时间。
1916
- StartTime的值是自 Unix 纪元时间到Group创建时间的毫秒数。
1917
- Unix 纪元时间是 1970 年 1 月 1 日星期四,协调世界时 (UTC) 00:00:00。
1918
- 有关更多信息,请参阅 Unix 时间。
1919
- */
1920
- StartTime: number
1847
+ * 人脸识别所用的算法模型版本。
1848
+ */
1849
+ FaceModelVersion: string
1921
1850
 
1922
1851
  /**
1923
- * 查重任务是否已完成。0: 成功 1: 未完成 2: 失败
1852
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1924
1853
  */
1925
- JobStatus: number
1854
+ RequestId?: string
1926
1855
  }
1927
1856
 
1928
1857
  /**
@@ -2015,21 +1944,6 @@ MaxFaceNum用于,当输入的待识别图片包含多张人脸时,设定要
2015
1944
  NeedRotateDetection?: number
2016
1945
  }
2017
1946
 
2018
- /**
2019
- * GetCheckSimilarPersonJobIdList请求参数结构体
2020
- */
2021
- export interface GetCheckSimilarPersonJobIdListRequest {
2022
- /**
2023
- * 起始序号,默认值为0。
2024
- */
2025
- Offset?: number
2026
-
2027
- /**
2028
- * 返回数量,默认值为10,最大值为1000。
2029
- */
2030
- Limit?: number
2031
- }
2032
-
2033
1947
  /**
2034
1948
  * SearchPersons请求参数结构体
2035
1949
  */
@@ -2469,43 +2383,9 @@ AttributeItem对应的Type为 —— 0:不张嘴,1:张嘴。
2469
2383
  }
2470
2384
 
2471
2385
  /**
2472
- * 包含此人员的人员库及描述字段内容列表
2473
- */
2474
- export interface PersonGroupInfo {
2475
- /**
2476
- * 包含此人员的人员库ID
2477
- */
2478
- GroupId: string
2479
-
2480
- /**
2481
- * 人员描述字段内容
2482
- */
2483
- PersonExDescriptions: Array<string>
2484
- }
2485
-
2486
- /**
2487
- * VerifyFace返回参数结构体
2386
+ * RevertGroupFaceModelVersion返回参数结构体
2488
2387
  */
2489
- export interface VerifyFaceResponse {
2490
- /**
2491
- * 给定的人脸图片与 PersonId 对应人脸的相似度。若 PersonId 下有多张人脸(Face),返回相似度最大的分数。
2492
-
2493
- 不同算法版本返回的相似度分数不同。
2494
- 若需要验证两张图片中人脸是否为同一人,3.0版本误识率千分之一对应分数为40分,误识率万分之一对应分数为50分,误识率十万分之一对应分数为60分。 一般超过50分则可认定为同一人。
2495
- 2.0版本误识率千分之一对应分数为70分,误识率万分之一对应分数为80分,误识率十万分之一对应分数为90分。 一般超过80分则可认定为同一人。
2496
- */
2497
- Score: number
2498
-
2499
- /**
2500
- * 是否为同一人的判断。
2501
- */
2502
- IsMatch: boolean
2503
-
2504
- /**
2505
- * 人脸识别所用的算法模型版本。
2506
- */
2507
- FaceModelVersion: string
2508
-
2388
+ export interface RevertGroupFaceModelVersionResponse {
2509
2389
  /**
2510
2390
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2511
2391
  */
@@ -2705,41 +2585,13 @@ export interface DetectFaceResponse {
2705
2585
  }
2706
2586
 
2707
2587
  /**
2708
- * CheckSimilarPerson返回参数结构体
2588
+ * GetPersonListNum请求参数结构体
2709
2589
  */
2710
- export interface CheckSimilarPersonResponse {
2711
- /**
2712
- * 查重任务ID,用于查询、获取查重的进度和结果。
2713
- */
2714
- JobId: string
2715
-
2590
+ export interface GetPersonListNumRequest {
2716
2591
  /**
2717
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2592
+ * 人员库ID
2718
2593
  */
2719
- RequestId?: string
2720
- }
2721
-
2722
- /**
2723
- * 眉毛信息
2724
- */
2725
- export interface Eyebrow {
2726
- /**
2727
- * 眉毛浓密。
2728
- AttributeItem对应的Type为 —— 0:淡眉,1:浓眉。
2729
- */
2730
- EyebrowDensity: AttributeItem
2731
-
2732
- /**
2733
- * 眉毛弯曲。
2734
- AttributeItem对应的Type为 —— 0:不弯,1:弯眉。
2735
- */
2736
- EyebrowCurve: AttributeItem
2737
-
2738
- /**
2739
- * 眉毛长短。
2740
- AttributeItem对应的Type为 —— 0:短眉毛,1:长眉毛。
2741
- */
2742
- EyebrowLength: AttributeItem
2594
+ GroupId: string
2743
2595
  }
2744
2596
 
2745
2597
  /**
@@ -21,6 +21,7 @@ import {
21
21
  Candidate,
22
22
  DetectFaceAttributesResponse,
23
23
  SearchPersonsReturnsByGroupResponse,
24
+ PersonGroupInfo,
24
25
  Hat,
25
26
  CreatePersonRequest,
26
27
  CreateFaceResponse,
@@ -29,7 +30,7 @@ import {
29
30
  CreateGroupRequest,
30
31
  GetPersonGroupInfoRequest,
31
32
  FaceInfo,
32
- CheckSimilarPersonRequest,
33
+ Eyebrow,
33
34
  AnalyzeDenseLandmarksRequest,
34
35
  GetGroupListRequest,
35
36
  GetUpgradeGroupFaceModelVersionJobListRequest,
@@ -39,7 +40,6 @@ import {
39
40
  CreatePersonResponse,
40
41
  SearchFacesResponse,
41
42
  CopyPersonResponse,
42
- EstimateCheckSimilarPersonCostTimeResponse,
43
43
  GroupCandidate,
44
44
  DeleteFaceResponse,
45
45
  DeletePersonRequest,
@@ -47,12 +47,9 @@ import {
47
47
  DeleteFaceRequest,
48
48
  ModifyGroupRequest,
49
49
  DeleteGroupRequest,
50
- EstimateCheckSimilarPersonCostTimeRequest,
51
- RevertGroupFaceModelVersionResponse,
52
50
  UpgradeGroupFaceModelVersionRequest,
53
51
  DetectLiveFaceRequest,
54
52
  GetPersonBaseInfoResponse,
55
- GetSimilarPersonResultRequest,
56
53
  SearchPersonsResponse,
57
54
  GetUpgradeGroupFaceModelVersionResultRequest,
58
55
  GroupInfo,
@@ -61,7 +58,6 @@ import {
61
58
  CopyPersonRequest,
62
59
  SearchPersonsReturnsByGroupRequest,
63
60
  DeletePersonFromGroupResponse,
64
- GetCheckSimilarPersonJobIdListResponse,
65
61
  DenseFaceShape,
66
62
  ResultsReturnsByGroup,
67
63
  Point,
@@ -70,14 +66,12 @@ import {
70
66
  VerifyFaceRequest,
71
67
  GetPersonListResponse,
72
68
  Hair,
73
- CheckSimilarPersonResponse,
74
69
  Result,
75
70
  GetPersonGroupInfoResponse,
76
71
  UpgradeGroupFaceModelVersionResponse,
77
72
  SearchFacesReturnsByGroupRequest,
78
73
  AnalyzeDenseLandmarksResponse,
79
74
  ModifyPersonBaseInfoResponse,
80
- GetSimilarPersonResultResponse,
81
75
  ModifyPersonGroupInfoRequest,
82
76
  RevertGroupFaceModelVersionRequest,
83
77
  FaceQualityCompleteness,
@@ -86,10 +80,9 @@ import {
86
80
  CompareMaskFaceResponse,
87
81
  ModifyPersonBaseInfoRequest,
88
82
  DetectLiveFaceAccurateRequest,
89
- JobIdInfo,
83
+ VerifyFaceResponse,
90
84
  FaceDetailInfo,
91
85
  SearchFacesRequest,
92
- GetCheckSimilarPersonJobIdListRequest,
93
86
  SearchPersonsRequest,
94
87
  PersonInfo,
95
88
  GroupExDescriptionInfo,
@@ -106,15 +99,13 @@ import {
106
99
  GetGroupInfoResponse,
107
100
  CompareFaceResponse,
108
101
  Mouth,
109
- PersonGroupInfo,
110
- VerifyFaceResponse,
102
+ RevertGroupFaceModelVersionResponse,
111
103
  DeleteGroupResponse,
112
104
  FaceShape,
113
105
  CompareFaceRequest,
114
106
  VerifyPersonResponse,
115
107
  DetectFaceResponse,
116
108
  GetPersonListNumRequest,
117
- Eyebrow,
118
109
  GetGroupInfoRequest,
119
110
  UpgradeJobInfo,
120
111
  ModifyGroupResponse,
@@ -171,25 +162,18 @@ export class Client extends TencentCloudCommon.AbstractClient {
171
162
  }
172
163
 
173
164
  /**
174
- * 获取指定人员的信息,包括加入的人员库、描述内容等。
175
- */
176
- async GetPersonGroupInfo(
177
- req: GetPersonGroupInfoRequest,
178
- cb?: (error: string, rep: GetPersonGroupInfoResponse) => void
179
- ): Promise<GetPersonGroupInfoResponse> {
180
- return this.request("GetPersonGroupInfo", req, cb)
181
- }
165
+ * 用于创建一个空的人员库,如果人员库已存在返回错误。
166
+ 可根据需要创建自定义描述字段,用于辅助描述该人员库下的人员信息。
182
167
 
183
- /**
184
- * 获取人员查重任务列表,按任务创建时间逆序(最新的在前面)。
168
+ 1个APPID下最多创建10万个人员库(Group)、最多包含5000万张人脸(Face)。
185
169
 
186
- 只保留最近1年的数据。
170
+ 不同算法模型版本(FaceModelVersion)的人员库(Group)最多可包含人脸(Face)数不同。算法模型版本为2.0的人员库最多包含100万张人脸,算法模型版本为3.0的人员库最多可包含300万张人脸。
187
171
  */
188
- async GetCheckSimilarPersonJobIdList(
189
- req: GetCheckSimilarPersonJobIdListRequest,
190
- cb?: (error: string, rep: GetCheckSimilarPersonJobIdListResponse) => void
191
- ): Promise<GetCheckSimilarPersonJobIdListResponse> {
192
- return this.request("GetCheckSimilarPersonJobIdList", req, cb)
172
+ async CreateGroup(
173
+ req: CreateGroupRequest,
174
+ cb?: (error: string, rep: CreateGroupResponse) => void
175
+ ): Promise<CreateGroupResponse> {
176
+ return this.request("CreateGroup", req, cb)
193
177
  }
194
178
 
195
179
  /**
@@ -258,18 +242,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
258
242
  }
259
243
 
260
244
  /**
261
- * 用于创建一个空的人员库,如果人员库已存在返回错误。
262
- 可根据需要创建自定义描述字段,用于辅助描述该人员库下的人员信息。
263
-
264
- 1个APPID下最多创建10万个人员库(Group)、最多包含5000万张人脸(Face)。
265
-
266
- 不同算法模型版本(FaceModelVersion)的人员库(Group)最多可包含人脸(Face)数不同。算法模型版本为2.0的人员库最多包含100万张人脸,算法模型版本为3.0的人员库最多可包含300万张人脸。
267
- */
268
- async CreateGroup(
269
- req: CreateGroupRequest,
270
- cb?: (error: string, rep: CreateGroupResponse) => void
271
- ): Promise<CreateGroupResponse> {
272
- return this.request("CreateGroup", req, cb)
245
+ * 获取指定人员的信息,包括加入的人员库、描述内容等。
246
+ */
247
+ async GetPersonGroupInfo(
248
+ req: GetPersonGroupInfoRequest,
249
+ cb?: (error: string, rep: GetPersonGroupInfoResponse) => void
250
+ ): Promise<GetPersonGroupInfoResponse> {
251
+ return this.request("GetPersonGroupInfo", req, cb)
273
252
  }
274
253
 
275
254
  /**
@@ -333,23 +312,20 @@ export class Client extends TencentCloudCommon.AbstractClient {
333
312
  }
334
313
 
335
314
  /**
336
- * 对指定的人员库进行人员查重,给出疑似相同人的信息。
337
-
338
- 可以使用本接口对已有的单个人员库进行人员查重,避免同一人在单个人员库中拥有多个身份;也可以使用本接口对已有的多个人员库进行人员查重,查询同一人是否同时存在多个人员库中。
315
+ * 给定一张人脸图片和一个 PersonId,判断图片中的人和 PersonId 对应的人是否为同一人。PersonId 请参考[人员库管理相关接口](https://cloud.tencent.com/document/product/867/45015)。
339
316
 
340
- 不支持跨算法模型版本查重,且目前仅支持算法模型为3.0的人员库使用查重功能。
317
+ 与[人脸比对](https://cloud.tencent.com/document/product/867/44987)接口不同的是,人脸验证用于判断 “此人是否是此人”,“此人”的信息已存于人员库中,“此人”可能存在多张人脸图片;而[人脸比对](https://cloud.tencent.com/document/product/867/44987)用于判断两张人脸的相似度。
341
318
 
342
- >
343
- - 若对完全相同的指定人员库进行查重操作,需等待上次操作完成才可。即,若两次请求输入的 GroupIds 相同,第一次请求若未完成,第二次请求将返回失败。
319
+ 与[人员验证](https://cloud.tencent.com/document/product/867/44982)接口不同的是,人脸验证将该人员(Person)下的每个人脸(Face)都作为单独个体进行验证,而[人员验证](https://cloud.tencent.com/document/product/867/44982)会将该人员(Person)下的所有人脸(Face)进行融合特征处理,即若某个 Person下有4张 Face,人员验证接口会将4张 Face 的特征进行融合处理,生成对应这个 Person 的特征,使人员验证(确定待识别的人脸图片是某人员)更加准确。
344
320
 
345
321
  >
346
- - 查重的人员库状态为腾讯云开始进行查重任务的那一刻,即您可以理解为当您发起查重请求后,若您的查重任务需要排队,在排队期间您对人员库的增删操作均会会影响查重的结果。腾讯云将以开始进行查重任务的那一刻人员库的状态进行查重。查重任务开始后,您对人员库的任何操作均不影响查重任务的进行。但建议查重任务开始后,请不要对人员库中人员和人脸进行增删操作。
322
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
347
323
  */
348
- async CheckSimilarPerson(
349
- req: CheckSimilarPersonRequest,
350
- cb?: (error: string, rep: CheckSimilarPersonResponse) => void
351
- ): Promise<CheckSimilarPersonResponse> {
352
- return this.request("CheckSimilarPerson", req, cb)
324
+ async VerifyFace(
325
+ req: VerifyFaceRequest,
326
+ cb?: (error: string, rep: VerifyFaceResponse) => void
327
+ ): Promise<VerifyFaceResponse> {
328
+ return this.request("VerifyFace", req, cb)
353
329
  }
354
330
 
355
331
  /**
@@ -397,16 +373,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
397
373
  return this.request("UpgradeGroupFaceModelVersion", req, cb)
398
374
  }
399
375
 
400
- /**
401
- * 获取人员查重接口(CheckSimilarPerson)结果。
402
- */
403
- async GetSimilarPersonResult(
404
- req: GetSimilarPersonResultRequest,
405
- cb?: (error: string, rep: GetSimilarPersonResultResponse) => void
406
- ): Promise<GetSimilarPersonResultResponse> {
407
- return this.request("GetSimilarPersonResult", req, cb)
408
- }
409
-
410
376
  /**
411
377
  * 本接口用于回滚人员库的人脸识别算法模型版本。单个人员库有且仅有一次回滚机会。
412
378
 
@@ -435,9 +401,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
435
401
  /**
436
402
  * 对两张图片中的人脸进行相似度比对,返回人脸相似度分数。
437
403
 
438
- 戴口罩人脸比对接口可在人脸戴口罩情况下使用,口罩遮挡程度最高可以遮挡鼻尖。
404
+ 防疫场景人脸比对接口可在人脸戴口罩情况下使用,口罩遮挡程度最高可以遮挡鼻尖。
439
405
 
440
- 如图片人脸不存在戴口罩情况,建议使用人脸比对服务。
406
+ 如图片人脸不存在防疫场景下戴口罩的情况,建议使用人脸比对服务。
441
407
  */
442
408
  async CompareMaskFace(
443
409
  req: CompareMaskFaceRequest,
@@ -583,23 +549,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
583
549
  return this.request("ModifyPersonGroupInfo", req, cb)
584
550
  }
585
551
 
586
- /**
587
- * 给定一张人脸图片和一个 PersonId,判断图片中的人和 PersonId 对应的人是否为同一人。PersonId 请参考[人员库管理相关接口](https://cloud.tencent.com/document/product/867/45015)。
588
-
589
- 与[人脸比对](https://cloud.tencent.com/document/product/867/44987)接口不同的是,人脸验证用于判断 “此人是否是此人”,“此人”的信息已存于人员库中,“此人”可能存在多张人脸图片;而[人脸比对](https://cloud.tencent.com/document/product/867/44987)用于判断两张人脸的相似度。
590
-
591
- 与[人员验证](https://cloud.tencent.com/document/product/867/44982)接口不同的是,人脸验证将该人员(Person)下的每个人脸(Face)都作为单独个体进行验证,而[人员验证](https://cloud.tencent.com/document/product/867/44982)会将该人员(Person)下的所有人脸(Face)进行融合特征处理,即若某个 Person下有4张 Face,人员验证接口会将4张 Face 的特征进行融合处理,生成对应这个 Person 的特征,使人员验证(确定待识别的人脸图片是某人员)更加准确。
592
-
593
- >
594
- - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
595
- */
596
- async VerifyFace(
597
- req: VerifyFaceRequest,
598
- cb?: (error: string, rep: VerifyFaceResponse) => void
599
- ): Promise<VerifyFaceResponse> {
600
- return this.request("VerifyFace", req, cb)
601
- }
602
-
603
552
  /**
604
553
  * 用于对一张待识别的人脸图片,在一个或多个人员库中识别出最相似的 TopK 人员,按照相似度从大到小排列。
605
554
 
@@ -664,20 +613,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
664
613
  return this.request("GetGroupList", req, cb)
665
614
  }
666
615
 
667
- /**
668
- * 获取若要开始一个人员查重任务,这个任务结束的预估时间。
669
-
670
- 若EndTimestamp符合您预期,请您尽快发起人员查重请求,否则导致可能需要更多处理时间。
671
-
672
- 若预估时间超过5小时,则无法使用人员查重功能。
673
- */
674
- async EstimateCheckSimilarPersonCostTime(
675
- req: EstimateCheckSimilarPersonCostTimeRequest,
676
- cb?: (error: string, rep: EstimateCheckSimilarPersonCostTimeResponse) => void
677
- ): Promise<EstimateCheckSimilarPersonCostTimeResponse> {
678
- return this.request("EstimateCheckSimilarPersonCostTime", req, cb)
679
- }
680
-
681
616
  /**
682
617
  * 删除一个人员下的人脸图片。如果该人员只有一张人脸图片,则返回错误。
683
618
  */