tencentcloud-sdk-nodejs-iai 4.0.645 → 4.0.647

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.
@@ -128,12 +128,12 @@ export interface Hat {
128
128
  * 帽子佩戴状态信息。
129
129
  AttributeItem对应的Type为 —— 0:不戴帽子,1:普通帽子,2:头盔,3:保安帽。
130
130
  */
131
- Style: AttributeItem;
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: AttributeItem;
136
+ Color?: AttributeItem;
137
137
  }
138
138
  /**
139
139
  * CreatePerson请求参数结构体
@@ -2292,91 +2292,91 @@ export interface GetPersonListRequest {
2292
2292
  export interface FaceDetailAttributesInfo {
2293
2293
  /**
2294
2294
  * 年龄 [0,65],其中65代表“65岁及以上”。
2295
- FaceAttributesType 不为含Age 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2295
+ FaceAttributesType 不含Age 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2296
2296
  */
2297
- Age: number;
2297
+ Age?: number;
2298
2298
  /**
2299
2299
  * 美丑打分[0,100]。
2300
2300
  FaceAttributesType 不含 Beauty 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2301
2301
  */
2302
- Beauty: number;
2302
+ Beauty?: number;
2303
2303
  /**
2304
2304
  * 情绪,可识别自然、高兴、惊讶、生气、悲伤、厌恶、害怕。
2305
2305
  AttributeItem对应的Type为 —— 0:自然,1:高兴,2:惊讶,3:生气,4:悲伤,5:厌恶,6:害怕
2306
2306
  FaceAttributesType 不含Emotion 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2307
2307
  */
2308
- Emotion: AttributeItem;
2308
+ Emotion?: AttributeItem;
2309
2309
  /**
2310
2310
  * 眼睛相关信息,可识别是否戴眼镜、是否闭眼、是否双眼皮和眼睛大小。
2311
2311
  FaceAttributesType 不含Eye 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2312
2312
  */
2313
- Eye: Eye;
2313
+ Eye?: Eye;
2314
2314
  /**
2315
2315
  * 眉毛相关信息,可识别眉毛浓密、弯曲、长短信息。
2316
2316
  FaceAttributesType 不含Eyebrow 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2317
2317
  */
2318
- Eyebrow: Eyebrow;
2318
+ Eyebrow?: Eyebrow;
2319
2319
  /**
2320
2320
  * 性别信息。
2321
2321
  AttributeItem对应的Type为 —— 0:男性,1:女性。
2322
2322
  FaceAttributesType 不含Gender 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2323
2323
  */
2324
- Gender: AttributeItem;
2324
+ Gender?: AttributeItem;
2325
2325
  /**
2326
2326
  * 头发信息,包含头发长度、有无刘海、头发颜色。
2327
2327
  FaceAttributesType 不含Hair 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2328
2328
  */
2329
- Hair: Hair;
2329
+ Hair?: Hair;
2330
2330
  /**
2331
2331
  * 帽子信息,可识别是否佩戴帽子、帽子款式、帽子颜色。
2332
2332
  FaceAttributesType 不含Hat 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2333
2333
  */
2334
- Hat: Hat;
2334
+ Hat?: Hat;
2335
2335
  /**
2336
2336
  * 姿态信息,包含人脸的上下偏移、左右偏移、平面旋转信息。
2337
2337
  FaceAttributesType 不含Headpose 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2338
2338
  */
2339
- HeadPose: HeadPose;
2339
+ HeadPose?: HeadPose;
2340
2340
  /**
2341
2341
  * 口罩佩戴信息。
2342
2342
  AttributeItem对应的Type为 —— 0: 无口罩, 1: 有口罩不遮脸,2: 有口罩遮下巴,3: 有口罩遮嘴,4: 正确佩戴口罩。
2343
2343
  FaceAttributesType 不含Mask 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2344
2344
  */
2345
- Mask: AttributeItem;
2345
+ Mask?: AttributeItem;
2346
2346
  /**
2347
2347
  * 嘴巴信息,可识别是否张嘴、嘴唇厚度。
2348
2348
  FaceAttributesType 不含 Mouth 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2349
2349
  */
