tencentcloud-sdk-nodejs-iai 4.1.120 → 4.1.121
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tencentcloud-sdk-nodejs-iai",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.121",
|
|
4
4
|
"description": "腾讯云 API NODEJS SDK",
|
|
5
5
|
"main": "./tencentcloud/index.js",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"url": "https://github.com/tencentcloud/tencentcloud-sdk-nodejs"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
+
"@types/ini": "^4.1.1",
|
|
48
49
|
"@types/json-bigint": "^1.0.1",
|
|
49
50
|
"@types/node": "^18.0.0",
|
|
50
51
|
"@types/node-fetch": "^2.5.7",
|
|
@@ -71,9 +71,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
71
71
|
*/
|
|
72
72
|
CreateFace(req: CreateFaceRequest, cb?: (error: string, rep: CreateFaceResponse) => void): Promise<CreateFaceResponse>;
|
|
73
73
|
/**
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
*/
|
|
74
|
+
* 删除该人员库及包含的所有的人员。同时,人员对应的所有人脸信息将被删除。若某人员同时存在多个人员库中,该人员不会被删除,但属于该人员库中的自定义描述字段信息会被删除,属于其他人员库的自定义描述字段信息不受影响。
|
|
75
|
+
*/
|
|
77
76
|
DeleteGroup(req: DeleteGroupRequest, cb?: (error: string, rep: DeleteGroupResponse) => void): Promise<DeleteGroupResponse>;
|
|
78
77
|
/**
|
|
79
78
|
* 获取指定人员库中人员数量。
|
|
@@ -105,9 +105,8 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
105
105
|
return this.request("CreateFace", req, cb);
|
|
106
106
|
}
|
|
107
107
|
/**
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
*/
|
|
108
|
+
* 删除该人员库及包含的所有的人员。同时,人员对应的所有人脸信息将被删除。若某人员同时存在多个人员库中,该人员不会被删除,但属于该人员库中的自定义描述字段信息会被删除,属于其他人员库的自定义描述字段信息不受影响。
|
|
109
|
+
*/
|
|
111
110
|
async DeleteGroup(req, cb) {
|
|
112
111
|
return this.request("DeleteGroup", req, cb);
|
|
113
112
|
}
|
|
@@ -1081,22 +1081,21 @@ export interface DenseFaceShape {
|
|
|
1081
1081
|
}
|
|
1082
1082
|
/**
|
|
1083
1083
|
* 识别结果。
|
|
1084
|
-
|
|
1085
1084
|
*/
|
|
1086
1085
|
export interface ResultsReturnsByGroup {
|
|
1087
1086
|
/**
|
|
1088
1087
|
* 检测出的人脸框位置。
|
|
1089
1088
|
*/
|
|
1090
|
-
FaceRect
|
|
1089
|
+
FaceRect?: FaceRect;
|
|
1091
1090
|
/**
|
|
1092
1091
|
* 识别结果。
|
|
1093
1092
|
*/
|
|
1094
|
-
GroupCandidates
|
|
1093
|
+
GroupCandidates?: Array<GroupCandidate>;
|
|
1095
1094
|
/**
|
|
1096
1095
|
* 检测出的人脸图片状态返回码。0 表示正常。
|
|
1097
1096
|
-1601代表不符合图片质量控制要求,此时Candidate内容为空。
|
|
1098
1097
|
*/
|
|
1099
|
-
RetCode
|
|
1098
|
+
RetCode?: number;
|
|
1100
1099
|
}
|
|
1101
1100
|
/**
|
|
1102
1101
|
* 坐标
|
|
@@ -1733,28 +1732,28 @@ export interface PersonInfo {
|
|
|
1733
1732
|
/**
|
|
1734
1733
|
* 人员名称
|
|
1735
1734
|
*/
|
|
1736
|
-
PersonName
|
|
1735
|
+
PersonName?: string;
|
|
1737
1736
|
/**
|
|
1738
1737
|
* 人员Id
|
|
1739
1738
|
*/
|
|
1740
|
-
PersonId
|
|
1739
|
+
PersonId?: string;
|
|
1741
1740
|
/**
|
|
1742
1741
|
* 人员性别
|
|
1743
1742
|
*/
|
|
1744
|
-
Gender
|
|
1743
|
+
Gender?: number;
|
|
1745
1744
|
/**
|
|
1746
1745
|
* 人员描述字段内容
|
|
1747
1746
|
*/
|
|
1748
|
-
PersonExDescriptions
|
|
1747
|
+
PersonExDescriptions?: Array<string>;
|
|
1749
1748
|
/**
|
|
1750
1749
|
* 包含的人脸照片列表
|
|
1751
1750
|
*/
|
|
1752
|
-
FaceIds
|
|
1751
|
+
FaceIds?: Array<string>;
|
|
1753
1752
|
/**
|
|
1754
1753
|
* 人员的创建时间和日期 CreationTimestamp。CreationTimestamp 的值是自 Unix 纪元时间到Group创建时间的毫秒数。
|
|
1755
1754
|
Unix 纪元时间是 1970 年 1 月 1 日星期四,协调世界时 (UTC) 00:00:00。有关更多信息,请参阅 Unix 时间。
|
|
1756
1755
|
*/
|
|
1757
|
-
CreationTimestamp
|
|
1756
|
+
CreationTimestamp?: number;
|
|
1758
1757
|
}
|
|
1759
1758
|
/**
|
|
1760
1759
|
* 需要修改的人员库自定义描述字段key-value
|