tencentcloud-sdk-nodejs-iai 4.0.331 → 4.0.332
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/CHANGELOG.md +265 -0
- package/SERVICE_CHANGELOG.md +748 -200
- package/package.json +1 -1
- package/products.md +43 -42
- package/src/services/iai/v20180301/iai_client.ts +14 -79
- package/src/services/iai/v20180301/iai_models.ts +53 -201
- package/src/services/iai/v20200303/iai_client.ts +31 -96
- package/src/services/iai/v20200303/iai_models.ts +49 -199
- package/tencentcloud/services/iai/v20180301/iai_client.d.ts +6 -38
- package/tencentcloud/services/iai/v20180301/iai_client.js +6 -46
- package/tencentcloud/services/iai/v20180301/iai_models.d.ts +49 -178
- package/tencentcloud/services/iai/v20200303/iai_client.d.ts +17 -49
- package/tencentcloud/services/iai/v20200303/iai_client.js +19 -59
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +45 -176
|
@@ -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
|
*/
|
|
@@ -465,22 +480,26 @@ export interface FaceInfo {
|
|
|
465
480
|
}
|
|
466
481
|
|
|
467
482
|
/**
|
|
468
|
-
*
|
|
483
|
+
* 眉毛信息
|
|
469
484
|
*/
|
|
470
|
-
export interface
|
|
485
|
+
export interface Eyebrow {
|
|
471
486
|
/**
|
|
472
|
-
*
|
|
473
|
-
|
|
474
|
-
数组元素取值为创建人员库接口中的GroupId
|
|
487
|
+
* 眉毛浓密。
|
|
488
|
+
AttributeItem对应的Type为 —— 0:淡眉,1:浓眉。
|
|
475
489
|
*/
|
|
476
|
-
|
|
490
|
+
EyebrowDensity: AttributeItem
|
|
477
491
|
|
|
478
492
|
/**
|
|
479
|
-
*
|
|
480
|
-
1
|
|
481
|
-
2:力度较低的人员整理,非重复身份的误清除率较低,对应稍低的重复身份消除率。
|
|
493
|
+
* 眉毛弯曲。
|
|
494
|
+
AttributeItem对应的Type为 —— 0:不弯,1:弯眉。
|
|
482
495
|
*/
|
|
483
|
-
|
|
496
|
+
EyebrowCurve: AttributeItem
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* 眉毛长短。
|
|
500
|
+
AttributeItem对应的Type为 —— 0:短眉毛,1:长眉毛。
|
|
501
|
+
*/
|
|
502
|
+
EyebrowLength: AttributeItem
|
|
484
503
|
}
|
|
485
504
|
|
|
486
505
|
/**
|
|
@@ -749,21 +768,6 @@ export interface CopyPersonResponse {
|
|
|
749
768
|
RequestId?: string
|
|
750
769
|
}
|
|
751
770
|
|
|
752
|
-
/**
|
|
753
|
-
* EstimateCheckSimilarPersonCostTime返回参数结构体
|
|
754
|
-
*/
|
|
755
|
-
export interface EstimateCheckSimilarPersonCostTimeResponse {
|
|
756
|
-
/**
|
|
757
|
-
* 人员查重任务预估需要耗费时间。 单位为分钟。
|
|
758
|
-
*/
|
|
759
|
-
EstimatedTimeCost?: number
|
|
760
|
-
|
|
761
|
-
/**
|
|
762
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
763
|
-
*/
|
|
764
|
-
RequestId?: string
|
|
765
|
-
}
|
|
766
|
-
|
|
767
771
|
/**
|
|
768
772
|
* 分组识别结果Item
|
|
769
773
|
*/
|
|
@@ -886,28 +890,6 @@ export interface DeleteGroupRequest {
|
|
|
886
890
|
GroupId: string
|
|
887
891
|
}
|
|
888
892
|
|
|
889
|
-
/**
|
|
890
|
-
* EstimateCheckSimilarPersonCostTime请求参数结构体
|
|
891
|
-
*/
|
|
892
|
-
export interface EstimateCheckSimilarPersonCostTimeRequest {
|
|
893
|
-
/**
|
|
894
|
-
* 待整理的人员库列表。
|
|
895
|
-
人员库总人数不可超过200万,人员库个数不可超过10个。
|
|
896
|
-
数组元素取值为创建人员库接口中的GroupId
|
|
897
|
-
*/
|
|
898
|
-
GroupIds: Array<string>
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
/**
|
|
902
|
-
* RevertGroupFaceModelVersion返回参数结构体
|
|
903
|
-
*/
|
|
904
|
-
export interface RevertGroupFaceModelVersionResponse {
|
|
905
|
-
/**
|
|
906
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
907
|
-
*/
|
|
908
|
-
RequestId?: string
|
|
909
|
-
}
|
|
910
|
-
|
|
911
893
|
/**
|
|
912
894
|
* UpgradeGroupFaceModelVersion请求参数结构体
|
|
913
895
|
*/
|
|
@@ -984,16 +966,6 @@ export interface GetPersonBaseInfoResponse {
|
|
|
984
966
|
RequestId?: string
|
|
985
967
|
}
|
|
986
968
|
|
|
987
|
-
/**
|
|
988
|
-
* GetSimilarPersonResult请求参数结构体
|
|
989
|
-
*/
|
|
990
|
-
export interface GetSimilarPersonResultRequest {
|
|
991
|
-
/**
|
|
992
|
-
* 查重任务ID,用于查询、获取查重的进度和结果。取值为人员查重接口返回的JobId
|
|
993
|
-
*/
|
|
994
|
-
JobId: string
|
|
995
|
-
}
|
|
996
|
-
|
|
997
969
|
/**
|
|
998
970
|
* SearchPersons返回参数结构体
|
|
999
971
|
*/
|
|
@@ -1228,26 +1200,6 @@ export interface DeletePersonFromGroupResponse {
|
|
|
1228
1200
|
RequestId?: string
|
|
1229
1201
|
}
|
|
1230
1202
|
|
|
1231
|
-
/**
|
|
1232
|
-
* GetCheckSimilarPersonJobIdList返回参数结构体
|
|
1233
|
-
*/
|
|
1234
|
-
export interface GetCheckSimilarPersonJobIdListResponse {
|
|
1235
|
-
/**
|
|
1236
|
-
* 人员查重任务信息列表。
|
|
1237
|
-
*/
|
|
1238
|
-
JobIdInfos?: Array<JobIdInfo>
|
|
1239
|
-
|
|
1240
|
-
/**
|
|
1241
|
-
* 查重任务总数量。
|
|
1242
|
-
*/
|
|
1243
|
-
JobIdNum?: number
|
|
1244
|
-
|
|
1245
|
-
/**
|
|
1246
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1247
|
-
*/
|
|
1248
|
-
RequestId?: string
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
1203
|
/**
|
|
1252
1204
|
* 稠密关键点详细信息
|
|
1253
1205
|
*/
|
|
@@ -1517,21 +1469,6 @@ AttributeItem对应的Type为 —— 0:黑色,1:金色,2:棕色,3:
|
|
|
1517
1469
|
Color: AttributeItem
|
|
1518
1470
|
}
|
|
1519
1471
|
|
|
1520
|
-
/**
|
|
1521
|
-
* CheckSimilarPerson返回参数结构体
|
|
1522
|
-
*/
|
|
1523
|
-
export interface CheckSimilarPersonResponse {
|
|
1524
|
-
/**
|
|
1525
|
-
* 查重任务ID,用于查询、获取查重的进度和结果。
|
|
1526
|
-
*/
|
|
1527
|
-
JobId: string
|
|
1528
|
-
|
|
1529
|
-
/**
|
|
1530
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1531
|
-
*/
|
|
1532
|
-
RequestId?: string
|
|
1533
|
-
}
|
|
1534
|
-
|
|
1535
1472
|
/**
|
|
1536
1473
|
* 人脸的识别结果
|
|
1537
1474
|
*/
|
|
@@ -1710,27 +1647,6 @@ export interface ModifyPersonBaseInfoResponse {
|
|
|
1710
1647
|
RequestId?: string
|
|
1711
1648
|
}
|
|
1712
1649
|
|
|
1713
|
-
/**
|
|
1714
|
-
* GetSimilarPersonResult返回参数结构体
|
|
1715
|
-
*/
|
|
1716
|
-
export interface GetSimilarPersonResultResponse {
|
|
1717
|
-
/**
|
|
1718
|
-
* 查重任务完成进度。取值[0.0,100.0]。当且仅当值为100时,SimilarPersons才有意义。
|
|
1719
|
-
*/
|
|
1720
|
-
Progress?: number
|
|
1721
|
-
|
|
1722
|
-
/**
|
|
1723
|
-
* 疑似同一人的人员信息文件临时下载链接, 有效时间为5分钟,结果文件实际保存90天。
|
|
1724
|
-
文件内容由 SimilarPerson 的数组组成。
|
|
1725
|
-
*/
|
|
1726
|
-
SimilarPersonsUrl?: string
|
|
1727
|
-
|
|
1728
|
-
/**
|
|
1729
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1730
|
-
*/
|
|
1731
|
-
RequestId?: string
|
|
1732
|
-
}
|
|
1733
|
-
|
|
1734
1650
|
/**
|
|
1735
1651
|
* ModifyPersonGroupInfo请求参数结构体
|
|
1736
1652
|
*/
|
|
@@ -2002,26 +1918,32 @@ Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
|
2002
1918
|
}
|
|
2003
1919
|
|
|
2004
1920
|
/**
|
|
2005
|
-
*
|
|
1921
|
+
* VerifyFace返回参数结构体
|
|
2006
1922
|
*/
|
|
2007
|
-
export interface
|
|
1923
|
+
export interface VerifyFaceResponse {
|
|
1924
|
+
/**
|
|
1925
|
+
* 给定的人脸图片与 PersonId 对应人脸的相似度。若 PersonId 下有多张人脸(Face),返回相似度最大的分数。
|
|
1926
|
+
|
|
1927
|
+
不同算法版本返回的相似度分数不同。
|
|
1928
|
+
若需要验证两张图片中人脸是否为同一人,3.0版本误识率千分之一对应分数为40分,误识率万分之一对应分数为50分,误识率十万分之一对应分数为60分。 一般超过50分则可认定为同一人。
|
|
1929
|
+
2.0版本误识率千分之一对应分数为70分,误识率万分之一对应分数为80分,误识率十万分之一对应分数为90分。 一般超过80分则可认定为同一人。
|
|
1930
|
+
*/
|
|
1931
|
+
Score: number
|
|
1932
|
+
|
|
2008
1933
|
/**
|
|
2009
|
-
*
|
|
1934
|
+
* 是否为同一人的判断。
|
|
2010
1935
|
*/
|
|
2011
|
-
|
|
1936
|
+
IsMatch: boolean
|
|
2012
1937
|
|
|
2013
1938
|
/**
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
有关更多信息,请参阅 Unix 时间。
|
|
2018
|
-
*/
|
|
2019
|
-
StartTime: number
|
|
1939
|
+
* 人脸识别所用的算法模型版本,是该 Person 所在的人员库的算法模型版本。在创建人员库时设置,详情可参考[算法模型版本](https://cloud.tencent.com/document/product/867/40042)
|
|
1940
|
+
*/
|
|
1941
|
+
FaceModelVersion: string
|
|
2020
1942
|
|
|
2021
1943
|
/**
|
|
2022
|
-
*
|
|
1944
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2023
1945
|
*/
|
|
2024
|
-
|
|
1946
|
+
RequestId?: string
|
|
2025
1947
|
}
|
|
2026
1948
|
|
|
2027
1949
|
/**
|
|
@@ -2117,21 +2039,6 @@ MaxFaceNum用于,当输入的待识别图片包含多张人脸时,设定要
|
|
|
2117
2039
|
NeedRotateDetection?: number
|
|
2118
2040
|
}
|
|
2119
2041
|
|
|
2120
|
-
/**
|
|
2121
|
-
* GetCheckSimilarPersonJobIdList请求参数结构体
|
|
2122
|
-
*/
|
|
2123
|
-
export interface GetCheckSimilarPersonJobIdListRequest {
|
|
2124
|
-
/**
|
|
2125
|
-
* 起始序号,默认值为0。
|
|
2126
|
-
*/
|
|
2127
|
-
Offset?: number
|
|
2128
|
-
|
|
2129
|
-
/**
|
|
2130
|
-
* 返回数量,默认值为10,最大值为1000。
|
|
2131
|
-
*/
|
|
2132
|
-
Limit?: number
|
|
2133
|
-
}
|
|
2134
|
-
|
|
2135
2042
|
/**
|
|
2136
2043
|
* SearchPersons请求参数结构体
|
|
2137
2044
|
*/
|
|
@@ -2641,43 +2548,9 @@ AttributeItem对应的Type为 —— 0:不张嘴,1:张嘴。
|
|
|
2641
2548
|
}
|
|
2642
2549
|
|
|
2643
2550
|
/**
|
|
2644
|
-
*
|
|
2645
|
-
*/
|
|
2646
|
-
export interface PersonGroupInfo {
|
|
2647
|
-
/**
|
|
2648
|
-
* 包含此人员的人员库ID
|
|
2649
|
-
*/
|
|
2650
|
-
GroupId: string
|
|
2651
|
-
|
|
2652
|
-
/**
|
|
2653
|
-
* 人员描述字段内容
|
|
2654
|
-
*/
|
|
2655
|
-
PersonExDescriptions: Array<string>
|
|
2656
|
-
}
|
|
2657
|
-
|
|
2658
|
-
/**
|
|
2659
|
-
* VerifyFace返回参数结构体
|
|
2551
|
+
* RevertGroupFaceModelVersion返回参数结构体
|
|
2660
2552
|
*/
|
|
2661
|
-
export interface
|
|
2662
|
-
/**
|
|
2663
|
-
* 给定的人脸图片与 PersonId 对应人脸的相似度。若 PersonId 下有多张人脸(Face),返回相似度最大的分数。
|
|
2664
|
-
|
|
2665
|
-
不同算法版本返回的相似度分数不同。
|
|
2666
|
-
若需要验证两张图片中人脸是否为同一人,3.0版本误识率千分之一对应分数为40分,误识率万分之一对应分数为50分,误识率十万分之一对应分数为60分。 一般超过50分则可认定为同一人。
|
|
2667
|
-
2.0版本误识率千分之一对应分数为70分,误识率万分之一对应分数为80分,误识率十万分之一对应分数为90分。 一般超过80分则可认定为同一人。
|
|
2668
|
-
*/
|
|
2669
|
-
Score: number
|
|
2670
|
-
|
|
2671
|
-
/**
|
|
2672
|
-
* 是否为同一人的判断。
|
|
2673
|
-
*/
|
|
2674
|
-
IsMatch: boolean
|
|
2675
|
-
|
|
2676
|
-
/**
|
|
2677
|
-
* 人脸识别所用的算法模型版本,是该 Person 所在的人员库的算法模型版本。在创建人员库时设置,详情可参考[算法模型版本](https://cloud.tencent.com/document/product/867/40042)
|
|
2678
|
-
*/
|
|
2679
|
-
FaceModelVersion: string
|
|
2680
|
-
|
|
2553
|
+
export interface RevertGroupFaceModelVersionResponse {
|
|
2681
2554
|
/**
|
|
2682
2555
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2683
2556
|
*/
|
|
@@ -2882,29 +2755,6 @@ export interface GetPersonListNumRequest {
|
|
|
2882
2755
|
GroupId: string
|
|
2883
2756
|
}
|
|
2884
2757
|
|
|
2885
|
-
/**
|
|
2886
|
-
* 眉毛信息
|
|
2887
|
-
*/
|
|
2888
|
-
export interface Eyebrow {
|
|
2889
|
-
/**
|
|
2890
|
-
* 眉毛浓密。
|
|
2891
|
-
AttributeItem对应的Type为 —— 0:淡眉,1:浓眉。
|
|
2892
|
-
*/
|
|
2893
|
-
EyebrowDensity: AttributeItem
|
|
2894
|
-
|
|
2895
|
-
/**
|
|
2896
|
-
* 眉毛弯曲。
|
|
2897
|
-
AttributeItem对应的Type为 —— 0:不弯,1:弯眉。
|
|
2898
|
-
*/
|
|
2899
|
-
EyebrowCurve: AttributeItem
|
|
2900
|
-
|
|
2901
|
-
/**
|
|
2902
|
-
* 眉毛长短。
|
|
2903
|
-
AttributeItem对应的Type为 —— 0:短眉毛,1:长眉毛。
|
|
2904
|
-
*/
|
|
2905
|
-
EyebrowLength: AttributeItem
|
|
2906
|
-
}
|
|
2907
|
-
|
|
2908
2758
|
/**
|
|
2909
2759
|
* GetGroupInfo请求参数结构体
|
|
2910
2760
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DetectFaceAttributesResponse, SearchPersonsReturnsByGroupResponse, CreatePersonRequest, CreateFaceResponse, CreateFaceRequest, CreateGroupRequest, GetPersonGroupInfoRequest,
|
|
2
|
+
import { DetectFaceAttributesResponse, SearchPersonsReturnsByGroupResponse, CreatePersonRequest, CreateFaceResponse, CreateFaceRequest, CreateGroupRequest, GetPersonGroupInfoRequest, AnalyzeDenseLandmarksRequest, GetGroupListRequest, GetUpgradeGroupFaceModelVersionJobListRequest, GetUpgradeGroupFaceModelVersionResultResponse, AnalyzeFaceRequest, CreatePersonResponse, SearchFacesResponse, CopyPersonResponse, DeleteFaceResponse, DeletePersonRequest, DetectLiveFaceResponse, DeleteFaceRequest, ModifyGroupRequest, DeleteGroupRequest, UpgradeGroupFaceModelVersionRequest, DetectLiveFaceRequest, GetPersonBaseInfoResponse, SearchPersonsResponse, GetUpgradeGroupFaceModelVersionResultRequest, SearchFacesReturnsByGroupResponse, CopyPersonRequest, SearchPersonsReturnsByGroupRequest, DeletePersonFromGroupResponse, GetPersonListNumResponse, DeletePersonFromGroupRequest, VerifyFaceRequest, GetPersonListResponse, GetPersonGroupInfoResponse, UpgradeGroupFaceModelVersionResponse, SearchFacesReturnsByGroupRequest, AnalyzeDenseLandmarksResponse, ModifyPersonBaseInfoResponse, ModifyPersonGroupInfoRequest, RevertGroupFaceModelVersionRequest, VerifyPersonRequest, ModifyPersonBaseInfoRequest, VerifyFaceResponse, SearchFacesRequest, SearchPersonsRequest, AnalyzeFaceResponse, DetectFaceRequest, GetPersonBaseInfoRequest, DeletePersonResponse, GetUpgradeGroupFaceModelVersionJobListResponse, GetGroupListResponse, DetectFaceAttributesRequest, GetGroupInfoResponse, CompareFaceResponse, RevertGroupFaceModelVersionResponse, DeleteGroupResponse, CompareFaceRequest, VerifyPersonResponse, DetectFaceResponse, GetPersonListNumRequest, GetGroupInfoRequest, ModifyGroupResponse, GetPersonListRequest, ModifyPersonGroupInfoResponse, CreateGroupResponse } from "./iai_models";
|
|
3
3
|
/**
|
|
4
4
|
* iai client
|
|
5
5
|
* @class
|
|
@@ -36,12 +36,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
36
36
|
不同算法模型版本(FaceModelVersion)的人员库(Group)最多可包含人脸(Face)数不同。算法模型版本为2.0的人员库最多包含100万张人脸,算法模型版本为3.0的人员库最多可包含300万张人脸。
|
|
37
37
|
*/
|
|
38
38
|
CreateGroup(req: CreateGroupRequest, cb?: (error: string, rep: CreateGroupResponse) => void): Promise<CreateGroupResponse>;
|
|
39
|
-
/**
|
|
40
|
-
* 获取人员查重任务列表,按任务创建时间逆序(最新的在前面)。
|
|
41
|
-
|
|
42
|
-
只保留最近1年的数据。
|
|
43
|
-
*/
|
|
44
|
-
GetCheckSimilarPersonJobIdList(req: GetCheckSimilarPersonJobIdListRequest, cb?: (error: string, rep: GetCheckSimilarPersonJobIdListResponse) => void): Promise<GetCheckSimilarPersonJobIdListResponse>;
|
|
45
39
|
/**
|
|
46
40
|
* 获取指定人员的信息,包括姓名、性别、人脸等。
|
|
47
41
|
*/
|
|
@@ -115,19 +109,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
115
109
|
*/
|
|
116
110
|
CopyPerson(req: CopyPersonRequest, cb?: (error: string, rep: CopyPersonResponse) => void): Promise<CopyPersonResponse>;
|
|
117
111
|
/**
|
|
118
|
-
*
|
|
119
|
-
|
|
120
|
-
可以使用本接口对已有的单个人员库进行人员查重,避免同一人在单个人员库中拥有多个身份;也可以使用本接口对已有的多个人员库进行人员查重,查询同一人是否同时存在多个人员库中。
|
|
112
|
+
* 给定一张人脸图片和一个 PersonId,判断图片中的人和 PersonId 对应的人是否为同一人。PersonId 请参考[人员库管理相关接口](https://cloud.tencent.com/document/product/867/32794)。
|
|
121
113
|
|
|
122
|
-
|
|
114
|
+
与[人脸比对](https://cloud.tencent.com/document/product/867/32802)接口不同的是,人脸验证用于判断 “此人是否是此人”,“此人”的信息已存于人员库中,“此人”可能存在多张人脸图片;而[人脸比对](https://cloud.tencent.com/document/product/867/32802)用于判断两张人脸的相似度。
|
|
123
115
|
|
|
124
|
-
|
|
125
|
-
- 若对完全相同的指定人员库进行查重操作,需等待上次操作完成才可。即,若两次请求输入的 GroupIds 相同,第一次请求若未完成,第二次请求将返回失败。
|
|
116
|
+
与[人员验证](https://cloud.tencent.com/document/product/867/38879)接口不同的是,人脸验证将该人员(Person)下的每个人脸(Face)都作为单独个体进行验证,而[人员验证](https://cloud.tencent.com/document/product/867/38879)会将该人员(Person)下的所有人脸(Face)进行融合特征处理,即若某个 Person下有4张 Face,人员验证接口会将4张 Face 的特征进行融合处理,生成对应这个 Person 的特征,使人员验证(确定待识别的人脸图片是某人员)更加准确。
|
|
126
117
|
|
|
127
118
|
>
|
|
128
|
-
-
|
|
119
|
+
- 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
129
120
|
*/
|
|
130
|
-
|
|
121
|
+
VerifyFace(req: VerifyFaceRequest, cb?: (error: string, rep: VerifyFaceResponse) => void): Promise<VerifyFaceResponse>;
|
|
131
122
|
/**
|
|
132
123
|
* 对请求图片进行五官定位(也称人脸关键点定位),获得人脸的精准信息,返回多达888点关键信息,对五官和脸部轮廓进行精确定位。
|
|
133
124
|
*/
|
|
@@ -146,10 +137,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
146
137
|
注:此处QPS限制为10。
|
|
147
138
|
*/
|
|
148
139
|
UpgradeGroupFaceModelVersion(req: UpgradeGroupFaceModelVersionRequest, cb?: (error: string, rep: UpgradeGroupFaceModelVersionResponse) => void): Promise<UpgradeGroupFaceModelVersionResponse>;
|
|
149
|
-
/**
|
|
150
|
-
* 获取人员查重接口(CheckSimilarPerson)结果。
|
|
151
|
-
*/
|
|
152
|
-
GetSimilarPersonResult(req: GetSimilarPersonResultRequest, cb?: (error: string, rep: GetSimilarPersonResultResponse) => void): Promise<GetSimilarPersonResultResponse>;
|
|
153
140
|
/**
|
|
154
141
|
* 本接口用于回滚人员库的人脸识别算法模型版本。单个人员库有且仅有一次回滚机会。
|
|
155
142
|
|
|
@@ -243,17 +230,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
243
230
|
* 修改指定人员库人员描述内容。
|
|
244
231
|
*/
|
|
245
232
|
ModifyPersonGroupInfo(req: ModifyPersonGroupInfoRequest, cb?: (error: string, rep: ModifyPersonGroupInfoResponse) => void): Promise<ModifyPersonGroupInfoResponse>;
|
|
246
|
-
/**
|
|
247
|
-
* 给定一张人脸图片和一个 PersonId,判断图片中的人和 PersonId 对应的人是否为同一人。PersonId 请参考[人员库管理相关接口](https://cloud.tencent.com/document/product/867/32794)。
|
|
248
|
-
|
|
249
|
-
与[人脸比对](https://cloud.tencent.com/document/product/867/32802)接口不同的是,人脸验证用于判断 “此人是否是此人”,“此人”的信息已存于人员库中,“此人”可能存在多张人脸图片;而[人脸比对](https://cloud.tencent.com/document/product/867/32802)用于判断两张人脸的相似度。
|
|
250
|
-
|
|
251
|
-
与[人员验证](https://cloud.tencent.com/document/product/867/38879)接口不同的是,人脸验证将该人员(Person)下的每个人脸(Face)都作为单独个体进行验证,而[人员验证](https://cloud.tencent.com/document/product/867/38879)会将该人员(Person)下的所有人脸(Face)进行融合特征处理,即若某个 Person下有4张 Face,人员验证接口会将4张 Face 的特征进行融合处理,生成对应这个 Person 的特征,使人员验证(确定待识别的人脸图片是某人员)更加准确。
|
|
252
|
-
|
|
253
|
-
>
|
|
254
|
-
- 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
255
|
-
*/
|
|
256
|
-
VerifyFace(req: VerifyFaceRequest, cb?: (error: string, rep: VerifyFaceResponse) => void): Promise<VerifyFaceResponse>;
|
|
257
233
|
/**
|
|
258
234
|
* 用于对一张待识别的人脸图片,在一个或多个人员库中识别出最相似的 TopK 人员,按照相似度从大到小排列。
|
|
259
235
|
|
|
@@ -294,14 +270,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
294
270
|
* 获取人员库列表。
|
|
295
271
|
*/
|
|
296
272
|
GetGroupList(req: GetGroupListRequest, cb?: (error: string, rep: GetGroupListResponse) => void): Promise<GetGroupListResponse>;
|
|
297
|
-
/**
|
|
298
|
-
* 获取若要开始一个人员查重任务,这个任务结束的预估时间。
|
|
299
|
-
|
|
300
|
-
若EndTimestamp符合您预期,请您尽快发起人员查重请求,否则导致可能需要更多处理时间。
|
|
301
|
-
|
|
302
|
-
若预估时间超过5小时,则无法使用人员查重功能。
|
|
303
|
-
*/
|
|
304
|
-
EstimateCheckSimilarPersonCostTime(req: EstimateCheckSimilarPersonCostTimeRequest, cb?: (error: string, rep: EstimateCheckSimilarPersonCostTimeResponse) => void): Promise<EstimateCheckSimilarPersonCostTimeResponse>;
|
|
305
273
|
/**
|
|
306
274
|
* 删除一个人员下的人脸图片。如果该人员只有一张人脸图片,则返回错误。
|
|
307
275
|
*/
|
|
@@ -63,14 +63,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
63
63
|
async CreateGroup(req, cb) {
|
|
64
64
|
return this.request("CreateGroup", req, cb);
|
|
65
65
|
}
|
|
66
|
-
/**
|
|
67
|
-
* 获取人员查重任务列表,按任务创建时间逆序(最新的在前面)。
|
|
68
|
-
|
|
69
|
-
只保留最近1年的数据。
|
|
70
|
-
*/
|
|
71
|
-
async GetCheckSimilarPersonJobIdList(req, cb) {
|
|
72
|
-
return this.request("GetCheckSimilarPersonJobIdList", req, cb);
|
|
73
|
-
}
|
|
74
66
|
/**
|
|
75
67
|
* 获取指定人员的信息,包括姓名、性别、人脸等。
|
|
76
68
|
*/
|
|
@@ -164,20 +156,17 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
164
156
|
return this.request("CopyPerson", req, cb);
|
|
165
157
|
}
|
|
166
158
|
/**
|
|
167
|
-
*
|
|
168
|
-
|
|
169
|
-
可以使用本接口对已有的单个人员库进行人员查重,避免同一人在单个人员库中拥有多个身份;也可以使用本接口对已有的多个人员库进行人员查重,查询同一人是否同时存在多个人员库中。
|
|
159
|
+
* 给定一张人脸图片和一个 PersonId,判断图片中的人和 PersonId 对应的人是否为同一人。PersonId 请参考[人员库管理相关接口](https://cloud.tencent.com/document/product/867/32794)。
|
|
170
160
|
|
|
171
|
-
|
|
161
|
+
与[人脸比对](https://cloud.tencent.com/document/product/867/32802)接口不同的是,人脸验证用于判断 “此人是否是此人”,“此人”的信息已存于人员库中,“此人”可能存在多张人脸图片;而[人脸比对](https://cloud.tencent.com/document/product/867/32802)用于判断两张人脸的相似度。
|
|
172
162
|
|
|
173
|
-
|
|
174
|
-
- 若对完全相同的指定人员库进行查重操作,需等待上次操作完成才可。即,若两次请求输入的 GroupIds 相同,第一次请求若未完成,第二次请求将返回失败。
|
|
163
|
+
与[人员验证](https://cloud.tencent.com/document/product/867/38879)接口不同的是,人脸验证将该人员(Person)下的每个人脸(Face)都作为单独个体进行验证,而[人员验证](https://cloud.tencent.com/document/product/867/38879)会将该人员(Person)下的所有人脸(Face)进行融合特征处理,即若某个 Person下有4张 Face,人员验证接口会将4张 Face 的特征进行融合处理,生成对应这个 Person 的特征,使人员验证(确定待识别的人脸图片是某人员)更加准确。
|
|
175
164
|
|
|
176
165
|
>
|
|
177
|
-
-
|
|
166
|
+
- 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
178
167
|
*/
|
|
179
|
-
async
|
|
180
|
-
return this.request("
|
|
168
|
+
async VerifyFace(req, cb) {
|
|
169
|
+
return this.request("VerifyFace", req, cb);
|
|
181
170
|
}
|
|
182
171
|
/**
|
|
183
172
|
* 对请求图片进行五官定位(也称人脸关键点定位),获得人脸的精准信息,返回多达888点关键信息,对五官和脸部轮廓进行精确定位。
|
|
@@ -205,12 +194,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
205
194
|
async UpgradeGroupFaceModelVersion(req, cb) {
|
|
206
195
|
return this.request("UpgradeGroupFaceModelVersion", req, cb);
|
|
207
196
|
}
|
|
208
|
-
/**
|
|
209
|
-
* 获取人员查重接口(CheckSimilarPerson)结果。
|
|
210
|
-
*/
|
|
211
|
-
async GetSimilarPersonResult(req, cb) {
|
|
212
|
-
return this.request("GetSimilarPersonResult", req, cb);
|
|
213
|
-
}
|
|
214
197
|
/**
|
|
215
198
|
* 本接口用于回滚人员库的人脸识别算法模型版本。单个人员库有且仅有一次回滚机会。
|
|
216
199
|
|
|
@@ -324,19 +307,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
324
307
|
async ModifyPersonGroupInfo(req, cb) {
|
|
325
308
|
return this.request("ModifyPersonGroupInfo", req, cb);
|
|
326
309
|
}
|
|
327
|
-
/**
|
|
328
|
-
* 给定一张人脸图片和一个 PersonId,判断图片中的人和 PersonId 对应的人是否为同一人。PersonId 请参考[人员库管理相关接口](https://cloud.tencent.com/document/product/867/32794)。
|
|
329
|
-
|
|
330
|
-
与[人脸比对](https://cloud.tencent.com/document/product/867/32802)接口不同的是,人脸验证用于判断 “此人是否是此人”,“此人”的信息已存于人员库中,“此人”可能存在多张人脸图片;而[人脸比对](https://cloud.tencent.com/document/product/867/32802)用于判断两张人脸的相似度。
|
|
331
|
-
|
|
332
|
-
与[人员验证](https://cloud.tencent.com/document/product/867/38879)接口不同的是,人脸验证将该人员(Person)下的每个人脸(Face)都作为单独个体进行验证,而[人员验证](https://cloud.tencent.com/document/product/867/38879)会将该人员(Person)下的所有人脸(Face)进行融合特征处理,即若某个 Person下有4张 Face,人员验证接口会将4张 Face 的特征进行融合处理,生成对应这个 Person 的特征,使人员验证(确定待识别的人脸图片是某人员)更加准确。
|
|
333
|
-
|
|
334
|
-
>
|
|
335
|
-
- 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
336
|
-
*/
|
|
337
|
-
async VerifyFace(req, cb) {
|
|
338
|
-
return this.request("VerifyFace", req, cb);
|
|
339
|
-
}
|
|
340
310
|
/**
|
|
341
311
|
* 用于对一张待识别的人脸图片,在一个或多个人员库中识别出最相似的 TopK 人员,按照相似度从大到小排列。
|
|
342
312
|
|
|
@@ -385,16 +355,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
385
355
|
async GetGroupList(req, cb) {
|
|
386
356
|
return this.request("GetGroupList", req, cb);
|
|
387
357
|
}
|
|
388
|
-
/**
|
|
389
|
-
* 获取若要开始一个人员查重任务,这个任务结束的预估时间。
|
|
390
|
-
|
|
391
|
-
若EndTimestamp符合您预期,请您尽快发起人员查重请求,否则导致可能需要更多处理时间。
|
|
392
|
-
|
|
393
|
-
若预估时间超过5小时,则无法使用人员查重功能。
|
|
394
|
-
*/
|
|
395
|
-
async EstimateCheckSimilarPersonCostTime(req, cb) {
|
|
396
|
-
return this.request("EstimateCheckSimilarPersonCostTime", req, cb);
|
|
397
|
-
}
|
|
398
358
|
/**
|
|
399
359
|
* 删除一个人员下的人脸图片。如果该人员只有一张人脸图片,则返回错误。
|
|
400
360
|
*/
|