2350
- Mouth: Mouth;
2350
+ Mouth?: Mouth;
2351
2351
  /**
2352
2352
  * 胡子信息。
2353
2353
  AttributeItem对应的Type为 —— 0:无胡子,1:有胡子。
2354
2354
  FaceAttributesType 不含 Moustache 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2355
2355
  */
2356
- Moustache: AttributeItem;
2356
+ Moustache?: AttributeItem;
2357
2357
  /**
2358
2358
  * 鼻子信息。
2359
2359
  AttributeItem对应的Type为 —— 0:朝天鼻,1:鹰钩鼻,2:普通,3:圆鼻头
2360
2360
  FaceAttributesType 不含 Nose 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2361
2361
  */
2362
- Nose: AttributeItem;
2362
+ Nose?: AttributeItem;
2363
2363
  /**
2364
2364
  * 脸型信息。
2365
2365
  AttributeItem对应的Type为 —— 0:方脸,1:三角脸,2:鹅蛋脸,3:心形脸,4:圆脸。
2366
2366
  FaceAttributesType 不含 Shape 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2367
2367
  */
2368
- Shape: AttributeItem;
2368
+ Shape?: AttributeItem;
2369
2369
  /**
2370
2370
  * 肤色信息。
2371
2371
  AttributeItem对应的Type为 —— 0:黄色皮肤,1:棕色皮肤,2:黑色皮肤,3:白色皮肤。
2372
2372
  FaceAttributesType 不含 Skin 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2373
2373
  */
2374
- Skin: AttributeItem;
2374
+ Skin?: AttributeItem;
2375
2375
  /**
2376
2376
  * 微笑程度,[0,100]。
2377
2377
  FaceAttributesType 不含 Smile 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2378
2378
  */
2379
- Smile: number;
2379
+ Smile?: number;
2380
2380
  }
2381
2381
  /**
2382
2382
  * 人脸属性信息
@@ -128,12 +128,12 @@ export interface Hat {
128
128
  * 帽子佩戴状态信息。
129
129
  AttributeItem对应的Type为 —— 0:不戴帽子,1:普通帽子,2:头盔,3:保安帽。
130
130
  */
131
- Style: AttributeItem;
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: AttributeItem;
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: number;
213
+ SucFaceNum?: number;
214
214
  /**
215
215
  * 加入成功的人脸ID列表
216
216
  */
217
- SucFaceIds: Array<string>;
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: Array<number>;
224
+ RetCode?: Array<number>;
225
225
  /**
226
226
  * 加入成功的人脸索引。索引顺序和入参中 Images 或 Urls 的顺序一致。
227
- 例, Urls 中 有 3 个 url,第二个 url 失败,则 SucIndexes 值为 [0,2] 。
227
+ 例如, Urls 中 有 3 个 url,第二个 url 失败,则 SucIndexes 值为 [0,2] 。
228
228
  */
229
- SucIndexes: Array<number>;
229
+ SucIndexes?: Array<number>;
230
230
  /**
231
231
  * 加入成功的人脸框位置。顺序和入参中 Images 或 Urls 的顺序一致。
232
232
  */
233
- SucFaceRects: Array<FaceRect>;
233
+ SucFaceRects?: Array<FaceRect>;
234
234
  /**
235
235
  * 人脸识别所用的算法模型版本。
236
236
  */
237
- FaceModelVersion: string;
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: Array<Result>;
619
+ Results?: Array<Result>;
620
620
  /**
621
621
  * 搜索的人员库中包含的人脸数。
622
622
  */
623
- FaceNum: number;
623
+ FaceNum?: number;
624
624
  /**
625
625
  * 人脸识别所用的算法模型版本。
626
626
  */
627
- FaceModelVersion: string;
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
- 例:输入的Image或Url中的图片包含多张人脸,设MaxFaceNum=5,则会识别图片中面积最大的5张人脸。
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
- 例,设MaxFaceNum为1,MaxPersonNum为8,则返回Top8相似的人员信息。
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 不为含Age 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2441
+ FaceAttributesType 不含Age 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2442
2442
  */
