tencentcloud-sdk-nodejs-iai 4.0.682 → 4.0.684
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 +337 -0
- package/SERVICE_CHANGELOG.md +369 -166
- package/package.json +1 -1
- package/products.md +17 -17
- package/src/services/iai/index.ts +2 -2
- package/src/services/iai/v20180301/iai_models.ts +21 -25
- package/src/services/iai/v20200303/iai_models.ts +23 -27
- package/tencentcloud/services/iai/index.d.ts +4 -4
- package/tencentcloud/services/iai/index.js +2 -2
- package/tencentcloud/services/iai/v20180301/iai_models.d.ts +21 -25
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +23 -27
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
| aai | [](https://cloud.tencent.com/document/product) | 2019-08-08 23:15:13 |
|
|
5
5
|
| acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) | 2023-05-18 01:01:15 |
|
|
6
6
|
| advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2023-05-18 01:01:20 |
|
|
7
|
-
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2023-
|
|
8
|
-
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2023-
|
|
7
|
+
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2023-09-07 01:06:15 |
|
|
8
|
+
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2023-09-07 01:06:21 |
|
|
9
9
|
| aiart | [AI 绘画](https://cloud.tencent.com/document/product/1668) | 2023-07-25 10:37:02 |
|
|
10
10
|
| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 |
|
|
11
11
|
| ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2023-05-18 01:01:48 |
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
| apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
|
|
15
15
|
| ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
|
|
16
16
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
|
|
17
|
-
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-09-
|
|
17
|
+
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-09-07 01:07:50 |
|
|
18
18
|
| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2023-07-18 01:07:24 |
|
|
19
19
|
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-08-28 01:09:11 |
|
|
20
20
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-09-04 01:14:46 |
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2023-08-23 01:10:00 |
|
|
40
40
|
| casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-12-26 10:53:16 |
|
|
41
41
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-05-18 01:07:39 |
|
|
42
|
-
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-09-
|
|
43
|
-
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-09-
|
|
42
|
+
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-09-07 01:15:22 |
|
|
43
|
+
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2023-09-07 01:15:54 |
|
|
44
44
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-08-29 01:07:58 |
|
|
45
45
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-08-17 01:37:50 |
|
|
46
46
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-08-21 01:07:44 |
|
|
47
47
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-08-17 01:43:06 |
|
|
48
|
-
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-09-
|
|
48
|
+
| cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2023-09-08 01:20:53 |
|
|
49
49
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-09-05 02:02:52 |
|
|
50
50
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2023-09-01 01:09:12 |
|
|
51
|
-
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-09-
|
|
51
|
+
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-09-08 01:22:02 |
|
|
52
52
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-08-17 01:47:49 |
|
|
53
53
|
| ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2023-07-06 01:13:25 |
|
|
54
54
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
| dsgc | [数据安全中心](https://cloud.tencent.com/document/product/1087) | 2023-09-04 14:40:54 |
|
|
87
87
|
| dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
|
|
88
88
|
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2023-09-01 01:13:57 |
|
|
89
|
-
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2023-08
|
|
89
|
+
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2023-09-08 01:48:45 |
|
|
90
90
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2023-08-17 03:03:01 |
|
|
91
91
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2023-08-17 03:03:04 |
|
|
92
92
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-09-05 10:56:15 |
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
95
95
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-08-17 03:08:06 |
|
|
96
96
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-09-05 04:23:35 |
|
|
97
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-09-
|
|
97
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-09-08 01:53:13 |
|
|
98
98
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-09-05 17:36:50 |
|
|
99
99
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-07-27 01:13:31 |
|
|
100
100
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-09-06 01:49:13 |
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
| habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 |
|
|
110
110
|
| hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
|
|
111
111
|
| hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2023-08-17 03:18:40 |
|
|
112
|
-
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2023-08
|
|
112
|
+
| iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2023-09-08 01:58:57 |
|
|
113
113
|
| ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
|
|
114
114
|
| icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2023-05-18 01:30:40 |
|
|
115
115
|
| ie | [智能编辑](https://cloud.tencent.com/document/product/1186) | 2023-08-17 03:20:18 |
|
|
@@ -142,14 +142,14 @@
|
|
|
142
142
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-08-25 01:55:53 |
|
|
143
143
|
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-09-06 02:06:16 |
|
|
144
144
|
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-09-04 02:12:09 |
|
|
145
|
-
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-
|
|
145
|
+
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-09-07 02:12:57 |
|
|
146
146
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-08-30 01:19:55 |
|
|
147
147
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2023-08-17 04:18:22 |
|
|
148
148
|
| mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
|
|
149
149
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-08-29 01:19:54 |
|
|
150
150
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
151
151
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-09-06 02:10:27 |
|
|
152
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-08
|
|
152
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-09-08 02:20:00 |
|
|
153
153
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-07-20 01:37:20 |
|
|
154
154
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-08-24 01:24:31 |
|
|
155
155
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-08-17 04:23:46 |
|
|
@@ -196,11 +196,11 @@
|
|
|
196
196
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-08-17 04:54:42 |
|
|
197
197
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-06-21 01:36:25 |
|
|
198
198
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-07-24 01:49:20 |
|
|
199
|
-
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-09-
|
|
199
|
+
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-09-08 02:41:10 |
|
|
200
200
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-05-18 01:55:50 |
|
|
201
201
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-08-30 01:25:15 |
|
|
202
202
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-09-05 07:43:47 |
|
|
203
|
-
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-09-
|
|
203
|
+
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-09-07 02:37:25 |
|
|
204
204
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
205
205
|
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
|
|
206
206
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
@@ -215,10 +215,10 @@
|
|
|
215
215
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-08-17 05:40:04 |
|
|
216
216
|
| tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2023-08-10 01:43:37 |
|
|
217
217
|
| trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
|
|
218
|
-
| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2023-08
|
|
218
|
+
| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2023-09-08 02:48:21 |
|
|
219
219
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-08-15 01:44:16 |
|
|
220
220
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 |
|
|
221
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-09-
|
|
221
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-09-08 02:49:33 |
|
|
222
222
|
| tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-09-06 02:36:56 |
|
|
223
223
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-09-05 08:05:30 |
|
|
224
224
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2023-09-04 02:45:38 |
|
|
230
230
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-09-01 01:26:26 |
|
|
231
231
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-07-18 01:58:58 |
|
|
232
|
-
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-08
|
|
232
|
+
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-09-08 03:00:07 |
|
|
233
233
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-07-18 01:59:28 |
|
|
234
234
|
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-08-31 01:29:16 |
|
|
235
235
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
@@ -359,13 +359,9 @@ export interface CreateGroupRequest {
|
|
|
359
359
|
Tag?: string
|
|
360
360
|
/**
|
|
361
361
|
* 人脸识别服务所用的算法模型版本。
|
|
362
|
-
|
|
363
362
|
目前入参支持 “2.0”和“3.0“ 两个输入。
|
|
364
|
-
|
|
365
363
|
2020年4月2日开始,默认为“3.0”,之前使用过本接口的账号若未填写本参数默认为“2.0”。
|
|
366
|
-
|
|
367
364
|
2020年11月26日后开通服务的账号仅支持输入“3.0”。
|
|
368
|
-
|
|
369
365
|
不同算法模型版本对应的人脸识别算法不同,新版本的整体效果会优于旧版本,建议使用“3.0”版本。
|
|
370
366
|
*/
|
|
371
367
|
FaceModelVersion?: string
|
|
@@ -1519,58 +1515,58 @@ export interface FaceAttributesInfo {
|
|
|
1519
1515
|
/**
|
|
1520
1516
|
* 性别[0~49]为女性,[50,100]为男性,越接近0和100表示置信度越高。NeedFaceAttributes 不为 1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1521
1517
|
*/
|
|
1522
|
-
Gender
|
|
1518
|
+
Gender?: number
|
|
1523
1519
|
/**
|
|
1524
1520
|
* 年龄 [0~100]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1525
1521
|
*/
|
|
1526
|
-
Age
|
|
1522
|
+
Age?: number
|
|
1527
1523
|
/**
|
|
1528
|
-
* 微笑[0(normal,正常)
|
|
1524
|
+
* 微笑[0(normal,正常))~100(laugh,大笑)]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1529
1525
|
*/
|
|
1530
|
-
Expression
|
|
1526
|
+
Expression?: number
|
|
1531
1527
|
/**
|
|
1532
1528
|
* 是否有眼镜 [true,false]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1533
1529
|
*/
|
|
1534
|
-
Glass
|
|
1530
|
+
Glass?: boolean
|
|
1535
1531
|
/**
|
|
1536
1532
|
* 上下偏移[-30,30],单位角度。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1537
1533
|
建议:人脸入库选择[-10,10]的图片。
|
|
1538
1534
|
*/
|
|
1539
|
-
Pitch
|
|
1535
|
+
Pitch?: number
|
|
1540
1536
|
/**
|
|
1541
1537
|
* 左右偏移[-30,30],单位角度。 NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1542
1538
|
建议:人脸入库选择[-10,10]的图片。
|
|
1543
1539
|
*/
|
|
1544
|
-
Yaw
|
|
1540
|
+
Yaw?: number
|
|
1545
1541
|
/**
|
|
1546
1542
|
* 平面旋转[-180,180],单位角度。 NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1547
1543
|
建议:人脸入库选择[-20,20]的图片。
|
|
1548
1544
|
*/
|
|
1549
|
-
Roll
|
|
1545
|
+
Roll?: number
|
|
1550
1546
|
/**
|
|
1551
1547
|
* 魅力[0~100]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1552
1548
|
*/
|
|
1553
|
-
Beauty
|
|
1549
|
+
Beauty?: number
|
|
1554
1550
|
/**
|
|
1555
1551
|
* 是否有帽子 [true,false]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1556
1552
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1557
1553
|
*/
|
|
1558
|
-
Hat
|
|
1554
|
+
Hat?: boolean
|
|
1559
1555
|
/**
|
|
1560
1556
|
* 是否有口罩 [true,false]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1561
1557
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1562
1558
|
*/
|
|
1563
|
-
Mask
|
|
1559
|
+
Mask?: boolean
|
|
1564
1560
|
/**
|
|
1565
1561
|
* 头发信息,包含头发长度(length)、有无刘海(bang)、头发颜色(color)。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1566
1562
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1567
1563
|
*/
|
|
1568
|
-
Hair
|
|
1564
|
+
Hair?: FaceHairAttributesInfo
|
|
1569
1565
|
/**
|
|
1570
1566
|
* 双眼是否睁开 [true,false]。只要有超过一只眼睛闭眼,就返回false。 NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1571
1567
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1572
1568
|
*/
|
|
1573
|
-
EyeOpen
|
|
1569
|
+
EyeOpen?: boolean
|
|
1574
1570
|
}
|
|
1575
1571
|
|
|
1576
1572
|
/**
|
|
@@ -2104,11 +2100,11 @@ export interface CompareFaceResponse {
|
|
|
2104
2100
|
2.0版本误识率千分之一对应分数为70分,误识率万分之一对应分数为80分,误识率十万分之一对应分数为90分。 一般超过80分则可认定为同一人。
|
|
2105
2101
|
若需要验证两张图片中的人脸是否为同一人,建议使用人脸验证接口。
|
|
2106
2102
|
*/
|
|
2107
|
-
Score
|
|
2103
|
+
Score?: number
|
|
2108
2104
|
/**
|
|
2109
2105
|
* 人脸识别所用的算法模型版本。
|
|
2110
2106
|
*/
|
|
2111
|
-
FaceModelVersion
|
|
2107
|
+
FaceModelVersion?: string
|
|
2112
2108
|
/**
|
|
2113
2109
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2114
2110
|
*/
|
|
@@ -2237,10 +2233,10 @@ B 图片的 Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
|
2237
2233
|
/**
|
|
2238
2234
|
* 图片质量控制。
|
|
2239
2235
|
0: 不进行控制;
|
|
2240
|
-
1
|
|
2236
|
+
1: 较低的质量要求,图像存在非常模糊,眼睛鼻子嘴巴遮挡至少其中一种或多种的情况;
|
|
2241
2237
|
2: 一般的质量要求,图像存在偏亮,偏暗,模糊或一般模糊,眉毛遮挡,脸颊遮挡,下巴遮挡,至少其中三种的情况;
|
|
2242
2238
|
3: 较高的质量要求,图像存在偏亮,偏暗,一般模糊,眉毛遮挡,脸颊遮挡,下巴遮挡,其中一到两种的情况;
|
|
2243
|
-
4:
|
|
2239
|
+
4: 很高的质量要求,各个维度均为最好或最多,在某一维度上存在轻微问题;
|
|
2244
2240
|
默认 0。
|
|
2245
2241
|
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。
|
|
2246
2242
|
*/
|
|
@@ -2492,11 +2488,11 @@ export interface AttributeItem {
|
|
|
2492
2488
|
/**
|
|
2493
2489
|
* 属性值
|
|
2494
2490
|
*/
|
|
2495
|
-
Type
|
|
2491
|
+
Type?: number
|
|
2496
2492
|
/**
|
|
2497
|
-
* Type
|
|
2493
|
+
* Type识别概率值,[0,1],代表判断正确的概率。
|
|
2498
2494
|
*/
|
|
2499
|
-
Probability
|
|
2495
|
+
Probability?: number
|
|
2500
2496
|
}
|
|
2501
2497
|
|
|
2502
2498
|
/**
|
|
@@ -2542,7 +2538,7 @@ export interface CreateGroupResponse {
|
|
|
2542
2538
|
/**
|
|
2543
2539
|
* 人脸识别所用的算法模型版本。
|
|
2544
2540
|
*/
|
|
2545
|
-
FaceModelVersion
|
|
2541
|
+
FaceModelVersion?: string
|
|
2546
2542
|
/**
|
|
2547
2543
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2548
2544
|
*/
|
|
@@ -363,13 +363,9 @@ export interface CreateGroupRequest {
|
|
|
363
363
|
Tag?: string
|
|
364
364
|
/**
|
|
365
365
|
* 人脸识别服务所用的算法模型版本。
|
|
366
|
-
|
|
367
366
|
目前入参支持 “2.0”和“3.0“ 两个输入。
|
|
368
|
-
|
|
369
367
|
2020年4月2日开始,默认为“3.0”,之前使用过本接口的账号若未填写本参数默认为“2.0”。
|
|
370
|
-
|
|
371
368
|
2020年11月26日后开通服务的账号仅支持输入“3.0”。
|
|
372
|
-
|
|
373
369
|
不同算法模型版本对应的人脸识别算法不同,新版本的整体效果会优于旧版本,建议使用“3.0”版本。
|
|
374
370
|
*/
|
|
375
371
|
FaceModelVersion?: string
|
|
@@ -1552,58 +1548,58 @@ export interface FaceAttributesInfo {
|
|
|
1552
1548
|
/**
|
|
1553
1549
|
* 性别[0~49]为女性,[50,100]为男性,越接近0和100表示置信度越高。NeedFaceAttributes 不为 1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1554
1550
|
*/
|
|
1555
|
-
Gender
|
|
1551
|
+
Gender?: number
|
|
1556
1552
|
/**
|
|
1557
1553
|
* 年龄 [0~100]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1558
1554
|
*/
|
|
1559
|
-
Age
|
|
1555
|
+
Age?: number
|
|
1560
1556
|
/**
|
|
1561
|
-
* 微笑[0(normal,正常)~
|
|
1557
|
+
* 微笑[0(normal,正常)~100(laugh,大笑)]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1562
1558
|
*/
|
|
1563
|
-
Expression
|
|
1559
|
+
Expression?: number
|
|
1564
1560
|
/**
|
|
1565
1561
|
* 是否有眼镜 [true,false]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1566
1562
|
*/
|
|
1567
|
-
Glass
|
|
1563
|
+
Glass?: boolean
|
|
1568
1564
|
/**
|
|
1569
1565
|
* 上下偏移[-30,30],单位角度。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1570
1566
|
建议:人脸入库选择[-10,10]的图片。
|
|
1571
1567
|
*/
|
|
1572
|
-
Pitch
|
|
1568
|
+
Pitch?: number
|
|
1573
1569
|
/**
|
|
1574
1570
|
* 左右偏移[-30,30],单位角度。 NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1575
1571
|
建议:人脸入库选择[-10,10]的图片。
|
|
1576
1572
|
*/
|
|
1577
|
-
Yaw
|
|
1573
|
+
Yaw?: number
|
|
1578
1574
|
/**
|
|
1579
1575
|
* 平面旋转[-180,180],单位角度。 NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1580
1576
|
建议:人脸入库选择[-20,20]的图片。
|
|
1581
1577
|
*/
|
|
1582
|
-
Roll
|
|
1578
|
+
Roll?: number
|
|
1583
1579
|
/**
|
|
1584
1580
|
* 魅力[0~100]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1585
1581
|
*/
|
|
1586
|
-
Beauty
|
|
1582
|
+
Beauty?: number
|
|
1587
1583
|
/**
|
|
1588
1584
|
* 是否有帽子 [true,false]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1589
1585
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1590
1586
|
*/
|
|
1591
|
-
Hat
|
|
1587
|
+
Hat?: boolean
|
|
1592
1588
|
/**
|
|
1593
1589
|
* 是否有口罩 [true,false]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1594
1590
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1595
1591
|
*/
|
|
1596
|
-
Mask
|
|
1592
|
+
Mask?: boolean
|
|
1597
1593
|
/**
|
|
1598
1594
|
* 头发信息,包含头发长度(length)、有无刘海(bang)、头发颜色(color)。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1599
1595
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1600
1596
|
*/
|
|
1601
|
-
Hair
|
|
1597
|
+
Hair?: FaceHairAttributesInfo
|
|
1602
1598
|
/**
|
|
1603
1599
|
* 双眼是否睁开 [true,false]。只要有超过一只眼睛闭眼,就返回false。 NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1604
1600
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1605
1601
|
*/
|
|
1606
|
-
EyeOpen
|
|
1602
|
+
EyeOpen?: boolean
|
|
1607
1603
|
}
|
|
1608
1604
|
|
|
1609
1605
|
/**
|
|
@@ -1659,11 +1655,11 @@ export interface CompareMaskFaceResponse {
|
|
|
1659
1655
|
2.0版本误识率千分之一对应分数为70分,误识率万分之一对应分数为80分,误识率十万分之一对应分数为90分。 一般超过80分则可认定为同一人。
|
|
1660
1656
|
若需要验证两张图片中的人脸是否为同一人,建议使用人脸验证接口。
|
|
1661
1657
|
*/
|
|
1662
|
-
Score
|
|
1658
|
+
Score?: number
|
|
1663
1659
|
/**
|
|
1664
1660
|
* 人脸识别所用的算法模型版本。
|
|
1665
1661
|
*/
|
|
1666
|
-
FaceModelVersion
|
|
1662
|
+
FaceModelVersion?: string
|
|
1667
1663
|
/**
|
|
1668
1664
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1669
1665
|
*/
|
|
@@ -2258,11 +2254,11 @@ export interface CompareFaceResponse {
|
|
|
2258
2254
|
2.0版本误识率千分之一对应分数为70分,误识率万分之一对应分数为80分,误识率十万分之一对应分数为90分。 一般超过80分则可认定为同一人。
|
|
2259
2255
|
若需要验证两张图片中的人脸是否为同一人,建议使用人脸验证接口。
|
|
2260
2256
|
*/
|
|
2261
|
-
Score
|
|
2257
|
+
Score?: number
|
|
2262
2258
|
/**
|
|
2263
2259
|
* 人脸识别所用的算法模型版本。
|
|
2264
2260
|
*/
|
|
2265
|
-
FaceModelVersion
|
|
2261
|
+
FaceModelVersion?: string
|
|
2266
2262
|
/**
|
|
2267
2263
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2268
2264
|
*/
|
|
@@ -2395,10 +2391,10 @@ B 图片的 Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
|
2395
2391
|
/**
|
|
2396
2392
|
* 图片质量控制。
|
|
2397
2393
|
0: 不进行控制;
|
|
2398
|
-
1
|
|
2394
|
+
1: 较低的质量要求,图像存在非常模糊,眼睛鼻子嘴巴遮挡至少其中一种或多种的情况;
|
|
2399
2395
|
2: 一般的质量要求,图像存在偏亮,偏暗,模糊或一般模糊,眉毛遮挡,脸颊遮挡,下巴遮挡,至少其中三种的情况;
|
|
2400
2396
|
3: 较高的质量要求,图像存在偏亮,偏暗,一般模糊,眉毛遮挡,脸颊遮挡,下巴遮挡,其中一到两种的情况;
|
|
2401
|
-
4:
|
|
2397
|
+
4: 很高的质量要求,各个维度均为最好或最多,在某一维度上存在轻微问题;
|
|
2402
2398
|
默认 0。
|
|
2403
2399
|
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。
|
|
2404
2400
|
*/
|
|
@@ -2642,11 +2638,11 @@ export interface AttributeItem {
|
|
|
2642
2638
|
/**
|
|
2643
2639
|
* 属性值
|
|
2644
2640
|
*/
|
|
2645
|
-
Type
|
|
2641
|
+
Type?: number
|
|
2646
2642
|
/**
|
|
2647
|
-
* Type
|
|
2643
|
+
* Type识别概率值,[0,1],代表判断正确的概率。
|
|
2648
2644
|
*/
|
|
2649
|
-
Probability
|
|
2645
|
+
Probability?: number
|
|
2650
2646
|
}
|
|
2651
2647
|
|
|
2652
2648
|
/**
|
|
@@ -2692,7 +2688,7 @@ export interface CreateGroupResponse {
|
|
|
2692
2688
|
/**
|
|
2693
2689
|
* 人脸识别所用的算法模型版本。
|
|
2694
2690
|
*/
|
|
2695
|
-
FaceModelVersion
|
|
2691
|
+
FaceModelVersion?: string
|
|
2696
2692
|
/**
|
|
2697
2693
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2698
2694
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const iai: {
|
|
2
|
-
v20200303: {
|
|
3
|
-
Client: typeof import("./v20200303/iai_client").Client;
|
|
4
|
-
Models: typeof import("./v20200303/iai_models");
|
|
5
|
-
};
|
|
6
2
|
v20180301: {
|
|
7
3
|
Client: typeof import("./v20180301/iai_client").Client;
|
|
8
4
|
Models: typeof import("./v20180301/iai_models");
|
|
9
5
|
};
|
|
6
|
+
v20200303: {
|
|
7
|
+
Client: typeof import("./v20200303/iai_client").Client;
|
|
8
|
+
Models: typeof import("./v20200303/iai_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.iai = void 0;
|
|
4
|
-
const v20200303_1 = require("./v20200303");
|
|
5
4
|
const v20180301_1 = require("./v20180301");
|
|
5
|
+
const v20200303_1 = require("./v20200303");
|
|
6
6
|
exports.iai = {
|
|
7
|
-
v20200303: v20200303_1.v20200303,
|
|
8
7
|
v20180301: v20180301_1.v20180301,
|
|
8
|
+
v20200303: v20200303_1.v20200303,
|
|
9
9
|
};
|
|
@@ -332,13 +332,9 @@ export interface CreateGroupRequest {
|
|
|
332
332
|
Tag?: string;
|
|
333
333
|
/**
|
|
334
334
|
* 人脸识别服务所用的算法模型版本。
|
|
335
|
-
|
|
336
335
|
目前入参支持 “2.0”和“3.0“ 两个输入。
|
|
337
|
-
|
|
338
336
|
2020年4月2日开始,默认为“3.0”,之前使用过本接口的账号若未填写本参数默认为“2.0”。
|
|
339
|
-
|
|
340
337
|
2020年11月26日后开通服务的账号仅支持输入“3.0”。
|
|
341
|
-
|
|
342
338
|
不同算法模型版本对应的人脸识别算法不同,新版本的整体效果会优于旧版本,建议使用“3.0”版本。
|
|
343
339
|
*/
|
|
344
340
|
FaceModelVersion?: string;
|
|
@@ -1445,58 +1441,58 @@ export interface FaceAttributesInfo {
|
|
|
1445
1441
|
/**
|
|
1446
1442
|
* 性别[0~49]为女性,[50,100]为男性,越接近0和100表示置信度越高。NeedFaceAttributes 不为 1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1447
1443
|
*/
|
|
1448
|
-
Gender
|
|
1444
|
+
Gender?: number;
|
|
1449
1445
|
/**
|
|
1450
1446
|
* 年龄 [0~100]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1451
1447
|
*/
|
|
1452
|
-
Age
|
|
1448
|
+
Age?: number;
|
|
1453
1449
|
/**
|
|
1454
|
-
* 微笑[0(normal,正常)
|
|
1450
|
+
* 微笑[0(normal,正常))~100(laugh,大笑)]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1455
1451
|
*/
|
|
1456
|
-
Expression
|
|
1452
|
+
Expression?: number;
|
|
1457
1453
|
/**
|
|
1458
1454
|
* 是否有眼镜 [true,false]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1459
1455
|
*/
|
|
1460
|
-
Glass
|
|
1456
|
+
Glass?: boolean;
|
|
1461
1457
|
/**
|
|
1462
1458
|
* 上下偏移[-30,30],单位角度。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1463
1459
|
建议:人脸入库选择[-10,10]的图片。
|
|
1464
1460
|
*/
|
|
1465
|
-
Pitch
|
|
1461
|
+
Pitch?: number;
|
|
1466
1462
|
/**
|
|
1467
1463
|
* 左右偏移[-30,30],单位角度。 NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1468
1464
|
建议:人脸入库选择[-10,10]的图片。
|
|
1469
1465
|
*/
|
|
1470
|
-
Yaw
|
|
1466
|
+
Yaw?: number;
|
|
1471
1467
|
/**
|
|
1472
1468
|
* 平面旋转[-180,180],单位角度。 NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1473
1469
|
建议:人脸入库选择[-20,20]的图片。
|
|
1474
1470
|
*/
|
|
1475
|
-
Roll
|
|
1471
|
+
Roll?: number;
|
|
1476
1472
|
/**
|
|
1477
1473
|
* 魅力[0~100]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1478
1474
|
*/
|
|
1479
|
-
Beauty
|
|
1475
|
+
Beauty?: number;
|
|
1480
1476
|
/**
|
|
1481
1477
|
* 是否有帽子 [true,false]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1482
1478
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1483
1479
|
*/
|
|
1484
|
-
Hat
|
|
1480
|
+
Hat?: boolean;
|
|
1485
1481
|
/**
|
|
1486
1482
|
* 是否有口罩 [true,false]。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1487
1483
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1488
1484
|
*/
|
|
1489
|
-
Mask
|
|
1485
|
+
Mask?: boolean;
|
|
1490
1486
|
/**
|
|
1491
1487
|
* 头发信息,包含头发长度(length)、有无刘海(bang)、头发颜色(color)。NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1492
1488
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1493
1489
|
*/
|
|
1494
|
-
Hair
|
|
1490
|
+
Hair?: FaceHairAttributesInfo;
|
|
1495
1491
|
/**
|
|
1496
1492
|
* 双眼是否睁开 [true,false]。只要有超过一只眼睛闭眼,就返回false。 NeedFaceAttributes 不为1 或检测超过 5 张人脸时,此参数仍返回,但不具备参考意义。
|
|
1497
1493
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1498
1494
|
*/
|
|
1499
|
-
EyeOpen
|
|
1495
|
+
EyeOpen?: boolean;
|
|
1500
1496
|
}
|
|
1501
1497
|
/**
|
|
1502
1498
|
* VerifyPerson请求参数结构体
|
|
@@ -2011,11 +2007,11 @@ export interface CompareFaceResponse {
|
|
|
2011
2007
|
2.0版本误识率千分之一对应分数为70分,误识率万分之一对应分数为80分,误识率十万分之一对应分数为90分。 一般超过80分则可认定为同一人。
|
|
2012
2008
|
若需要验证两张图片中的人脸是否为同一人,建议使用人脸验证接口。
|
|
2013
2009
|
*/
|
|
2014
|
-
Score
|
|
2010
|
+
Score?: number;
|
|
2015
2011
|
/**
|
|
2016
2012
|
* 人脸识别所用的算法模型版本。
|
|
2017
2013
|
*/
|
|
2018
|
-
FaceModelVersion
|
|
2014
|
+
FaceModelVersion?: string;
|
|
2019
2015
|
/**
|
|
2020
2016
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2021
2017
|
*/
|
|
@@ -2139,10 +2135,10 @@ export interface CompareFaceRequest {
|
|
|
2139
2135
|
/**
|
|
2140
2136
|
* 图片质量控制。
|
|
2141
2137
|
0: 不进行控制;
|
|
2142
|
-
1
|
|
2138
|
+
1: 较低的质量要求,图像存在非常模糊,眼睛鼻子嘴巴遮挡至少其中一种或多种的情况;
|
|
2143
2139
|
2: 一般的质量要求,图像存在偏亮,偏暗,模糊或一般模糊,眉毛遮挡,脸颊遮挡,下巴遮挡,至少其中三种的情况;
|
|
2144
2140
|
3: 较高的质量要求,图像存在偏亮,偏暗,一般模糊,眉毛遮挡,脸颊遮挡,下巴遮挡,其中一到两种的情况;
|
|
2145
|
-
4:
|
|
2141
|
+
4: 很高的质量要求,各个维度均为最好或最多,在某一维度上存在轻微问题;
|
|
2146
2142
|
默认 0。
|
|
2147
2143
|
若图片质量不满足要求,则返回结果中会提示图片质量检测不符要求。
|
|
2148
2144
|
*/
|
|
@@ -2385,11 +2381,11 @@ export interface AttributeItem {
|
|
|
2385
2381
|
/**
|
|
2386
2382
|
* 属性值
|
|
2387
2383
|
*/
|
|
2388
|
-
Type
|
|
2384
|
+
Type?: number;
|
|
2389
2385
|
/**
|
|
2390
|
-
* Type
|
|
2386
|
+
* Type识别概率值,[0,1],代表判断正确的概率。
|
|
2391
2387
|
*/
|
|
2392
|
-
Probability
|
|
2388
|
+
Probability?: number;
|
|
2393
2389
|
}
|
|
2394
2390
|
/**
|
|
2395
2391
|
* 检测出的人脸框的位置
|
|
@@ -2432,7 +2428,7 @@ export interface CreateGroupResponse {
|
|
|
2432
2428
|
/**
|
|
2433
2429
|
* 人脸识别所用的算法模型版本。
|
|
2434
2430
|
*/
|
|
2435
|
-
FaceModelVersion
|
|
2431
|
+
FaceModelVersion?: string;
|
|
2436
2432
|
/**
|
|
2437
2433
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2438
2434
|
*/
|