tencentcloud-sdk-nodejs-iai 4.0.643 → 4.0.646
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 +1028 -0
- package/SERVICE_CHANGELOG.md +1107 -165
- package/package.json +1 -1
- package/products.md +51 -51
- package/src/services/iai/v20200303/iai_models.ts +32 -32
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +32 -32
|
@@ -128,12 +128,12 @@ export interface Hat {
|
|
|
128
128
|
* 帽子佩戴状态信息。
|
|
129
129
|
AttributeItem对应的Type为 —— 0:不戴帽子,1:普通帽子,2:头盔,3:保安帽。
|
|
130
130
|
*/
|
|
131
|
-
Style
|
|
131
|
+
Style?: AttributeItem;
|
|
132
132
|
/**
|
|
133
133
|
* 帽子颜色。
|
|
134
|
-
AttributeItem对应的Type为 —— 0:不戴帽子,1:红色系,2:黄色系,3:蓝色系,4:黑色系,5:灰白色系,6
|
|
134
|
+
AttributeItem对应的Type为 —— 0:不戴帽子,1:红色系,2:黄色系,3:蓝色系,4:黑色系,5:灰白色系,6:混色系。
|
|
135
135
|
*/
|
|
136
|
-
Color
|
|
136
|
+
Color?: AttributeItem;
|
|
137
137
|
}
|
|
138
138
|
/**
|
|
139
139
|
* CreatePerson请求参数结构体
|
|
@@ -210,31 +210,31 @@ export interface CreateFaceResponse {
|
|
|
210
210
|
/**
|
|
211
211
|
* 加入成功的人脸数量
|
|
212
212
|
*/
|
|
213
|
-
SucFaceNum
|
|
213
|
+
SucFaceNum?: number;
|
|
214
214
|
/**
|
|
215
215
|
* 加入成功的人脸ID列表
|
|
216
216
|
*/
|
|
217
|
-
SucFaceIds
|
|
217
|
+
SucFaceIds?: Array<string>;
|
|
218
218
|
/**
|
|
219
219
|
* 每张人脸图片添加结果,-1101 代表未检测到人脸,-1102 代表图片解码失败,
|
|
220
220
|
-1601代表不符合图片质量控制要求, -1604 代表人脸相似度没有超过FaceMatchThreshold。
|
|
221
221
|
其他非 0 值代表算法服务异常。
|
|
222
222
|
RetCode的顺序和入参中 Images 或 Urls 的顺序一致。
|
|
223
223
|
*/
|
|
224
|
-
RetCode
|
|
224
|
+
RetCode?: Array<number>;
|
|
225
225
|
/**
|
|
226
226
|
* 加入成功的人脸索引。索引顺序和入参中 Images 或 Urls 的顺序一致。
|
|
227
|
-
|
|
227
|
+
例如, Urls 中 有 3 个 url,第二个 url 失败,则 SucIndexes 值为 [0,2] 。
|
|
228
228
|
*/
|
|
229
|
-
SucIndexes
|
|
229
|
+
SucIndexes?: Array<number>;
|
|
230
230
|
/**
|
|
231
231
|
* 加入成功的人脸框位置。顺序和入参中 Images 或 Urls 的顺序一致。
|
|
232
232
|
*/
|
|
233
|
-
SucFaceRects
|
|
233
|
+
SucFaceRects?: Array<FaceRect>;
|
|
234
234
|
/**
|
|
235
235
|
* 人脸识别所用的算法模型版本。
|
|
236
236
|
*/
|
|
237
|
-
FaceModelVersion
|
|
237
|
+
FaceModelVersion?: string;
|
|
238
238
|
/**
|
|
239
239
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
240
240
|
*/
|
|
@@ -616,15 +616,15 @@ export interface SearchFacesResponse {
|
|
|
616
616
|
/**
|
|
617
617
|
* 识别结果。
|
|
618
618
|
*/
|
|
619
|
-
Results
|
|
619
|
+
Results?: Array<Result>;
|
|
620
620
|
/**
|
|
621
621
|
* 搜索的人员库中包含的人脸数。
|
|
622
622
|
*/
|
|
623
|
-
FaceNum
|
|
623
|
+
FaceNum?: number;
|
|
624
624
|
/**
|
|
625
625
|
* 人脸识别所用的算法模型版本。
|
|
626
626
|
*/
|
|
627
|
-
FaceModelVersion
|
|
627
|
+
FaceModelVersion?: string;
|
|
628
628
|
/**
|
|
629
629
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
630
630
|
*/
|
|
@@ -1705,7 +1705,7 @@ export interface SearchFacesRequest {
|
|
|
1705
1705
|
/**
|
|
1706
1706
|
* 最多识别的人脸数目。默认值为1(仅检测图片中面积最大的那张人脸),最大值为10。
|
|
1707
1707
|
MaxFaceNum用于,当输入的待识别图片包含多张人脸时,设定要搜索的人脸的数量。
|
|
1708
|
-
|
|
1708
|
+
例如:输入的Image或Url中的图片包含多张人脸,设MaxFaceNum=5,则会识别图片中面积最大的5张人脸。
|
|
1709
1709
|
*/
|
|
1710
1710
|
MaxFaceNum?: number;
|
|
1711
1711
|
/**
|
|
@@ -1714,7 +1714,7 @@ export interface SearchFacesRequest {
|
|
|
1714
1714
|
MinFaceSize?: number;
|
|
1715
1715
|
/**
|
|
1716
1716
|
* 单张被识别的人脸返回的最相似人员数量。默认值为5,最大值为100。
|
|
1717
|
-
|
|
1717
|
+
例如,设MaxFaceNum为1,MaxPersonNum为8,则返回Top8相似的人员信息。
|
|
1718
1718
|
值越大,需要处理的时间越长。建议不要超过10。
|
|
1719
1719
|
*/
|
|
1720
1720
|
MaxPersonNum?: number;
|
|
@@ -2438,91 +2438,91 @@ export interface GetPersonListRequest {
|
|
|
2438
2438
|
export interface FaceDetailAttributesInfo {
|
|
2439
2439
|
/**
|
|
2440
2440
|
* 年龄 [0,65],其中65代表“65岁及以上”。
|
|
2441
|
-
FaceAttributesType
|
|
2441
|
+
FaceAttributesType 不含Age 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2442
2442
|
*/
|
|
2443
|
-
Age
|
|
2443
|
+
Age?: number;
|
|
2444
2444
|
/**
|
|
2445
2445
|
* 美丑打分[0,100]。
|
|
2446
2446
|
FaceAttributesType 不含 Beauty 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2447
2447
|
*/
|
|
2448
|
-
Beauty
|
|
2448
|
+
Beauty?: number;
|
|
2449
2449
|
/**
|
|
2450
2450
|
* 情绪,可识别自然、高兴、惊讶、生气、悲伤、厌恶、害怕。
|
|
2451
2451
|
AttributeItem对应的Type为 —— 0:自然,1:高兴,2:惊讶,3:生气,4:悲伤,5:厌恶,6:害怕
|
|
2452
2452
|
FaceAttributesType 不含Emotion 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2453
2453
|
*/
|
|
2454
|
-
Emotion
|
|
2454
|
+
Emotion?: AttributeItem;
|
|
2455
2455
|
/**
|
|
2456
2456
|
* 眼睛相关信息,可识别是否戴眼镜、是否闭眼、是否双眼皮和眼睛大小。
|
|
2457
2457
|
FaceAttributesType 不含Eye 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2458
2458
|
*/
|
|
2459
|
-
Eye
|
|
2459
|
+
Eye?: Eye;
|
|
2460
2460
|
/**
|
|
2461
2461
|
* 眉毛相关信息,可识别眉毛浓密、弯曲、长短信息。
|
|
2462
2462
|
FaceAttributesType 不含Eyebrow 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2463
2463
|
*/
|
|
2464
|
-
Eyebrow
|
|
2464
|
+
Eyebrow?: Eyebrow;
|
|
2465
2465
|
/**
|
|
2466
2466
|
* 性别信息。
|
|
2467
2467
|
AttributeItem对应的Type为 —— 0:男性,1:女性。
|
|
2468
2468
|
FaceAttributesType 不含Gender 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2469
2469
|
*/
|
|
2470
|
-
Gender
|
|
2470
|
+
Gender?: AttributeItem;
|
|
2471
2471
|
/**
|
|
2472
2472
|
* 头发信息,包含头发长度、有无刘海、头发颜色。
|
|
2473
2473
|
FaceAttributesType 不含Hair 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2474
2474
|
*/
|
|
2475
|
-
Hair
|
|
2475
|
+
Hair?: Hair;
|
|
2476
2476
|
/**
|
|
2477
2477
|
* 帽子信息,可识别是否佩戴帽子、帽子款式、帽子颜色。
|
|
2478
2478
|
FaceAttributesType 不含Hat 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2479
2479
|
*/
|
|
2480
|
-
Hat
|
|
2480
|
+
Hat?: Hat;
|
|
2481
2481
|
/**
|
|
2482
2482
|
* 姿态信息,包含人脸的上下偏移、左右偏移、平面旋转信息。
|
|
2483
2483
|
FaceAttributesType 不含Headpose 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2484
2484
|
*/
|
|
2485
|
-
HeadPose
|
|
2485
|
+
HeadPose?: HeadPose;
|
|
2486
2486
|
/**
|
|
2487
2487
|
* 口罩佩戴信息。
|
|
2488
2488
|
AttributeItem对应的Type为 —— 0: 无口罩, 1: 有口罩不遮脸,2: 有口罩遮下巴,3: 有口罩遮嘴,4: 正确佩戴口罩。
|
|
2489
2489
|
FaceAttributesType 不含Mask 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2490
2490
|
*/
|
|
2491
|
-
Mask
|
|
2491
|
+
Mask?: AttributeItem;
|
|
2492
2492
|
/**
|
|
2493
2493
|
* 嘴巴信息,可识别是否张嘴、嘴唇厚度。
|
|
2494
2494
|
FaceAttributesType 不含 Mouth 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2495
2495
|
*/
|
|
2496
|
-
Mouth
|
|
2496
|
+
Mouth?: Mouth;
|
|
2497
2497
|
/**
|
|
2498
2498
|
* 胡子信息。
|
|
2499
2499
|
AttributeItem对应的Type为 —— 0:无胡子,1:有胡子。
|
|
2500
2500
|
FaceAttributesType 不含 Moustache 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2501
2501
|
*/
|
|
2502
|
-
Moustache
|
|
2502
|
+
Moustache?: AttributeItem;
|
|
2503
2503
|
/**
|
|
2504
2504
|
* 鼻子信息。
|
|
2505
2505
|
AttributeItem对应的Type为 —— 0:朝天鼻,1:鹰钩鼻,2:普通,3:圆鼻头
|
|
2506
2506
|
FaceAttributesType 不含 Nose 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2507
2507
|
*/
|
|
2508
|
-
Nose
|
|
2508
|
+
Nose?: AttributeItem;
|
|
2509
2509
|
/**
|
|
2510
2510
|
* 脸型信息。
|
|
2511
2511
|
AttributeItem对应的Type为 —— 0:方脸,1:三角脸,2:鹅蛋脸,3:心形脸,4:圆脸。
|
|
2512
2512
|
FaceAttributesType 不含 Shape 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2513
2513
|
*/
|
|
2514
|
-
Shape
|
|
2514
|
+
Shape?: AttributeItem;
|
|
2515
2515
|
/**
|
|
2516
2516
|
* 肤色信息。
|
|
2517
2517
|
AttributeItem对应的Type为 —— 0:黄色皮肤,1:棕色皮肤,2:黑色皮肤,3:白色皮肤。
|
|
2518
2518
|
FaceAttributesType 不含 Skin 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2519
2519
|
*/
|
|
2520
|
-
Skin
|
|
2520
|
+
Skin?: AttributeItem;
|
|
2521
2521
|
/**
|
|
2522
2522
|
* 微笑程度,[0,100]。
|
|
2523
2523
|
FaceAttributesType 不含 Smile 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
2524
2524
|
*/
|
|
2525
|
-
Smile
|
|
2525
|
+
Smile?: number;
|
|
2526
2526
|
}
|
|
2527
2527
|
/**
|
|
2528
2528
|
* 人脸属性信息
|