2443
- Age: number;
2443
+ Age?: number;
2444
2444
  /**
2445
2445
  * 美丑打分[0,100]。
2446
2446
  FaceAttributesType 不含 Beauty 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2447
2447
  */
2448
- Beauty: number;
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: AttributeItem;
2454
+ Emotion?: AttributeItem;
2455
2455
  /**
2456
2456
  * 眼睛相关信息,可识别是否戴眼镜、是否闭眼、是否双眼皮和眼睛大小。
2457
2457
  FaceAttributesType 不含Eye 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2458
2458
  */
2459
- Eye: Eye;
2459
+ Eye?: Eye;
2460
2460
  /**
2461
2461
  * 眉毛相关信息,可识别眉毛浓密、弯曲、长短信息。
2462
2462
  FaceAttributesType 不含Eyebrow 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2463
2463
  */
2464
- Eyebrow: Eyebrow;
2464
+ Eyebrow?: Eyebrow;
2465
2465
  /**
2466
2466
  * 性别信息。
2467
2467
  AttributeItem对应的Type为 —— 0:男性,1:女性。
2468
2468
  FaceAttributesType 不含Gender 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2469
2469
  */
2470
- Gender: AttributeItem;
2470
+ Gender?: AttributeItem;
2471
2471
  /**
2472
2472
  * 头发信息,包含头发长度、有无刘海、头发颜色。
2473
2473
  FaceAttributesType 不含Hair 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2474
2474
  */
2475
- Hair: Hair;
2475
+ Hair?: Hair;
2476
2476
  /**
2477
2477
  * 帽子信息,可识别是否佩戴帽子、帽子款式、帽子颜色。
2478
2478
  FaceAttributesType 不含Hat 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2479
2479
  */
2480
- Hat: Hat;
2480
+ Hat?: Hat;
2481
2481
  /**
2482
2482
  * 姿态信息,包含人脸的上下偏移、左右偏移、平面旋转信息。
2483
2483
  FaceAttributesType 不含Headpose 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2484
2484
  */
2485
- HeadPose: 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: AttributeItem;
2491
+ Mask?: AttributeItem;
2492
2492
  /**
2493
2493
  * 嘴巴信息,可识别是否张嘴、嘴唇厚度。
2494
2494
  FaceAttributesType 不含 Mouth 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2495
2495
  */
2496
- Mouth: Mouth;
2496
+ Mouth?: Mouth;
2497
2497
  /**
2498
2498
  * 胡子信息。
2499
2499
  AttributeItem对应的Type为 —— 0:无胡子,1:有胡子。
2500
2500
  FaceAttributesType 不含 Moustache 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2501
2501
  */
2502
- Moustache: AttributeItem;
2502
+ Moustache?: AttributeItem;
2503
2503
  /**
2504
2504
  * 鼻子信息。
2505
2505
  AttributeItem对应的Type为 —— 0:朝天鼻,1:鹰钩鼻,2:普通,3:圆鼻头
2506
2506
  FaceAttributesType 不含 Nose 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2507
2507
  */
2508
- Nose: AttributeItem;
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: AttributeItem;
2514
+ Shape?: AttributeItem;
2515
2515
  /**
2516
2516
  * 肤色信息。
2517
2517
  AttributeItem对应的Type为 —— 0:黄色皮肤,1:棕色皮肤,2:黑色皮肤,3:白色皮肤。
2518
2518
  FaceAttributesType 不含 Skin 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2519
2519
  */
2520
- Skin: AttributeItem;
2520
+ Skin?: AttributeItem;
2521
2521
  /**
2522
2522
  * 微笑程度,[0,100]。
2523
2523
  FaceAttributesType 不含 Smile 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
2524
2524
  */
2525
- Smile: number;
2525
+ Smile?: number;
2526
2526
  }
2527
2527
  /**
2528
2528
  * 人脸属性信息