tccli 3.0.1216.1__py2.py3-none-any.whl → 3.0.1217.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -0
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +98 -4
- tccli/services/asr/v20190614/api.json +18 -17
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +48 -0
- tccli/services/billing/v20180709/api.json +26 -24
- tccli/services/bsca/v20210811/api.json +1 -1
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/v20200210/api.json +390 -323
- tccli/services/ccc/v20200210/examples.json +15 -15
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +295 -270
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +42 -2
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1849 -1999
- tccli/services/cfw/v20190904/examples.json +157 -159
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/v20190319/api.json +58 -44
- tccli/services/cloudaudit/v20190319/examples.json +6 -6
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +536 -47
- tccli/services/cls/v20201016/examples.json +34 -2
- tccli/services/csip/v20221121/api.json +2562 -2382
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +149 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6338 -6146
- tccli/services/cwp/v20180228/examples.json +342 -370
- tccli/services/cynosdb/v20190107/api.json +93 -81
- tccli/services/cynosdb/v20190107/examples.json +70 -70
- tccli/services/dasb/v20191018/api.json +796 -651
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/v20180416/api.json +29 -0
- tccli/services/es/v20180416/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +49 -31
- tccli/services/ess/v20201111/examples.json +20 -8
- tccli/services/essbasic/v20210526/api.json +54 -49
- tccli/services/essbasic/v20210526/examples.json +36 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +33 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +244 -0
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +4 -4
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2265 -760
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/v20210331/api.json +13 -4
- tccli/services/organization/v20210331/examples.json +2 -2
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/v20180416/api.json +15 -15
- tccli/services/scf/v20180416/examples.json +1 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +97 -4
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +97 -97
- tccli/services/tat/v20201028/examples.json +20 -26
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1973 -1426
- tccli/services/tcss/v20201101/examples.json +346 -364
- tccli/services/tdmq/v20200217/api.json +539 -401
- tccli/services/tdmq/v20200217/examples.json +104 -104
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +287 -271
- tccli/services/tem/v20210701/examples.json +59 -59
- tccli/services/teo/v20220901/api.json +37 -9
- tccli/services/teo/v20220901/examples.json +13 -7
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +217 -58
- tccli/services/tke/v20180525/api.json +36 -27
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +72 -30
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1090 -862
- tccli/services/vpc/v20170312/examples.json +74 -66
- tccli/services/vpc/vpc_client.py +61 -8
- tccli/services/waf/v20180125/api.json +2540 -2177
- tccli/services/waf/v20180125/examples.json +216 -284
- tccli/services/waf/waf_client.py +172 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +909 -25
- tccli/services/wedata/v20210820/examples.json +28 -4
- tccli/services/wedata/wedata_client.py +159 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -2,7 +2,7 @@
|
|
2
2
|
"actions": {
|
3
3
|
"AnalyzeDenseLandmarks": [
|
4
4
|
{
|
5
|
-
"document": "",
|
5
|
+
"document": "获取稠密关键点。",
|
6
6
|
"input": "https://iai.tencentcloudapi.com/?Action=AnalyzeDenseLandmarks\n&Mode=0\n&Url=http://test.image.myqcloud.com/testA.jpg\n&<公共请求参数>",
|
7
7
|
"output": "{\n \"Response\": {\n \"ImageWidth\": 550,\n \"ImageHeight\": 366,\n \"DenseFaceShapeSet\": [\n {\n \"Chin\": [\n {\n \"X\": 376,\n \"Y\": 66\n }\n ],\n \"LeftEye\": [\n {\n \"X\": 384,\n \"Y\": 66\n }\n ],\n \"RightEye\": [\n {\n \"X\": 422,\n \"Y\": 72\n }\n ],\n \"LeftEyeBrow\": [\n {\n \"X\": 382,\n \"Y\": 61\n }\n ],\n \"RightEyeBrow\": [\n {\n \"X\": 428,\n \"Y\": 68\n }\n ],\n \"Nose\": [\n {\n \"X\": 398,\n \"Y\": 69\n }\n ],\n \"MouthInside\": [\n {\n \"X\": 386,\n \"Y\": 98\n }\n ],\n \"MouthOutside\": [\n {\n \"X\": 386,\n \"Y\": 98\n }\n ],\n \"LeftPupil\": [\n {\n \"X\": 390,\n \"Y\": 65\n }\n ],\n \"RightPupil\": [\n {\n \"X\": 416,\n \"Y\": 70\n }\n ],\n \"LeftEyeBags\": [\n {\n \"X\": 395,\n \"Y\": 69\n }\n ],\n \"RightEyeBags\": [\n {\n \"X\": 410,\n \"Y\": 72\n }\n ],\n \"Forehead\": [\n {\n \"X\": 376,\n \"Y\": 65\n }\n ],\n \"CentralAxis\": [\n {\n \"X\": 405,\n \"Y\": 54\n }\n ],\n \"X\": 375,\n \"Y\": 37,\n \"Width\": 63,\n \"Height\": 82\n }\n ],\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"cebb639a-ec53-4a23-a5a5-fbcc5f0ae2bc\"\n }\n}",
|
8
8
|
"title": "稠密关键点接口"
|
@@ -10,37 +10,55 @@
|
|
10
10
|
],
|
11
11
|
"AnalyzeFace": [
|
12
12
|
{
|
13
|
-
"document": "",
|
13
|
+
"document": "对请求图片进行五官定位。",
|
14
14
|
"input": "https://iai.tencentcloudapi.com/?Action=AnalyzeFace\n&Mode=0\n&Url=http://test.image.myqcloud.com/testA.jpg\n&<公共请求参数>",
|
15
15
|
"output": "{\n \"Response\": {\n \"ImageWidth\": 550,\n \"ImageHeight\": 366,\n \"FaceShapeSet\": [\n {\n \"FaceProfile\": [\n {\n \"X\": 63,\n \"Y\": 335\n },\n {\n \"X\": 63,\n \"Y\": 374\n },\n {\n \"X\": 66,\n \"Y\": 412\n },\n {\n \"X\": 74,\n \"Y\": 450\n },\n {\n \"X\": 85,\n \"Y\": 487\n },\n {\n \"X\": 100,\n \"Y\": 522\n },\n {\n \"X\": 121,\n \"Y\": 554\n },\n {\n \"X\": 147,\n \"Y\": 582\n },\n {\n \"X\": 176,\n \"Y\": 608\n },\n {\n \"X\": 208,\n \"Y\": 627\n },\n {\n \"X\": 245,\n \"Y\": 634\n },\n {\n \"X\": 282,\n \"Y\": 627\n },\n {\n \"X\": 315,\n \"Y\": 607\n },\n {\n \"X\": 344,\n \"Y\": 582\n },\n {\n \"X\": 370,\n \"Y\": 554\n },\n {\n \"X\": 391,\n \"Y\": 522\n },\n {\n \"X\": 405,\n \"Y\": 487\n },\n {\n \"X\": 416,\n \"Y\": 449\n },\n {\n \"X\": 423,\n \"Y\": 411\n },\n {\n \"X\": 427,\n \"Y\": 372\n },\n {\n \"X\": 426,\n \"Y\": 334\n }\n ],\n \"LeftEye\": [\n {\n \"X\": 114,\n \"Y\": 333\n },\n {\n \"X\": 128,\n \"Y\": 345\n },\n {\n \"X\": 146,\n \"Y\": 349\n },\n {\n \"X\": 165,\n \"Y\": 347\n },\n {\n \"X\": 183,\n \"Y\": 341\n },\n {\n \"X\": 169,\n \"Y\": 325\n },\n {\n \"X\": 150,\n \"Y\": 318\n },\n {\n \"X\": 130,\n \"Y\": 321\n }\n ],\n \"RightEye\": [\n {\n \"X\": 378,\n \"Y\": 331\n },\n {\n \"X\": 364,\n \"Y\": 343\n },\n {\n \"X\": 345,\n \"Y\": 348\n },\n {\n \"X\": 327,\n \"Y\": 346\n },\n {\n \"X\": 309,\n \"Y\": 340\n },\n {\n \"X\": 322,\n \"Y\": 323\n },\n {\n \"X\": 341,\n \"Y\": 316\n },\n {\n \"X\": 361,\n \"Y\": 319\n }\n ],\n \"LeftEyeBrow\": [\n {\n \"X\": 79,\n \"Y\": 280\n },\n {\n \"X\": 108,\n \"Y\": 275\n },\n {\n \"X\": 138,\n \"Y\": 274\n },\n {\n \"X\": 168,\n \"Y\": 277\n },\n {\n \"X\": 198,\n \"Y\": 279\n },\n {\n \"X\": 173,\n \"Y\": 256\n },\n {\n \"X\": 139,\n \"Y\": 251\n },\n {\n \"X\": 105,\n \"Y\": 256\n }\n ],\n \"RightEyeBrow\": [\n {\n \"X\": 410,\n \"Y\": 277\n },\n {\n \"X\": 380,\n \"Y\": 273\n },\n {\n \"X\": 350,\n \"Y\": 272\n },\n {\n \"X\": 320,\n \"Y\": 275\n },\n {\n \"X\": 290,\n \"Y\": 277\n },\n {\n \"X\": 315,\n \"Y\": 255\n },\n {\n \"X\": 349,\n \"Y\": 249\n },\n {\n \"X\": 384,\n \"Y\": 254\n }\n ],\n \"Mouth\": [\n {\n \"X\": 173,\n \"Y\": 522\n },\n {\n \"X\": 193,\n \"Y\": 541\n },\n {\n \"X\": 217,\n \"Y\": 554\n },\n {\n \"X\": 244,\n \"Y\": 558\n },\n {\n \"X\": 272,\n \"Y\": 554\n },\n {\n \"X\": 297,\n \"Y\": 541\n },\n {\n \"X\": 317,\n \"Y\": 522\n },\n {\n \"X\": 291,\n \"Y\": 517\n },\n {\n \"X\": 264,\n \"Y\": 512\n },\n {\n \"X\": 245,\n \"Y\": 517\n },\n {\n \"X\": 225,\n \"Y\": 512\n },\n {\n \"X\": 199,\n \"Y\": 517\n },\n {\n \"X\": 196,\n \"Y\": 528\n },\n {\n \"X\": 220,\n \"Y\": 532\n },\n {\n \"X\": 244,\n \"Y\": 535\n },\n {\n \"X\": 269,\n \"Y\": 532\n },\n {\n \"X\": 293,\n \"Y\": 528\n },\n {\n \"X\": 293,\n \"Y\": 525\n },\n {\n \"X\": 269,\n \"Y\": 527\n },\n {\n \"X\": 245,\n \"Y\": 530\n },\n {\n \"X\": 221,\n \"Y\": 528\n },\n {\n \"X\": 197,\n \"Y\": 525\n }\n ],\n \"Nose\": [\n {\n \"X\": 244,\n \"Y\": 428\n },\n {\n \"X\": 245,\n \"Y\": 341\n },\n {\n \"X\": 231,\n \"Y\": 367\n },\n {\n \"X\": 217,\n \"Y\": 392\n },\n {\n \"X\": 203,\n \"Y\": 418\n },\n {\n \"X\": 187,\n \"Y\": 448\n },\n {\n \"X\": 217,\n \"Y\": 464\n },\n {\n \"X\": 245,\n \"Y\": 468\n },\n {\n \"X\": 272,\n \"Y\": 464\n },\n {\n \"X\": 302,\n \"Y\": 448\n },\n {\n \"X\": 287,\n \"Y\": 417\n },\n {\n \"X\": 273,\n \"Y\": 392\n },\n {\n \"X\": 259,\n \"Y\": 366\n }\n ],\n \"LeftPupil\": [\n {\n \"X\": 188,\n \"Y\": 303\n }\n ],\n \"RightPupil\": [\n {\n \"X\": 201,\n \"Y\": 304\n }\n ]\n }\n ],\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"a8eb4545-a154-4f86-9510-57a8be9cae0c\"\n }\n}",
|
16
|
-
"title": "
|
16
|
+
"title": "五官定位接口成功示例"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"document": "对请求图片进行五官定位,图片中没有人脸。",
|
20
|
+
"input": "https://iai.tencentcloudapi.com/?Action=AnalyzeFace\n&Mode=0\n&Url=http://test.image.myqcloud.com/testB.jpg\n&<公共请求参数>",
|
21
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c964ad35-5476-486e-a03f-311faa6652e6\",\n \"Error\": {\n \"Code\": \"InvalidParameterValue.NoFaceInPhoto\",\n \"Message\": \"图片中没有人脸。\"\n }\n }\n}",
|
22
|
+
"title": "五官定位接口失败示例"
|
17
23
|
}
|
18
24
|
],
|
19
25
|
"CompareFace": [
|
20
26
|
{
|
21
|
-
"document": "",
|
27
|
+
"document": "对两张图片中的人脸进行相似度比对。",
|
22
28
|
"input": "POST / HTTP/1.1\nHost: iai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CompareFace\n<公共请求参数>\n\n{\n \"UrlA\": \"http://test.image.myqcloud.com/testA.jpg\",\n \"UrlB\": \"http://test.image.myqcloud.com/testB.jpg\"\n}",
|
23
29
|
"output": "{\n \"Response\": {\n \"Score\": 0.999,\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"a8eb4545-a154-4f86-9510-57a8be9cae0c\"\n }\n}",
|
24
|
-
"title": "
|
30
|
+
"title": "人脸比对接口成功示例"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"document": "传入低质量图片,进行相似度比对。",
|
34
|
+
"input": "POST / HTTP/1.1\nHost: iai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CompareFace\n<公共请求参数>\n\n{\n \"UrlA\": \"http://test.image.myqcloud.com/testA.jpg\",\n \"UrlB\": \"http://test.image.myqcloud.com/testB.jpg\"\n}",
|
35
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.FaceQualityNotQualified\",\n \"Message\": \"人脸图片质量不符要求。\"\n },\n \"RequestId\": \"788270e8-91b7-4c59-bd00-1af257b1e482\"\n }\n}",
|
36
|
+
"title": "人脸比对接口异常示例"
|
25
37
|
}
|
26
38
|
],
|
27
39
|
"CompareMaskFace": [
|
28
40
|
{
|
29
|
-
"document": "",
|
41
|
+
"document": "对两张图片中的人脸进行相似度比对。",
|
30
42
|
"input": "POST / HTTP/1.1\nHost: iai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CompareMaskFace\n<公共请求参数>\n\n{\n \"UrlA\": \"http://test.image.myqcloud.com/testA.jpg\",\n \"UrlB\": \"http://test.image.myqcloud.com/testB.jpg\"\n}",
|
31
43
|
"output": "{\n \"Response\": {\n \"Score\": 0.999,\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"a8eb4545-a154-4f86-9510-57a8be9cae0c\"\n }\n}",
|
32
|
-
"title": "
|
44
|
+
"title": "人脸比对接口成功示例"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"document": "传入质量不佳的图片,进行相似度比较。",
|
48
|
+
"input": "POST / HTTP/1.1\nHost: iai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CompareMaskFace\n<公共请求参数>\n\n{\n \"UrlA\": \"http://test.image.myqcloud.com/testA.jpg\",\n \"UrlB\": \"http://test.image.myqcloud.com/testB.jpg\"\n}",
|
49
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.FaceQualityNotQualified\",\n \"Message\": \"人脸图片质量不符要求。\"\n },\n \"RequestId\": \"788270e8-91b7-4c59-bd00-1af257b1e481\"\n }\n}",
|
50
|
+
"title": "人脸比对接口异常示例"
|
33
51
|
}
|
34
52
|
],
|
35
53
|
"CopyPerson": [
|
36
54
|
{
|
37
|
-
"document": "",
|
55
|
+
"document": "组中已包含对应的人员Id。",
|
38
56
|
"input": "https://iai.tencentcloudapi.com/?Action=CopyPerson\r\n&PersonId=1001\r\n&GroupIds.0=TencentShenZhenEmployee\r\n&GroupIds.1=ZhuYuanDormitoryNo1\r\n&<公共请求参数>",
|
39
57
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.GroupPersonMapExist\",\n \"Message\": \"组中已包含对应的人员Id。\"\n },\n \"RequestId\": \"8ecfa566-68a9-4eb5-a6da-95ba9be26947\"\n }\n}",
|
40
58
|
"title": "错误示例"
|
41
59
|
},
|
42
60
|
{
|
43
|
-
"document": "",
|
61
|
+
"document": "复制人员。",
|
44
62
|
"input": "https://iai.tencentcloudapi.com/?Action=CopyPerson\r\n&PersonId=2001\r\n&GroupIds.0=TencentShenZhenEmployee\r\n&GroupIds.1=ShenZhenCitizen\r\n&<公共请求参数>",
|
45
63
|
"output": "{\n \"Response\": {\n \"SucGroupNum\": 2,\n \"SucGroupIds\": [\n \"ShenZhenCitizen\",\n \"TencentShenZhenEmployee\"\n ],\n \"RequestId\": \"9841c008-e597-4356-a8d5-c47a246abd8d\"\n }\n}",
|
46
64
|
"title": "复制人员接口"
|
@@ -48,13 +66,13 @@
|
|
48
66
|
],
|
49
67
|
"CreateFace": [
|
50
68
|
{
|
51
|
-
"document": "已有人员最多再新增4
|
69
|
+
"document": "已有人员最多再新增4张人脸图片。",
|
52
70
|
"input": "https://iai.tencentcloudapi.com/?Action=CreateFace\n&PersonId=1001\n&Urls.0=http://test.image.myqcloud.com/testB.jpg\n&Urls.1=http://test.image.myqcloud.com/testC.jpg\n&Urls.2=http://test.image.myqcloud.com/testD.jpg\n&Urls.3=http://test.image.myqcloud.com/testE.jpg\n&Urls.4=http://test.image.myqcloud.com/testF.jpg\n&<公共请求参数>",
|
53
71
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.UploadFaceNumExceed\",\n \"Message\": \"一次最多上传四张人脸。\"\n },\n \"RequestId\": \"44506f79-2191-49bc-997b-748a566d781c\"\n }\n}",
|
54
72
|
"title": "错误示例"
|
55
73
|
},
|
56
74
|
{
|
57
|
-
"document": "
|
75
|
+
"document": "将一组人脸图片添加到一个人员中。",
|
58
76
|
"input": "https://iai.tencentcloudapi.com/?Action=CreateFace\n&PersonId=1001\n&Urls.0=http://test.image.myqcloud.com/testA.jpg\n&<公共请求参数>",
|
59
77
|
"output": "{\n \"Response\": {\n \"SucFaceNum\": 1,\n \"SucFaceIds\": [\n \"2875186538564559728\"\n ],\n \"RetCode\": [\n 0\n ],\n \"SucIndexes\": [\n 0\n ],\n \"SucFaceRects\": [\n {\n \"X\": 135,\n \"Y\": 42,\n \"Width\": 98,\n \"Height\": 136\n }\n ],\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"07d63403-a199-4bbe-b9e0-692356ac738d\"\n }\n}",
|
60
78
|
"title": "增加人脸接口"
|
@@ -62,51 +80,51 @@
|
|
62
80
|
],
|
63
81
|
"CreateGroup": [
|
64
82
|
{
|
65
|
-
"document": "
|
66
|
-
"input": "https://iai.tencentcloudapi.com/?Action=CreateGroup\n&GroupName=腾讯深圳员工库\n&GroupId=TencentShenZhenEmployee\n&<公共请求参数>",
|
67
|
-
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.GroupIdAlreadyExist\",\n \"Message\": \"人员库ID已经存在。人员库ID不可重复。\"\n },\n \"RequestId\": \"76ec6e41-37d6-4ab9-abef-48ef0c6ab175\"\n }\n}",
|
68
|
-
"title": "错误示例"
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"document": "人员库ID不支持中文",
|
72
|
-
"input": "https://iai.tencentcloudapi.com/?Action=CreateGroup\n&GroupName=腾讯深圳员工库\n&GroupId=腾讯深圳员工库\n&<公共请求参数>",
|
73
|
-
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.GroupIdIllegal\",\n \"Message\": \"人员库ID包含非法字符。人员库ID只支持英文、数字、-%@#&_。\"\n },\n \"RequestId\": \"8125dda4-2905-4e02-88bd-79a93a660ad2\"\n }\n}",
|
74
|
-
"title": "错误示例-2"
|
75
|
-
},
|
76
|
-
{
|
77
|
-
"document": "",
|
83
|
+
"document": "创建人员库。",
|
78
84
|
"input": "https://iai.tencentcloudapi.com/?Action=CreateGroup\n&GroupName=腾讯深圳员工库\n&FaceModelVersion=3.0\n&GroupId=TencentShenZhenEmployee\n&Tag=不含实习生\n&GroupExDescriptions.0=事业群\n&GroupExDescriptions.1=部门名\n&GroupExDescriptions.2=组名\n&<公共请求参数>",
|
79
85
|
"output": "{\n \"Response\": {\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"e53ee4ec-9099-4b35-a129-21dd4820ff85\"\n }\n}",
|
80
86
|
"title": "创建人员库接口"
|
81
87
|
},
|
82
88
|
{
|
83
|
-
"document": "",
|
89
|
+
"document": "创建人员库。",
|
84
90
|
"input": "https://iai.tencentcloudapi.com/?Action=CreateGroup\n&GroupName=某某大学竹园宿舍楼1号楼\n&GroupId=ZhuYuanDormitoryNo1\n&FaceModelVersion=3.0\n&Tag=全是女生哦\n&GroupExDescriptions.0=学院名\n&GroupExDescriptions.1=专业\n&GroupExDescriptions.2=年级\n&GroupExDescriptions.3=学号\n&<公共请求参数>",
|
85
91
|
"output": "{\n \"Response\": {\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"1695f3dd-b668-479e-8b87-f37de371a8ec\"\n }\n}",
|
86
92
|
"title": "创建人员库接口-2"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"document": "人员库ID不支持中文。",
|
96
|
+
"input": "https://iai.tencentcloudapi.com/?Action=CreateGroup\n&GroupName=腾讯深圳员工库\n&GroupId=腾讯深圳员工库\n&<公共请求参数>",
|
97
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.GroupIdIllegal\",\n \"Message\": \"人员库ID包含非法字符。人员库ID只支持英文、数字、-%@#&_。\"\n },\n \"RequestId\": \"8125dda4-2905-4e02-88bd-79a93a660ad2\"\n }\n}",
|
98
|
+
"title": "错误示例-人员库ID不支持中文"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"document": "人员库ID不可重复",
|
102
|
+
"input": "https://iai.tencentcloudapi.com/?Action=CreateGroup\n&GroupName=腾讯深圳员工库\n&GroupId=TencentShenZhenEmployee\n&<公共请求参数>",
|
103
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.GroupIdAlreadyExist\",\n \"Message\": \"人员库ID已经存在。人员库ID不可重复。\"\n },\n \"RequestId\": \"76ec6e41-37d6-4ab9-abef-48ef0c6ab175\"\n }\n}",
|
104
|
+
"title": "错误示例-人员库ID不可重复"
|
87
105
|
}
|
88
106
|
],
|
89
107
|
"CreatePerson": [
|
90
108
|
{
|
91
|
-
"document": "人员ID
|
109
|
+
"document": "人员ID不可重复。",
|
92
110
|
"input": "https://iai.tencentcloudapi.com/?Action=CreatePerson\n&GroupId=ZhuYuanDormitoryNo1\n&PersonName=Cheng\n&PersonId=1001\n&Gender=2\n&Url=http://test.image.myqcloud.com/testD.jpg\n&<公共请求参数>",
|
93
111
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.PersonIdAlreadyExist\",\n \"Message\": \"人员ID已经存在。人员ID不可重复。\"\n },\n \"RequestId\": \"76dedef7-af27-4a20-9064-c5ef3133926d\"\n }\n}",
|
94
112
|
"title": "错误示例"
|
95
113
|
},
|
96
114
|
{
|
97
|
-
"document": "人员库ID
|
115
|
+
"document": "人员库ID不存在。",
|
98
116
|
"input": "https://iai.tencentcloudapi.com/?Action=CreatePerson\n&GroupId=ShenZhenCitizen\n&PersonName=Siccy\n&PersonId=3001\n&Gender=2\n&Url=http://test.image.myqcloud.com/testC.jpg\n&<公共请求参数>",
|
99
117
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.GroupIdNotExist\",\n \"Message\": \"人员库ID不存在。\"\n },\n \"RequestId\": \"dfa512fc-fd07-4bf1-a292-cb497b620857\"\n }\n}",
|
100
118
|
"title": "错误示例-2"
|
101
119
|
},
|
102
120
|
{
|
103
|
-
"document": "",
|
121
|
+
"document": "创建人员。",
|
104
122
|
"input": "https://iai.tencentcloudapi.com/?Action=CreatePerson\n&GroupId=ZhuYuanDormitoryNo1\n&PersonName=Junly\n&PersonId=2001\n&Gender=1\n&Url=http://test.image.myqcloud.com/testB.jpg\n&PersonExDescriptionInfos.0.PersonExDescriptionIndex=0\n&PersonExDescriptionInfos.0.PersonExDescription=计算机学院\n&PersonExDescriptionInfos.1.PersonExDescriptionIndex=1\n&PersonExDescriptionInfos.1.PersonExDescription=软件工程\n&PersonExDescriptionInfos.2.PersonExDescriptionIndex=2\n&PersonExDescriptionInfos.2.PersonExDescription=15级\n&PersonExDescriptionInfos.3.PersonExDescriptionIndex=3\n&PersonExDescriptionInfos.3.PersonExDescription=3150808\n&<公共请求参数>",
|
105
123
|
"output": "{\n \"Response\": {\n \"FaceId\": \"3454816969590585885\",\n \"SimilarPersonId\": \"\",\n \"FaceRect\": {\n \"X\": 172,\n \"Y\": 122,\n \"Width\": 178,\n \"Height\": 228\n },\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"738a2fb0-bd4b-4cf6-9c91-18d50978d76b\"\n }\n}",
|
106
124
|
"title": "创建人员接口"
|
107
125
|
},
|
108
126
|
{
|
109
|
-
"document": "
|
127
|
+
"document": "创建人员。",
|
110
128
|
"input": "https://iai.tencentcloudapi.com/?Action=CreatePerson\n&GroupId=TencentShenZhenEmployee\n&PersonName=evanliao\n&PersonId=1001\n&Gender=1\n&Url=http://test.image.myqcloud.com/testA.jpg\n&PersonExDescriptionInfos.0.PersonExDescriptionIndex=0\n&PersonExDescriptionInfos.0.PersonExDescription=云与智慧产业事业群\n&PersonExDescriptionInfos.1.PersonExDescriptionIndex=1\n&PersonExDescriptionInfos.1.PersonExDescription=人工智能产品中心\n&PersonExDescriptionInfos.2.PersonExDescriptionIndex=2\n&PersonExDescriptionInfos.2.PersonExDescription=人脸识别产品组\n&<公共请求参数>",
|
111
129
|
"output": "{\n \"Response\": {\n \"FaceId\": \"3454816969590585881\",\n \"SimilarPersonId\": \"\",\n \"FaceRect\": {\n \"X\": 172,\n \"Y\": 122,\n \"Width\": 178,\n \"Height\": 228\n },\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"269a6bc0-0016-47e8-a63d-517ce4052b0e\"\n }\n}",
|
112
130
|
"title": "创建人员接口-2"
|
@@ -114,41 +132,41 @@
|
|
114
132
|
],
|
115
133
|
"DeleteFace": [
|
116
134
|
{
|
117
|
-
"document": "人员ID
|
135
|
+
"document": "人员ID不存在。",
|
118
136
|
"input": "https://iai.tencentcloudapi.com/?Action=DeleteFace\r\n&PersonId=5001\r\n&FaceIds.0=2875186538564559728\r\n&<公共请求参数>",
|
119
137
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"ResourceNotFound.ErrorPersonNotExisted\",\n \"Message\": \"个体不存在。\"\n },\n \"RequestId\": \"e2b603e5-51d0-4a8a-8319-2df026ae7518\"\n }\n}",
|
120
138
|
"title": "错误示例"
|
121
139
|
},
|
122
140
|
{
|
123
|
-
"document": "
|
141
|
+
"document": "删除一个人员下的人脸图片。",
|
124
142
|
"input": "https://iai.tencentcloudapi.com/?Action=DeleteFace\r\n&PersonId=1001\r\n&FaceIds.0=2875186538564559728\r\n&<公共请求参数>",
|
125
143
|
"output": "{\n \"Response\": {\n \"SucDeletedNum\": 1,\n \"SucFaceIds\": [\n \"2875186538564559728\"\n ],\n \"RequestId\": \"38f96439-d5ea-48ea-899b-44a284708f6b\"\n }\n}",
|
126
144
|
"title": "删除人脸接口"
|
127
145
|
}
|
128
146
|
],
|
129
147
|
"DeleteGroup": [
|
148
|
+
{
|
149
|
+
"document": "删除指定人员库及包含的所有的人员。",
|
150
|
+
"input": "https://iai.tencentcloudapi.com/?Action=DeleteGroup\n&GroupId=ZhuYuanDormitoryNo1\n&<公共请求参数>",
|
151
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2ff7181c-ef20-4f02-b4ed-13924b381368\"\n }\n}",
|
152
|
+
"title": "删除人员库接口"
|
153
|
+
},
|
130
154
|
{
|
131
155
|
"document": "人员库ID不存在",
|
132
156
|
"input": "https://iai.tencentcloudapi.com/?Action=DeleteGroup\n&GroupId=ZhuYuanDormitory\n&<公共请求参数>",
|
133
157
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.GroupIdNotExist\",\n \"Message\": \"人员库ID不存在。\"\n },\n \"RequestId\": \"878b225f-d3a4-4aa0-a849-3df415ac61a9\"\n }\n}",
|
134
158
|
"title": "错误示例"
|
135
|
-
},
|
136
|
-
{
|
137
|
-
"document": "删除指定人员库及包含的所有的人员",
|
138
|
-
"input": "https://iai.tencentcloudapi.com/?Action=DeleteGroup\n&GroupId=ZhuYuanDormitoryNo1\n&<公共请求参数>",
|
139
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"2ff7181c-ef20-4f02-b4ed-13924b381368\"\n }\n}",
|
140
|
-
"title": "删除人员库接口"
|
141
159
|
}
|
142
160
|
],
|
143
161
|
"DeletePerson": [
|
144
162
|
{
|
145
|
-
"document": "人员ID
|
163
|
+
"document": "人员ID不存在。",
|
146
164
|
"input": "https://iai.tencentcloudapi.com/?Action=DeletePerson\r\n&PersonId=3001\r\n&<公共请求参数>",
|
147
165
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"ResourceNotFound.ErrorPersonNotExisted\",\n \"Message\": \"个体不存在。\"\n },\n \"RequestId\": \"4b9c1bdc-86eb-413f-8c74-15bcf4466cd5\"\n }\n}",
|
148
166
|
"title": "错误示例"
|
149
167
|
},
|
150
168
|
{
|
151
|
-
"document": "
|
169
|
+
"document": "删除指定人员信息。",
|
152
170
|
"input": "https://iai.tencentcloudapi.com/?Action=DeletePerson\r\n&PersonId=2001\r\n&<公共请求参数>",
|
153
171
|
"output": "{\n \"Response\": {\n \"RequestId\": \"4b609b7c-7a9a-4ea0-be8b-1fb638c2ceca\"\n }\n}",
|
154
172
|
"title": "删除人员接口"
|
@@ -156,13 +174,13 @@
|
|
156
174
|
],
|
157
175
|
"DeletePersonFromGroup": [
|
158
176
|
{
|
159
|
-
"document": "
|
177
|
+
"document": "人员库中不包含指定人员。",
|
160
178
|
"input": "https://iai.tencentcloudapi.com/?Action=DeletePersonFromGroup\r\n&PersonId=3001\r\n&GroupId=ZhuYuanDormitoryNo1\r\n&<公共请求参数>",
|
161
179
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.GroupPersonMapNotExist\",\n \"Message\": \"组中不包含对应的人员Id。\"\n },\n \"RequestId\": \"b9d9641d-3de2-4a6f-a728-36a3b66e7bd0\"\n }\n}",
|
162
180
|
"title": "错误示例"
|
163
181
|
},
|
164
182
|
{
|
165
|
-
"document": "
|
183
|
+
"document": "从某人员库中删除人员,此操作仅影响该人员库。",
|
166
184
|
"input": "https://iai.tencentcloudapi.com/?Action=DeletePersonFromGroup\r\n&PersonId=1001\r\n&GroupId=TencentShenZhenEmployee\r\n&<公共请求参数>",
|
167
185
|
"output": "{\n \"Response\": {\n \"RequestId\": \"f9b22bbc-c94d-4287-a2ab-fa68f7bbbaf3\"\n }\n}",
|
168
186
|
"title": "人员库删除人员接口"
|
@@ -170,24 +188,36 @@
|
|
170
188
|
],
|
171
189
|
"DetectFace": [
|
172
190
|
{
|
173
|
-
"document": "
|
191
|
+
"document": "检测给定图片中的人脸的位置、相应的面部属性和人脸质量信息。",
|
174
192
|
"input": "https://iai.tencentcloudapi.com/?Action=DetectFace\n&MaxFaceNum=1\n&MinFaceSize=40\n&Url=http://test.image.myqcloud.com/testB.jpg\n&NeedFaceAttributes=0\n&NeedQualityDetection=0\n&<公共请求参数>",
|
175
193
|
"output": "{\n \"Response\": {\n \"ImageWidth\": 640,\n \"ImageHeight\": 440,\n \"FaceInfos\": [\n {\n \"X\": 156,\n \"Y\": 129,\n \"Width\": 196,\n \"Height\": 196,\n \"FaceAttributesInfo\": {\n \"Gender\": 0,\n \"Age\": 0,\n \"Expression\": 0,\n \"Hat\": false,\n \"Glass\": false,\n \"EyeOpen\": true,\n \"Mask\": false,\n \"Hair\": {\n \"Length\": 0,\n \"Bang\": 0,\n \"Color\": 0\n },\n \"Pitch\": 0,\n \"Yaw\": 0,\n \"Roll\": 0,\n \"Beauty\": 0\n },\n \"FaceQualityInfo\": {\n \"Score\": 0,\n \"Sharpness\": 0,\n \"Brightness\": 0,\n \"Completeness\": {\n \"Eyebrow\": 0,\n \"Eye\": 0,\n \"Nose\": 0,\n \"Cheek\": 0,\n \"Mouth\": 0,\n \"Chin\": 0\n }\n }\n }\n ],\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"a574102d-1b86-48a7-a08b-6a741a8fedb6\"\n }\n}",
|
176
|
-
"title": "
|
194
|
+
"title": "人脸检测与分析接口成功"
|
177
195
|
},
|
178
196
|
{
|
179
|
-
"document": "
|
197
|
+
"document": "检测给定图片中的人脸的位置、相应的面部属性和人脸质量信息。",
|
180
198
|
"input": "https://iai.tencentcloudapi.com/?Action=DetectFace\n&MaxFaceNum=1\n&MinFaceSize=40\n&Url=http://test.image.myqcloud.com/testA.jpg\n&NeedFaceAttributes=1\n&NeedQualityDetection=1\n&<公共请求参数>",
|
181
199
|
"output": "{\n \"Response\": {\n \"ImageWidth\": 640,\n \"ImageHeight\": 440,\n \"FaceInfos\": [\n {\n \"X\": 156,\n \"Y\": 129,\n \"Width\": 196,\n \"Height\": 196,\n \"FaceAttributesInfo\": {\n \"Gender\": 99,\n \"Age\": 51,\n \"Expression\": 99,\n \"Hat\": false,\n \"Glass\": false,\n \"EyeOpen\": true,\n \"Mask\": true,\n \"Hair\": {\n \"Length\": 1,\n \"Bang\": 1,\n \"Color\": 0\n },\n \"Pitch\": 17,\n \"Yaw\": 5,\n \"Roll\": -2,\n \"Beauty\": 71\n },\n \"FaceQualityInfo\": {\n \"Score\": 63,\n \"Sharpness\": 73,\n \"Brightness\": 47,\n \"Completeness\": {\n \"Eyebrow\": 99,\n \"Eye\": 99,\n \"Nose\": 99,\n \"Cheek\": 52,\n \"Mouth\": 99,\n \"Chin\": 47\n }\n }\n }\n ],\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"bcde47b5-e6d8-446e-a538-bcecffbe306a\"\n }\n}",
|
182
|
-
"title": "
|
200
|
+
"title": "人脸检测与分析接口成功示例"
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"document": "传入无人脸图片,检测人脸的位置、相应的面部属性和人脸质量信息。",
|
204
|
+
"input": "https://iai.tencentcloudapi.com/?Action=DetectFace\n&MaxFaceNum=1\n&MinFaceSize=40\n&Url=http://test.image.myqcloud.com/testA.jpg\n&NeedFaceAttributes=1\n&NeedQualityDetection=1\n&<公共请求参数>",
|
205
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"54eedbca-8704-4388-9b1c-4bdf1a4308a4\",\n \"Error\": {\n \"Code\": \"InvalidParameterValue.NoFaceInPhoto\",\n \"Message\": \"图片中没有人脸。\"\n }\n }\n}",
|
206
|
+
"title": "人脸检测与分析接口失败示例"
|
183
207
|
}
|
184
208
|
],
|
185
209
|
"DetectFaceAttributes": [
|
186
210
|
{
|
187
|
-
"document": "",
|
211
|
+
"document": "人脸检测与属性分析成功。",
|
188
212
|
"input": "POST / HTTP/1.1\nHost: iai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectFaceAttributes\n<公共请求参数>\n\n{\n \"Url\": \"http://test.image.myqcloud.com/testA.jpg\",\n \"FaceAttributesType\": \"eye\"\n}",
|
189
213
|
"output": "{\n \"Response\": {\n \"ImageWidth\": 550,\n \"ImageHeight\": 366,\n \"FaceModelVersion\": \"3.0\",\n \"FaceDetailInfos\": [\n {\n \"FaceRect\": {\n \"X\": 375,\n \"Y\": 37,\n \"Width\": 63,\n \"Height\": 82\n },\n \"FaceDetailAttributesInfo\": {\n \"Age\": 0,\n \"Beauty\": 0,\n \"Emotion\": {\n \"Type\": 0,\n \"Probability\": 0\n },\n \"Eye\": {\n \"Glass\": {\n \"Type\": 0,\n \"Probability\": 0.99936753511429\n },\n \"EyeOpen\": {\n \"Type\": 0,\n \"Probability\": 0.99949336051941\n },\n \"EyelidType\": {\n \"Type\": 1,\n \"Probability\": 0.75467920303345\n },\n \"EyeSize\": {\n \"Type\": 2,\n \"Probability\": 0.59152442216873\n }\n },\n \"Eyebrow\": {\n \"EyebrowDensity\": {\n \"Type\": 0,\n \"Probability\": 0\n },\n \"EyebrowCurve\": {\n \"Type\": 0,\n \"Probability\": 0\n },\n \"EyebrowLength\": {\n \"Type\": 0,\n \"Probability\": 0\n }\n },\n \"Gender\": {\n \"Type\": 0,\n \"Probability\": 0\n },\n \"Hair\": {\n \"Length\": {\n \"Type\": 0,\n \"Probability\": 0\n },\n \"Bang\": {\n \"Type\": 0,\n \"Probability\": 0\n },\n \"Color\": {\n \"Type\": 0,\n \"Probability\": 0\n }\n },\n \"Hat\": {\n \"Style\": {\n \"Type\": 0,\n \"Probability\": 0\n },\n \"Color\": {\n \"Type\": 0,\n \"Probability\": 0\n }\n },\n \"HeadPose\": {\n \"Pitch\": 0,\n \"Yaw\": 0,\n \"Roll\": 0\n },\n \"Mask\": {\n \"Type\": 0,\n \"Probability\": 0\n },\n \"Mouth\": {\n \"MouthOpen\": {\n \"Type\": 0,\n \"Probability\": 0\n }\n },\n \"Moustache\": {\n \"Type\": 0,\n \"Probability\": 0\n },\n \"Nose\": {\n \"Type\": 2,\n \"Probability\": 0.75233882665634\n },\n \"Shape\": {\n \"Type\": 0,\n \"Probability\": 0\n },\n \"Skin\": {\n \"Type\": 0,\n \"Probability\": 0\n },\n \"Smile\": 0\n }\n }\n ],\n \"RequestId\": \"b2c154b9-4620-4d37-8fd1-f6af3748f998\"\n }\n}",
|
190
|
-
"title": "
|
214
|
+
"title": "人脸检测与属性分析成功示例"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
"document": "人脸检测与属性分析失败。",
|
218
|
+
"input": "POST / HTTP/1.1\nHost: iai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectFaceAttributes\n<公共请求参数>\n\n{\n \"Url\": \"http://test.image.myqcloud.com/testB.jpg\",\n \"FaceAttributesType\": \"eye\"\n}",
|
219
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ab0ebc1d-7a0e-4327-808b-3d24322a97dd\",\n \"Error\": {\n \"Code\": \"InvalidParameterValue.NoFaceInPhoto\",\n \"Message\": \"图片中没有人脸。\"\n }\n }\n}",
|
220
|
+
"title": "人脸检测与属性分析失败示例"
|
191
221
|
}
|
192
222
|
],
|
193
223
|
"DetectLiveFace": [
|
@@ -200,7 +230,7 @@
|
|
200
230
|
],
|
201
231
|
"DetectLiveFaceAccurate": [
|
202
232
|
{
|
203
|
-
"document": "",
|
233
|
+
"document": "判断是否是翻拍图片。",
|
204
234
|
"input": "POST / HTTP/1.1\nHost: iai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DetectLiveFaceAccurate\n<公共请求参数>\n\n{\n \"Url\": \"http://test.image.myqcloud.com/testA.jpg\"\n}",
|
205
235
|
"output": "{\n \"Response\": {\n \"Score\": 99,\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"048a5eb3-f7a9-4c1f-a982-00e90b6b892c\"\n }\n}",
|
206
236
|
"title": "人脸静态活体检测(高精度版)接口"
|
@@ -208,9 +238,9 @@
|
|
208
238
|
],
|
209
239
|
"GetGroupInfo": [
|
210
240
|
{
|
211
|
-
"document": "",
|
241
|
+
"document": "获取人员库信息。",
|
212
242
|
"input": "https://iai.tencentcloudapi.com/?Action=GetGroupInfo\r\n&GroupId=aaa\r\n&<公共请求参数>",
|
213
|
-
"output": "{\n \"Response\": {\n \"GroupName\": \"
|
243
|
+
"output": "{\n \"Response\": {\n \"GroupName\": \"人员库\",\n \"GroupId\": \"31\",\n \"GroupExDescriptions\": [\n \"年龄\"\n ],\n \"Tag\": \"不含实习生\",\n \"FaceModelVersion\": \"3.0\",\n \"CreationTimestamp\": 1559530931613,\n \"RequestId\": \"6faa05d0-287b-464e-8755-cf3e8d0c703d\"\n }\n}",
|
214
244
|
"title": "获取人员库信息"
|
215
245
|
}
|
216
246
|
],
|
@@ -230,13 +260,13 @@
|
|
230
260
|
],
|
231
261
|
"GetPersonBaseInfo": [
|
232
262
|
{
|
233
|
-
"document": "人员ID
|
263
|
+
"document": "人员ID不存在。",
|
234
264
|
"input": "https://iai.tencentcloudapi.com/?Action=GetPersonBaseInfo\r\n&PersonId=1002\r\n&<公共请求参数>",
|
235
265
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.PersonIdNotExist\",\n \"Message\": \"人员ID不存在。\"\n },\n \"RequestId\": \"98b4a0bc-802b-4764-9701-bc0c6c544395\"\n }\n}",
|
236
266
|
"title": "错误示例"
|
237
267
|
},
|
238
268
|
{
|
239
|
-
"document": "
|
269
|
+
"document": "获取指定人员的信息,包括姓名、性别、人脸等。",
|
240
270
|
"input": "https://iai.tencentcloudapi.com/?Action=GetPersonBaseInfo\r\n&PersonId=1001\r\n&<公共请求参数>",
|
241
271
|
"output": "{\n \"Response\": {\n \"PersonName\": \"EvanLiao\",\n \"Gender\": 1,\n \"FaceIds\": [\n \"2873640802022644880\",\n \"2875186538564559728\"\n ],\n \"RequestId\": \"9568a077-0710-40d2-9d6a-b9483d3f2051\"\n }\n}",
|
242
272
|
"title": "获取人员基础信息接口"
|
@@ -244,19 +274,19 @@
|
|
244
274
|
],
|
245
275
|
"GetPersonGroupInfo": [
|
246
276
|
{
|
247
|
-
"document": "人员ID
|
277
|
+
"document": "人员ID不存在。",
|
248
278
|
"input": "https://iai.tencentcloudapi.com/?Action=GetPersonGroupInfo\r\n&PersonId=1002\r\n&Offset=0\r\n&Limit=10\r\n&<公共请求参数>",
|
249
279
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.PersonIdNotExist\",\n \"Message\": \"人员ID不存在。\"\n },\n \"RequestId\": \"98330f25-eb2e-432a-a30c-3830774210c1\"\n }\n}",
|
250
280
|
"title": "错误示例"
|
251
281
|
},
|
252
282
|
{
|
253
|
-
"document": "",
|
283
|
+
"document": "获取人员归属信息。",
|
254
284
|
"input": "https://iai.tencentcloudapi.com/?Action=GetPersonGroupInfo\r\n&PersonId=2001\r\n&Offset=0\r\n&Limit=10\r\n&<公共请求参数>",
|
255
285
|
"output": "{\n \"Response\": {\n \"GroupNum\": \"1\",\n \"PersonGroupInfos\": [\n {\n \"GroupId\": \"ZhuYuanDormitoryNo1\",\n \"PersonExDescriptions\": [\n \"计算机学院\",\n \"软件工程\",\n \"15级\",\n \"3150108080\"\n ]\n }\n ],\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"671f0a1d-2b35-47c4-b9d1-b18053f71a04\"\n }\n}",
|
256
286
|
"title": "获取人员归属信息接口"
|
257
287
|
},
|
258
288
|
{
|
259
|
-
"document": "",
|
289
|
+
"document": "获取人员归属信息。",
|
260
290
|
"input": "https://iai.tencentcloudapi.com/?Action=GetPersonGroupInfo\r\n&PersonId=1001\r\n&Offset=0\r\n&Limit=10\r\n&<公共请求参数>",
|
261
291
|
"output": "{\n \"Response\": {\n \"GroupNum\": \"1\",\n \"PersonGroupInfos\": [\n {\n \"GroupId\": \"TencentShenZhenEmployee\",\n \"PersonExDescriptions\": [\n \"云与智慧产业事业群\",\n \"大数据及人工智能产品中心\",\n \"人脸识别产品组\"\n ]\n }\n ],\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"b7a505ad-4a85-42da-97b3-886c7999fb76\"\n }\n}",
|
262
292
|
"title": "获取人员归属信息接口-2"
|
@@ -264,19 +294,19 @@
|
|
264
294
|
],
|
265
295
|
"GetPersonList": [
|
266
296
|
{
|
267
|
-
"document": "",
|
297
|
+
"document": "输入不存在的人员库ID。",
|
268
298
|
"input": "https://iai.tencentcloudapi.com/?Action=GetPersonList\r\n&GroupId=ZhuYuanDormitory\r\n&Offset=0\r\n&Limit=10\r\n&<公共请求参数>",
|
269
299
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.GroupIdNotExist\",\n \"Message\": \"人员库ID不存在。\"\n },\n \"RequestId\": \"b7c0cd81-d621-465f-8fd6-86a6b49e67be\"\n }\n}",
|
270
300
|
"title": "错误示例"
|
271
301
|
},
|
272
302
|
{
|
273
|
-
"document": "",
|
303
|
+
"document": "获取人员列表。",
|
274
304
|
"input": "https://iai.tencentcloudapi.com/?Action=GetPersonList\r\n&GroupId=ZhuYuanDormitoryNo1\r\n&Offset=0\r\n&Limit=10\r\n&<公共请求参数>",
|
275
305
|
"output": "{\n \"Response\": {\n \"PersonInfos\": [\n {\n \"PersonName\": \"Junly\",\n \"PersonId\": \"2001\",\n \"Gender\": 1,\n \"PersonExDescriptions\": [\n \"计算机学院\",\n \"软件工程\",\n \"15级\",\n \"3150108080\"\n ],\n \"FaceIds\": [\n \"2877244861637985315\"\n ],\n \"CreationTimestamp\": 1594642823572\n }\n ],\n \"PersonNum\": 1,\n \"FaceNum\": 1,\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"337d1bb5-3f88-4681-9291-5194f478f0d1\"\n }\n}",
|
276
306
|
"title": "获取人员列表接口"
|
277
307
|
},
|
278
308
|
{
|
279
|
-
"document": "",
|
309
|
+
"document": "获取人员列表。",
|
280
310
|
"input": "https://iai.tencentcloudapi.com/?Action=GetPersonList\r\n&GroupId=TencentShenZhenEmployee\r\n&Offset=0\r\n&Limit=10\r\n&<公共请求参数>",
|
281
311
|
"output": "{\n \"Response\": {\n \"PersonInfos\": [\n {\n \"PersonName\": \"evanliao\",\n \"PersonId\": \"1001\",\n \"Gender\": 1,\n \"PersonExDescriptions\": [\n \"云与智慧产业事业群\",\n \"大数据及人工智能产品中心\",\n \"人脸识别产品组\"\n ],\n \"FaceIds\": [\n \"2877242150180891493\"\n ],\n \"CreationTimestamp\": 1594642823572\n }\n ],\n \"PersonNum\": 1,\n \"FaceNum\": 1,\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"aa292f16-27d9-423b-9048-cdd43f6e4156\"\n }\n}",
|
282
312
|
"title": "获取人员列表接口-2"
|
@@ -284,13 +314,13 @@
|
|
284
314
|
],
|
285
315
|
"GetPersonListNum": [
|
286
316
|
{
|
287
|
-
"document": "人员库ID
|
317
|
+
"document": "人员库ID不存在。",
|
288
318
|
"input": "https://iai.tencentcloudapi.com/?Action=GetPersonListNum\n&GroupId=Tencent\n&<公共请求参数>",
|
289
319
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.GroupIdNotExist\",\n \"Message\": \"人员库ID不存在。\"\n },\n \"RequestId\": \"2865a458-4db1-46bd-ae52-b7507c9f4e62\"\n }\n}",
|
290
320
|
"title": "错误示例"
|
291
321
|
},
|
292
322
|
{
|
293
|
-
"document": "
|
323
|
+
"document": "获取指定人员库中人员数量。",
|
294
324
|
"input": "https://iai.tencentcloudapi.com/?Action=GetPersonListNum\n&GroupId=TencentShenZhenEmployee\n&<公共请求参数>",
|
295
325
|
"output": "{\n \"Response\": {\n \"PersonNum\": 2,\n \"FaceNum\": 2,\n \"RequestId\": \"18fb1e31-0d33-4371-9f41-b1fd59e0c781\"\n }\n}",
|
296
326
|
"title": "获取人员列表长度接口"
|
@@ -326,7 +356,7 @@
|
|
326
356
|
],
|
327
357
|
"ModifyGroup": [
|
328
358
|
{
|
329
|
-
"document": "",
|
359
|
+
"document": "同一人员库中自定义描述字段不可重复。",
|
330
360
|
"input": "https://iai.tencentcloudapi.com/?Action=ModifyGroup\r\n&GroupId=TencentShenZhenEmployee\r\n&GroupExDescriptionInfos.0.GroupExDescriptionIndex=0\r\n&GroupExDescriptionInfos.0.GroupExDescription=部门\r\n&<公共请求参数>",
|
331
361
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.DuplicatedGroupDescription\",\n \"Message\": \"同一人员库中自定义描述字段不可重复。\"\n },\n \"RequestId\": \"4b483679-3f08-4a7c-b827-4a6332dc030f\"\n }\n}",
|
332
362
|
"title": "错误示例"
|
@@ -335,30 +365,30 @@
|
|
335
365
|
"document": "人员库名称不可重复",
|
336
366
|
"input": "https://iai.tencentcloudapi.com/?Action=ModifyGroup\r\n&GroupId=TencentShenZhenEmployee\r\n&GroupName=某某大学竹园1号宿舍楼\r\n&<公共请求参数>",
|
337
367
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.GroupNameAlreadyExist\",\n \"Message\": \"人员库名称已经存在。人员库名称不可重复。\"\n },\n \"RequestId\": \"2dcce170-30cf-4078-9b3c-309362fbad21\"\n }\n}",
|
338
|
-
"title": "
|
368
|
+
"title": "错误示例-人员库名称不可重复"
|
339
369
|
},
|
340
370
|
{
|
341
|
-
"document": "",
|
371
|
+
"document": "修改人员库。",
|
342
372
|
"input": "https://iai.tencentcloudapi.com/?Action=ModifyGroup\r\n&GroupId=ZhuYuanDormitoryNo1\r\n&GroupName=某某大学竹园1号宿舍楼\r\n&Tag=研究生入住\r\n&GroupExDescriptionInfos.0.GroupExDescriptionIndex=0\r\n&GroupExDescriptionInfos.0.GroupExDescription=学院\r\n&<公共请求参数>",
|
343
373
|
"output": "{\n \"Response\": {\n \"RequestId\": \"da051f16-0400-49d4-9832-2cfd3b51866f\"\n }\n}",
|
344
|
-
"title": "
|
374
|
+
"title": "修改人员库成功示例"
|
345
375
|
},
|
346
376
|
{
|
347
|
-
"document": "
|
377
|
+
"document": "修改人员库名称、备注、自定义描述字段名称。",
|
348
378
|
"input": "https://iai.tencentcloudapi.com/?Action=ModifyGroup\r\n&GroupId=TencentShenZhenEmployee\r\n&GroupName=腾讯深圳在职人员库\r\n&Tag=包含实习生\r\n&GroupExDescriptionInfos.0.GroupExDescriptionIndex=1\r\n&GroupExDescriptionInfos.0.GroupExDescription=部门\r\n&GroupExDescriptionInfos.1.GroupExDescriptionIndex=2\r\n&GroupExDescriptionInfos.1.GroupExDescription=项目组\r\n&<公共请求参数>",
|
349
379
|
"output": "{\n \"Response\": {\n \"RequestId\": \"98381738-509f-4749-8a66-dbf54247333d\"\n }\n}",
|
350
|
-
"title": "
|
380
|
+
"title": "修改人员库名称、备注、自定义描述字段名称示例"
|
351
381
|
}
|
352
382
|
],
|
353
383
|
"ModifyPersonBaseInfo": [
|
354
384
|
{
|
355
|
-
"document": "",
|
385
|
+
"document": "修改人员基础信息。",
|
356
386
|
"input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonBaseInfo\n&PersonId=2001\n&PersonName=JunlyWang\n&Gender=1\n&<公共请求参数>",
|
357
387
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6e2a0fb7-7c9e-45c7-abf1-338457d1def7\"\n }\n}",
|
358
388
|
"title": "修改人员基础信息接口"
|
359
389
|
},
|
360
390
|
{
|
361
|
-
"document": "",
|
391
|
+
"document": "修改人员基础信息。",
|
362
392
|
"input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonBaseInfo\n&PersonId=1001\n&PersonName=EvanLiao\n&Gender=1\n&<公共请求参数>",
|
363
393
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6e2a0fb7-7c9e-45c7-abf1-338457d1def7\"\n }\n}",
|
364
394
|
"title": "修改人员基础信息接口-2"
|
@@ -366,19 +396,19 @@
|
|
366
396
|
],
|
367
397
|
"ModifyPersonGroupInfo": [
|
368
398
|
{
|
369
|
-
"document": "
|
370
|
-
"input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonGroupInfo\
|
371
|
-
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"
|
399
|
+
"document": "人员库ID不存在。",
|
400
|
+
"input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonGroupInfo\n&GroupId=TencentShenZhenEmployee\n&PersonId=1001\n&PersonExDescriptionInfos.0.PersonExDescriptionIndex=1\n&PersonExDescriptionInfos.0.PersonExDescription=人工智能实验室\n&<公共请求参数>",
|
401
|
+
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.GroupIdNotExist\",\n \"Message\": \"人员库ID不存在。\"\n },\n \"RequestId\": \"f944657d-6260-4a2e-a4d8-9c1845f39e56\"\n }\n}",
|
372
402
|
"title": "错误示例"
|
373
403
|
},
|
374
404
|
{
|
375
|
-
"document": "",
|
405
|
+
"document": "修改人员描述信息。",
|
376
406
|
"input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonGroupInfo\r\n&GroupId=ZhuYuanDormitoryNo1\r\n&PersonId=2001\r\n&PersonExDescriptionInfos.0.PersonExDescriptionIndex=3\r\n&PersonExDescriptionInfos.0.PersonExDescription=3150108080\r\n&<公共请求参数>",
|
377
407
|
"output": "{\n \"Response\": {\n \"RequestId\": \"77e11a2d-0fc0-4fba-ab25-016e998221c3\"\n }\n}",
|
378
408
|
"title": "修改人员描述信息接口"
|
379
409
|
},
|
380
410
|
{
|
381
|
-
"document": "",
|
411
|
+
"document": "修改人员描述信息。",
|
382
412
|
"input": "https://iai.tencentcloudapi.com/?Action=ModifyPersonGroupInfo\r\n&GroupId=TencentShenZhenEmployee\r\n&PersonId=1001\r\n&PersonExDescriptionInfos.0.PersonExDescriptionIndex=1\r\n&PersonExDescriptionInfos.0.PersonExDescription=大数据及人工智能产品中心\r\n&<公共请求参数>",
|
383
413
|
"output": "{\n \"Response\": {\n \"RequestId\": \"77e11a2d-0fc0-4fba-ab25-016e998221c3\"\n }\n}",
|
384
414
|
"title": "修改人员描述信息接口-2"
|
@@ -394,19 +424,19 @@
|
|
394
424
|
],
|
395
425
|
"SearchFaces": [
|
396
426
|
{
|
397
|
-
"document": "MaxFaceNum不能大于10",
|
427
|
+
"document": "MaxFaceNum不能大于10。",
|
398
428
|
"input": "https://iai.tencentcloudapi.com/?Action=SearchFaces\n&Url=http://test.image.myqcloud.com/testA.jpg\n&MaxFaceNum=11\n&GroupIds.0=TencentShenZhenEmployee\n&<公共请求参数>",
|
399
429
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.SearchFacesExceed\",\n \"Message\": \"检索人脸个数超过限制。\"\n },\n \"RequestId\": \"f04ba2f3-532c-4207-9caa-6e818ded7fb9\"\n }\n}",
|
400
430
|
"title": "错误示例"
|
401
431
|
},
|
402
432
|
{
|
403
|
-
"document": "图片URL
|
433
|
+
"document": "图片URL错误。",
|
404
434
|
"input": "https://iai.tencentcloudapi.com/?Action=SearchFaces\n&Url=http://test.image.myqcloud.com/testA\n&GroupIds.0=TencentShenZhenEmployee\n&<公共请求参数>",
|
405
435
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.ImageDownloadError\",\n \"Message\": \"图片下载错误。\"\n },\n \"RequestId\": \"527ecffe-4c6a-47c9-8217-4dd2e3f018da\"\n }\n}",
|
406
436
|
"title": "错误示例-2"
|
407
437
|
},
|
408
438
|
{
|
409
|
-
"document": "",
|
439
|
+
"document": "人脸搜索。",
|
410
440
|
"input": "https://iai.tencentcloudapi.com/?Action=SearchFaces\n&Url=http://test.image.myqcloud.com/testA.jpg\n&MaxFaceNum=1\n&MinFaceSize=40\n&MaxPersonNum=5\n&GroupIds.0=TencentShenZhenEmployee\n&<公共请求参数>",
|
411
441
|
"output": "{\n \"Response\": {\n \"Results\": [\n {\n \"RetCode\": 0,\n \"Candidates\": [\n {\n \"PersonId\": \"1001\",\n \"FaceId\": \"2875093635484912302\",\n \"PersonName\": \"Jerry\",\n \"Gender\": 0,\n \"Score\": 100,\n \"PersonGroupInfos\": [\n {\n \"GroupId\": \"abc\",\n \"PersonExDescriptions\": [\n \"description1\",\n \"description2\"\n ]\n }\n ]\n }\n ],\n \"FaceRect\": {\n \"X\": 370,\n \"Y\": 46,\n \"Width\": 75,\n \"Height\": 75\n }\n }\n ],\n \"FaceNum\": 1,\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"57b42b73-b978-45b9-8095-8f50e9642d35\"\n }\n}",
|
412
442
|
"title": "人脸搜索接口"
|
@@ -414,21 +444,21 @@
|
|
414
444
|
],
|
415
445
|
"SearchFacesReturnsByGroup": [
|
416
446
|
{
|
417
|
-
"document": "",
|
447
|
+
"document": "输入图片,在人员库中识别出最相似的人员。",
|
418
448
|
"input": "POST / HTTP/1.1\nHost: iai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchFacesReturnsByGroup\n<公共请求参数>\n\n{\n \"Url\": \"http://test.image.myqcloud.com/testA.jpg\",\n \"MaxPersonNumPerGroup\": \"5\",\n \"GroupIds\": [\n \"TencentShenZhenEmployee\"\n ],\n \"MaxFaceNum\": \"1\",\n \"MinFaceSize\": \"40\"\n}",
|
419
|
-
"output": "{\n \"Response\": {\n \"FaceNum\": 1,\n \"ResultsReturnsByGroup\": [\n {\n \"GroupCandidates\": [\n {\n \"Candidates\": [\n {\n \"PersonGroupInfos\": [\n {\n \"GroupId\": \"
|
449
|
+
"output": "{\n \"Response\": {\n \"FaceNum\": 1,\n \"ResultsReturnsByGroup\": [\n {\n \"GroupCandidates\": [\n {\n \"Candidates\": [\n {\n \"PersonGroupInfos\": [\n {\n \"GroupId\": \"1002\",\n \"PersonExDescriptions\": [\n \"年龄\",\n \"性别\"\n ]\n }\n ],\n \"PersonId\": \"1002\",\n \"Gender\": 0,\n \"PersonName\": \"韦小宝\",\n \"Score\": 100,\n \"FaceId\": \"2875093635484912302\"\n }\n ],\n \"GroupId\": \"Group1\"\n }\n ],\n \"FaceRect\": {\n \"Y\": 46,\n \"X\": 370,\n \"Height\": 1,\n \"Width\": 1\n },\n \"RetCode\": 0\n }\n ],\n \"RequestId\": \"57b42b73-b978-45b9-8095-8f50e9642d35\",\n \"FaceModelVersion\": \"3.0\"\n }\n}",
|
420
450
|
"title": "人脸搜索分库返回接口"
|
421
451
|
}
|
422
452
|
],
|
423
453
|
"SearchPersons": [
|
424
454
|
{
|
425
|
-
"document": "图片URL
|
455
|
+
"document": "图片URL错误。",
|
426
456
|
"input": "https://iai.tencentcloudapi.com/?Action=SearchPersons\n&Url=http://test.image.myqcloud.com/testA\n&GroupIds.0=TencentShenZhenEmployee\n&<公共请求参数>",
|
427
457
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.ImageDownloadError\",\n \"Message\": \"图片下载错误。\"\n },\n \"RequestId\": \"527ecffe-4c6a-47c9-8217-4dd2e3f018da\"\n }\n}",
|
428
458
|
"title": "错误示例"
|
429
459
|
},
|
430
460
|
{
|
431
|
-
"document": "",
|
461
|
+
"document": "输入人脸图片,在人员库中识别出最相似的 TopK 人员。",
|
432
462
|
"input": "https://iai.tencentcloudapi.com/?Action=SearchPersons\n&Url=http://test.image.myqcloud.com/testA.jpg\n&MaxFaceNum=2\n&MinFaceSize=40\n&MaxPersonNum=3\n&GroupIds.0=TencentShenZhenEmployee\n&<公共请求参数>",
|
433
463
|
"output": "{\n \"Response\": {\n \"Results\": [\n {\n \"RetCode\": 0,\n \"Candidates\": [\n {\n \"PersonId\": \"person1\",\n \"FaceId\": \"\",\n \"Score\": 100,\n \"PersonName\": null,\n \"Gender\": null,\n \"PersonGroupInfos\": null\n },\n {\n \"PersonId\": \"person2\",\n \"FaceId\": \"\",\n \"Score\": 60,\n \"PersonName\": null,\n \"Gender\": null,\n \"PersonGroupInfos\": null\n },\n {\n \"PersonId\": \"person3\",\n \"FaceId\": \"\",\n \"Score\": 50,\n \"PersonName\": null,\n \"Gender\": null,\n \"PersonGroupInfos\": null\n }\n ],\n \"FaceRect\": {\n \"X\": 139,\n \"Y\": 59,\n \"Width\": 124,\n \"Height\": 162\n }\n },\n {\n \"RetCode\": 0,\n \"Candidates\": [\n {\n \"PersonId\": \"person2\",\n \"FaceId\": \"\",\n \"Score\": 100,\n \"PersonName\": null,\n \"Gender\": null,\n \"PersonGroupInfos\": null\n },\n {\n \"PersonId\": \"person1\",\n \"FaceId\": \"\",\n \"Score\": 60,\n \"PersonName\": null,\n \"Gender\": null,\n \"PersonGroupInfos\": null\n },\n {\n \"PersonId\": \"person3\",\n \"FaceId\": \"\",\n \"Score\": 20,\n \"PersonName\": null,\n \"Gender\": null,\n \"PersonGroupInfos\": null\n }\n ],\n \"FaceRect\": {\n \"X\": 328,\n \"Y\": 70,\n \"Width\": 119,\n \"Height\": 162\n }\n }\n ],\n \"PersonNum\": 5,\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"c4608852-ff60-4a01-8dc3-367f6046baaf\"\n }\n}",
|
434
464
|
"title": "人员搜索接口"
|
@@ -436,13 +466,13 @@
|
|
436
466
|
],
|
437
467
|
"SearchPersonsReturnsByGroup": [
|
438
468
|
{
|
439
|
-
"document": "",
|
469
|
+
"document": "图片下载错误。",
|
440
470
|
"input": "https://iai.tencentcloudapi.com/?Action=SearchPersonsReturnsByGroup\r\n&Url=http://test.image.myqcloud.com/testB.jpg\r\n&MaxFaceNum=1\r\n&MinFaceSize=40\r\n&MaxPersonNumPerGroup=5\r\n&GroupIds.0=TencentShenZhenEmployee\r\n&<公共请求参数>",
|
441
471
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.ImageDownloadError\",\n \"Message\": \"图片下载错误。\"\n },\n \"RequestId\": \"527ecffe-4c6a-47c9-8217-4dd2e3f018da\"\n }\n}",
|
442
472
|
"title": "错误示例"
|
443
473
|
},
|
444
474
|
{
|
445
|
-
"document": "",
|
475
|
+
"document": "输入人脸图片,在一个或多个人员库中识别出最相似的 TopK 人员。",
|
446
476
|
"input": "https://iai.tencentcloudapi.com/?Action=SearchPersonsReturnsByGroup\r\n&Url=http://test.image.myqcloud.com/testA.jpg\r\n&MaxFaceNum=1\r\n&MinFaceSize=40\r\n&MaxPersonNumPerGroup=5\r\n&GroupIds.0=TencentShenZhenEmployee\r\n&<公共请求参数>",
|
447
477
|
"output": "{\n \"Response\": {\n \"ResultsReturnsByGroup\": [\n {\n \"RetCode\": 0,\n \"FaceRect\": {\n \"X\": 375,\n \"Y\": 37,\n \"Width\": 63,\n \"Height\": 82\n },\n \"GroupCandidates\": [\n {\n \"GroupId\": \"TencentShenZhenEmployee\",\n \"Candidates\": [\n {\n \"PersonId\": \"testtest3\",\n \"FaceId\": \"\",\n \"Score\": 100,\n \"PersonName\": null,\n \"Gender\": null,\n \"PersonGroupInfos\": null\n }\n ]\n }\n ]\n }\n ],\n \"PersonNum\": 1,\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"c8a06ec5-ecb4-4dd7-a8c8-ce5e675495c2\"\n }\n}",
|
448
478
|
"title": "人员搜索分库返回接口"
|
@@ -464,16 +494,16 @@
|
|
464
494
|
],
|
465
495
|
"VerifyFace": [
|
466
496
|
{
|
467
|
-
"document": "",
|
468
|
-
"input": "POST / HTTP/1.1\nHost: iai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyFace\n<公共请求参数>\n\n{\n \"Url\": \"http://test.image.myqcloud.com/testA.jpg\",\n \"PersonId\": \"
|
497
|
+
"document": "判断图片中的人和 PersonId 对应的人是否为同一人。",
|
498
|
+
"input": "POST / HTTP/1.1\nHost: iai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VerifyFace\n<公共请求参数>\n\n{\n \"Url\": \"http://test.image.myqcloud.com/testA.jpg\",\n \"PersonId\": \"1001\"\n}",
|
469
499
|
"output": "{\n \"Response\": {\n \"Score\": 100,\n \"IsMatch\": true,\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"a8eb4545-a154-4f86-9510-57a8be9cae0c\"\n }\n}",
|
470
500
|
"title": "人脸验证接口"
|
471
501
|
}
|
472
502
|
],
|
473
503
|
"VerifyPerson": [
|
474
504
|
{
|
475
|
-
"document": "",
|
476
|
-
"input": "https://iai.tencentcloudapi.com/?Action=VerifyPerson\n&Url=http://test.image.myqcloud.com/testA.jpg\n&PersonId=
|
505
|
+
"document": "判断图片中的人和 PersonId 对应的人是否为同一人。",
|
506
|
+
"input": "https://iai.tencentcloudapi.com/?Action=VerifyPerson\n&Url=http://test.image.myqcloud.com/testA.jpg\n&PersonId=1001\n&<公共请求参数>",
|
477
507
|
"output": "{\n \"Response\": {\n \"Score\": 100,\n \"IsMatch\": true,\n \"FaceModelVersion\": \"3.0\",\n \"RequestId\": \"a8eb4545-a154-4f86-9510-57a8be9cae0c\"\n }\n}",
|
478
508
|
"title": "人脸验证接口"
|
479
509
|
}
|