tccli 3.0.1250.1__py2.py3-none-any.whl → 3.0.1252.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/services/aiart/v20221229/api.json +13 -4
- tccli/services/bi/v20220105/api.json +6 -6
- tccli/services/cat/v20180409/api.json +25 -24
- tccli/services/cat/v20180409/examples.json +17 -17
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +89 -0
- tccli/services/ccc/v20200210/examples.json +8 -0
- tccli/services/cdb/v20170320/api.json +12 -0
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +233 -193
- tccli/services/cdwdoris/v20211228/examples.json +6 -6
- tccli/services/cloudaudit/v20190319/api.json +2 -2
- tccli/services/cloudaudit/v20190319/examples.json +2 -2
- tccli/services/config/v20220802/api.json +20 -9
- tccli/services/config/v20220802/examples.json +1 -1
- tccli/services/dc/v20180410/api.json +13 -11
- tccli/services/dc/v20180410/examples.json +8 -2
- tccli/services/emr/v20190103/api.json +26 -21
- tccli/services/emr/v20190103/examples.json +2 -2
- tccli/services/ess/v20201111/api.json +474 -467
- tccli/services/ess/v20201111/examples.json +10 -10
- tccli/services/essbasic/v20210526/api.json +405 -408
- tccli/services/essbasic/v20210526/examples.json +12 -12
- tccli/services/hunyuan/v20230901/api.json +22 -0
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/monitor/v20180724/api.json +68 -50
- tccli/services/monitor/v20180724/examples.json +22 -22
- tccli/services/mps/mps_client.py +379 -61
- tccli/services/mps/v20190612/api.json +495 -13
- tccli/services/mps/v20190612/examples.json +48 -0
- tccli/services/nlp/v20190408/api.json +1 -1
- tccli/services/ocr/v20181119/api.json +7 -7
- tccli/services/ocr/v20181119/examples.json +6 -6
- tccli/services/pts/v20210728/api.json +589 -497
- tccli/services/pts/v20210728/examples.json +17 -17
- tccli/services/rum/v20210622/api.json +79 -19
- tccli/services/ssl/v20191205/api.json +3 -3
- tccli/services/ssl/v20191205/examples.json +1 -1
- tccli/services/teo/v20220901/api.json +10 -10
- tccli/services/trtc/v20190722/api.json +11 -0
- tccli/services/tse/v20201207/api.json +10 -0
- tccli/services/vpc/v20170312/api.json +1 -1
- tccli/services/wedata/v20210820/api.json +382 -96
- tccli/services/wedata/v20210820/examples.json +1 -1
- {tccli-3.0.1250.1.dist-info → tccli-3.0.1252.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1250.1.dist-info → tccli-3.0.1252.1.dist-info}/RECORD +50 -50
- {tccli-3.0.1250.1.dist-info → tccli-3.0.1252.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1250.1.dist-info → tccli-3.0.1252.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1250.1.dist-info → tccli-3.0.1252.1.dist-info}/license_files/LICENSE +0 -0
@@ -200,6 +200,14 @@
|
|
200
200
|
"title": "请求示例"
|
201
201
|
}
|
202
202
|
],
|
203
|
+
"CreateStreamLinkSecurityGroup": [
|
204
|
+
{
|
205
|
+
"document": "创建安全组。",
|
206
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateStreamLinkSecurityGroup\n<公共请求参数>\n\n{\n \"Name\": \"abc\",\n \"Whitelist\": [\n \"abc\"\n ]\n}",
|
207
|
+
"output": "{\n \"Response\": {\n \"Id\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
208
|
+
"title": "请求示例"
|
209
|
+
}
|
210
|
+
],
|
203
211
|
"CreateTranscodeTemplate": [
|
204
212
|
{
|
205
213
|
"document": "",
|
@@ -392,6 +400,14 @@
|
|
392
400
|
"title": "请求示例"
|
393
401
|
}
|
394
402
|
],
|
403
|
+
"DeleteStreamLinkSecurityGroup": [
|
404
|
+
{
|
405
|
+
"document": "删除安全组。",
|
406
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteStreamLinkSecurityGroup\n<公共请求参数>\n\n{\n \"Id\": \"abc\"\n}",
|
407
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
408
|
+
"title": "请求示例"
|
409
|
+
}
|
410
|
+
],
|
395
411
|
"DeleteTranscodeTemplate": [
|
396
412
|
{
|
397
413
|
"document": "",
|
@@ -488,6 +504,14 @@
|
|
488
504
|
"title": "获取模板 ID 为 30 的智能审核模板"
|
489
505
|
}
|
490
506
|
],
|
507
|
+
"DescribeGroupAttachFlowsById": [
|
508
|
+
{
|
509
|
+
"document": "根据安全组反差关联的Flow信息。",
|
510
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGroupAttachFlowsById\n<公共请求参数>\n\n{\n \"Id\": \"abc\"\n}",
|
511
|
+
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"FlowId\": \"abc\",\n \"FlowName\": \"abc\",\n \"EventId\": \"abc\",\n \"FlowRegion\": \"abc\",\n \"OutputRegion\": \"abc\",\n \"EventName\": \"abc\",\n \"InputName\": \"abc\",\n \"OutputName\": \"abc\",\n \"InOutId\": \"abc\",\n \"InOutType\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
512
|
+
"title": "请求示例"
|
513
|
+
}
|
514
|
+
],
|
491
515
|
"DescribeImageSpriteTemplates": [
|
492
516
|
{
|
493
517
|
"document": "",
|
@@ -648,6 +672,14 @@
|
|
648
672
|
"title": "请求示例"
|
649
673
|
}
|
650
674
|
],
|
675
|
+
"DescribeStreamLinkSecurityGroups": [
|
676
|
+
{
|
677
|
+
"document": "批量查询安全组信息。",
|
678
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStreamLinkSecurityGroups\n<公共请求参数>\n\n{}",
|
679
|
+
"output": "{\n \"Response\": {\n \"Infos\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"Whitelist\": [\n \"abc\"\n ],\n \"OccupiedInputs\": [\n \"abc\"\n ],\n \"Region\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
680
|
+
"title": "请求示例"
|
681
|
+
}
|
682
|
+
],
|
651
683
|
"DescribeTaskDetail": [
|
652
684
|
{
|
653
685
|
"document": "查询任务结果",
|
@@ -746,6 +778,14 @@
|
|
746
778
|
"title": "禁用工作流"
|
747
779
|
}
|
748
780
|
],
|
781
|
+
"DisassociateSecurityGroup": [
|
782
|
+
{
|
783
|
+
"document": "批量解绑安全组下面关联的输入输出。",
|
784
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DisassociateSecurityGroup\n<公共请求参数>\n\n{\n \"Id\": \"abc\",\n \"UnattachInOutInfos\": [\n {\n \"FlowId\": \"abc\",\n \"InOutId\": \"abc\",\n \"InOutType\": \"abc\",\n \"FlowRegion\": \"abc\"\n }\n ]\n}",
|
785
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
786
|
+
"title": "请求示例"
|
787
|
+
}
|
788
|
+
],
|
749
789
|
"EditMedia": [
|
750
790
|
{
|
751
791
|
"document": "",
|
@@ -980,6 +1020,14 @@
|
|
980
1020
|
"title": "请求示例"
|
981
1021
|
}
|
982
1022
|
],
|
1023
|
+
"ModifyStreamLinkSecurityGroup": [
|
1024
|
+
{
|
1025
|
+
"document": "更新安全组。",
|
1026
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyStreamLinkSecurityGroup\n<公共请求参数>\n\n{\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"Whitelist\": [\n \"abc\"\n ]\n}",
|
1027
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
1028
|
+
"title": "请求示例"
|
1029
|
+
}
|
1030
|
+
],
|
983
1031
|
"ModifyTranscodeTemplate": [
|
984
1032
|
{
|
985
1033
|
"document": "",
|
@@ -5959,7 +5959,7 @@
|
|
5959
5959
|
{
|
5960
5960
|
"disabled": false,
|
5961
5961
|
"document": "检测到的文本信息,包括文本行内容、置信度、文本行坐标以及文本行旋转纠正后的坐标,具体内容请点击左侧链接。",
|
5962
|
-
"example": "
|
5962
|
+
"example": "无",
|
5963
5963
|
"member": "TextDetection",
|
5964
5964
|
"name": "TextDetections",
|
5965
5965
|
"output_required": true,
|
@@ -6070,7 +6070,7 @@
|
|
6070
6070
|
{
|
6071
6071
|
"disabled": false,
|
6072
6072
|
"document": "检测到的文本信息,包括文本行内容、置信度、文本行坐标以及文本行旋转纠正后的坐标,具体内容请点击左侧链接。",
|
6073
|
-
"example": "
|
6073
|
+
"example": "无",
|
6074
6074
|
"member": "TextDetection",
|
6075
6075
|
"name": "TextDetections",
|
6076
6076
|
"output_required": true,
|
@@ -6281,7 +6281,7 @@
|
|
6281
6281
|
"members": [
|
6282
6282
|
{
|
6283
6283
|
"disabled": false,
|
6284
|
-
"document": "图片的 Base64 值。\n支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。\n支持的图片大小:所下载图片经Base64编码后不超过 7M
|
6284
|
+
"document": "图片的 Base64 值。\n支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。\n支持的图片大小:所下载图片经Base64编码后不超过 7M。\n图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。",
|
6285
6285
|
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
6286
6286
|
"member": "string",
|
6287
6287
|
"name": "ImageBase64",
|
@@ -13008,7 +13008,7 @@
|
|
13008
13008
|
{
|
13009
13009
|
"disabled": false,
|
13010
13010
|
"document": "图片的 Url 地址。\n支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。\n支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。\n支持的图片像素:需介于20-10000px之间。\n图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。\n非腾讯云存储的 Url 速度和稳定性可能受一定影响。",
|
13011
|
-
"example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/
|
13011
|
+
"example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/RecognizeGeneralTextImageWarn/RecognizeGeneralTextImageWarn1.png",
|
13012
13012
|
"member": "string",
|
13013
13013
|
"name": "ImageUrl",
|
13014
13014
|
"required": false,
|
@@ -13016,8 +13016,8 @@
|
|
13016
13016
|
},
|
13017
13017
|
{
|
13018
13018
|
"disabled": false,
|
13019
|
-
"document": "图片的 Base64 值。\n支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。\n支持的图片大小:所下载图片经Base64编码后不超过 7M
|
13020
|
-
"example": "
|
13019
|
+
"document": "图片的 Base64 值。\n支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。\n支持的图片大小:所下载图片经Base64编码后不超过 7M。\n支持的图片像素:需介于20-10000px之间。\n图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。",
|
13020
|
+
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
13021
13021
|
"member": "string",
|
13022
13022
|
"name": "ImageBase64",
|
13023
13023
|
"required": false,
|
@@ -13044,7 +13044,7 @@
|
|
13044
13044
|
{
|
13045
13045
|
"disabled": false,
|
13046
13046
|
"document": "支持的模板类型\n- General 通用告警(支持所有类型告警)\n- LicensePlate 车牌告警(支持翻拍告警)",
|
13047
|
-
"example": "
|
13047
|
+
"example": "General ",
|
13048
13048
|
"member": "string",
|
13049
13049
|
"name": "Type",
|
13050
13050
|
"required": false,
|
@@ -184,7 +184,7 @@
|
|
184
184
|
{
|
185
185
|
"document": "图像整体文字的检测和识别,返回文字框位置与文字内容。 [ 前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Action=GeneralAccurateOCR)",
|
186
186
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralAccurateOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralAccurateOCR/GeneralAccurateOCR1.jpg\"\n}",
|
187
|
-
"output": "{\n \"Response\": {\n \"
|
187
|
+
"output": "{\n \"Response\": {\n \"Angle\": 359.989990234375,\n \"RequestId\": \"4021987a-5441-4160-981a-d084cd96b5ad\",\n \"TextDetections\": [\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"轻断食:正在横扫全球的瘦身革命\",\n \"ItemPolygon\": {\n \"Height\": 26,\n \"Width\": 264,\n \"X\": 446,\n \"Y\": 93\n },\n \"Polygon\": [\n {\n \"X\": 446,\n \"Y\": 93\n },\n {\n \"X\": 709,\n \"Y\": 94\n },\n {\n \"X\": 708,\n \"Y\": 118\n },\n {\n \"X\": 446,\n \"Y\": 116\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"专题报道。\",\n \"ItemPolygon\": {\n \"Height\": 30,\n \"Width\": 103,\n \"X\": 47,\n \"Y\": 198\n },\n \"Polygon\": [\n {\n \"X\": 47,\n \"Y\": 201\n },\n {\n \"X\": 148,\n \"Y\": 198\n },\n {\n \"X\": 149,\n \"Y\": 225\n },\n {\n \"X\": 48,\n \"Y\": 227\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":3}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"2009年,我写了《减肥前要做的101件事》(101Things to Do\",\n \"ItemPolygon\": {\n \"Height\": 34,\n \"Width\": 629,\n \"X\": 88,\n \"Y\": 243\n },\n \"Polygon\": [\n {\n \"X\": 88,\n \"Y\": 243\n },\n {\n \"X\": 716,\n \"Y\": 246\n },\n {\n \"X\": 716,\n \"Y\": 276\n },\n {\n \"X\": 88,\n \"Y\": 273\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":3}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"BeforeYou Diet),归纳我尝试各种流行减肥法的气馁经验,每种方\",\n \"ItemPolygon\": {\n \"Height\": 31,\n \"Width\": 675,\n \"X\": 43,\n \"Y\": 290\n },\n \"Polygon\": [\n {\n \"X\": 43,\n \"Y\": 292\n },\n {\n \"X\": 717,\n \"Y\": 290\n },\n {\n \"X\": 717,\n \"Y\": 318\n },\n {\n \"X\": 43,\n \"Y\": 320\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":3}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"法似乎都注定失败。\",\n \"ItemPolygon\": {\n \"Height\": 30,\n \"Width\": 194,\n \"X\": 44,\n \"Y\": 338\n },\n \"Polygon\": [\n {\n \"X\": 44,\n \"Y\": 340\n },\n {\n \"X\": 237,\n \"Y\": 338\n },\n {\n \"X\": 237,\n \"Y\": 365\n },\n {\n \"X\": 44,\n \"Y\": 367\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"这二十年来我接触过的减肥方法中,只有轻断食让我在瘦下来之\",\n \"ItemPolygon\": {\n \"Height\": 30,\n \"Width\": 635,\n \"X\": 87,\n \"Y\": 382\n },\n \"Polygon\": [\n {\n \"X\": 87,\n \"Y\": 384\n },\n {\n \"X\": 721,\n \"Y\": 382\n },\n {\n \"X\": 721,\n \"Y\": 409\n },\n {\n \"X\": 87,\n \"Y\": 411\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"后不反弹。至于抗衰老的健康益处,更是得来全不费工夫。\",\n \"ItemPolygon\": {\n \"Height\": 31,\n \"Width\": 582,\n \"X\": 41,\n \"Y\": 430\n },\n \"Polygon\": [\n {\n \"X\": 41,\n \"Y\": 432\n },\n {\n \"X\": 622,\n \"Y\": 430\n },\n {\n \"X\": 622,\n \"Y\": 457\n },\n {\n \"X\": 41,\n \"Y\": 460\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n }\n ]\n }\n}",
|
188
188
|
"title": "GeneralAccurateOCR调用"
|
189
189
|
}
|
190
190
|
],
|
@@ -192,7 +192,7 @@
|
|
192
192
|
{
|
193
193
|
"document": "识别多场景、任意版面下整图文字的识别 [ 前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Action=GeneralBasicOCR)",
|
194
194
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralBasicOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralBasicOCR/GeneralBasicOCR1.jpg\"\n}",
|
195
|
-
"output": "{\n \"Response\": {\n \"
|
195
|
+
"output": "{\n \"Response\": {\n \"Angle\": 359.989990234375,\n \"Language\": \"zh\",\n \"PdfPageSize\": 0,\n \"RequestId\": \"5d5fbda3-3f47-45a7-8d4b-71bd9d64ab3d\",\n \"TextDetections\": [\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"Sun\",\n \"ItemPolygon\": {\n \"Height\": 35,\n \"Width\": 74,\n \"X\": 464,\n \"Y\": 100\n },\n \"Polygon\": [\n {\n \"X\": 464,\n \"Y\": 100\n },\n {\n \"X\": 538,\n \"Y\": 100\n },\n {\n \"X\": 538,\n \"Y\": 135\n },\n {\n \"X\": 464,\n \"Y\": 135\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"1月8日\",\n \"ItemPolygon\": {\n \"Height\": 18,\n \"Width\": 52,\n \"X\": 476,\n \"Y\": 141\n },\n \"Polygon\": [\n {\n \"X\": 476,\n \"Y\": 141\n },\n {\n \"X\": 528,\n \"Y\": 141\n },\n {\n \"X\": 528,\n \"Y\": 159\n },\n {\n \"X\": 476,\n \"Y\": 159\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":3}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"八色鸫\",\n \"ItemPolygon\": {\n \"Height\": 28,\n \"Width\": 85,\n \"X\": 62,\n \"Y\": 443\n },\n \"Polygon\": [\n {\n \"X\": 62,\n \"Y\": 443\n },\n {\n \"X\": 147,\n \"Y\": 442\n },\n {\n \"X\": 147,\n \"Y\": 470\n },\n {\n \"X\": 63,\n \"Y\": 471\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":4}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"Pitta nympha\",\n \"ItemPolygon\": {\n \"Height\": 17,\n \"Width\": 96,\n \"X\": 61,\n \"Y\": 482\n },\n \"Polygon\": [\n {\n \"X\": 61,\n \"Y\": 482\n },\n {\n \"X\": 157,\n \"Y\": 483\n },\n {\n \"X\": 157,\n \"Y\": 500\n },\n {\n \"X\": 61,\n \"Y\": 499\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":5}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"八色鸫雌鸟和雄鸟一样漂亮。它经常在亚热带的森林地面上走动,捕\",\n \"ItemPolygon\": {\n \"Height\": 18,\n \"Width\": 426,\n \"X\": 60,\n \"Y\": 506\n },\n \"Polygon\": [\n {\n \"X\": 60,\n \"Y\": 506\n },\n {\n \"X\": 486,\n \"Y\": 503\n },\n {\n \"X\": 486,\n \"Y\": 521\n },\n {\n \"X\": 60,\n \"Y\": 523\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":5}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"食落叶下的昆虫和晰蜴等小动物,唱歌时会飞到树上。因为森林砍伐\",\n \"ItemPolygon\": {\n \"Height\": 16,\n \"Width\": 426,\n \"X\": 60,\n \"Y\": 530\n },\n \"Polygon\": [\n {\n \"X\": 60,\n \"Y\": 530\n },\n {\n \"X\": 486,\n \"Y\": 530\n },\n {\n \"X\": 486,\n \"Y\": 546\n },\n {\n \"X\": 60,\n \"Y\": 546\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":5}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"和非法的玩赏鸟贸易,现在它的数量已明显减少。\",\n \"ItemPolygon\": {\n \"Height\": 18,\n \"Width\": 308,\n \"X\": 59,\n \"Y\": 554\n },\n \"Polygon\": [\n {\n \"X\": 59,\n \"Y\": 554\n },\n {\n \"X\": 367,\n \"Y\": 552\n },\n {\n \"X\": 368,\n \"Y\": 570\n },\n {\n \"X\": 59,\n \"Y\": 572\n }\n ],\n \"WordCoordPoint\": [],\n \"Words\": []\n }\n ]\n }\n}",
|
196
196
|
"title": "GeneralBasicOCR调用"
|
197
197
|
}
|
198
198
|
],
|
@@ -216,13 +216,13 @@
|
|
216
216
|
{
|
217
217
|
"document": "只输出手写体识别结果,过滤印刷体",
|
218
218
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralHandwritingOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\",\n \"Scene\": \"only_hw\"\n}",
|
219
|
-
"output": "{\n \"Response\": {\n \"TextDetections\": [\n {\n \"DetectedText\": \"六习作表达30分\",\n \"Confidence\": 99,\n \"Polygon\": [\n {\n \"X\": 43,\n \"Y\": 29\n },\n {\n \"X\": 176,\n \"Y\": 25\n },\n {\n \"X\": 177,\n \"Y\": 49\n },\n {\n \"X\": 43,\n \"Y\": 53\n }\n ],\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"WordPolygon\": [\n {\n \"LeftBottom\": {\n \"X\": 97,\n \"Y\": 204\n },\n \"LeftTop\": {\n \"X\": 97,\n \"Y\": 156\n },\n \"RightBottom\": {\n \"X\": 134,\n \"Y\": 204\n },\n \"RightTop\": {\n \"X\": 134,\n \"Y\": 156\n }\n }\n ]\n }\n ],\n \"
|
219
|
+
"output": "{\n \"Response\": {\n \"TextDetections\": [\n {\n \"DetectedText\": \"六习作表达30分\",\n \"Confidence\": 99,\n \"Polygon\": [\n {\n \"X\": 43,\n \"Y\": 29\n },\n {\n \"X\": 176,\n \"Y\": 25\n },\n {\n \"X\": 177,\n \"Y\": 49\n },\n {\n \"X\": 43,\n \"Y\": 53\n }\n ],\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"WordPolygon\": [\n {\n \"LeftBottom\": {\n \"X\": 97,\n \"Y\": 204\n },\n \"LeftTop\": {\n \"X\": 97,\n \"Y\": 156\n },\n \"RightBottom\": {\n \"X\": 134,\n \"Y\": 204\n },\n \"RightTop\": {\n \"X\": 134,\n \"Y\": 156\n }\n }\n ]\n }\n ],\n \"Angle\": 0,\n \"RequestId\": \"b57e40af-a73c-4844-ae7e-344f06efb9e5\"\n }\n}",
|
220
220
|
"title": "传入场景only_hw"
|
221
221
|
},
|
222
222
|
{
|
223
223
|
"document": "通用手写体识别示例",
|
224
224
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralHandwritingOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralHandwritingOCR/GeneralHandwritingOCR1.jpg\"\n}",
|
225
|
-
"output": "{\n \"Response\": {\n \"TextDetections\": [\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"飞机飞过天空天空之城\",\n \"Polygon\": [\n {\n \"X\": 99,\n \"Y\": 154\n },\n {\n \"X\": 490,\n \"Y\": 154\n },\n {\n \"X\": 490,\n \"Y\": 207\n },\n {\n \"X\": 99,\n \"Y\": 207\n }\n ],\n \"WordPolygon\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 97,\n \"DetectedText\": \"落雨下的黄昏的我们\",\n \"Polygon\": [\n {\n \"X\": 170,\n \"Y\": 216\n },\n {\n \"X\": 471,\n \"Y\": 227\n },\n {\n \"X\": 469,\n \"Y\": 286\n },\n {\n \"X\": 168,\n \"Y\": 275\n }\n ],\n \"WordPolygon\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"此刻我在异乡的夜里\",\n \"Polygon\": [\n {\n \"X\": 130,\n \"Y\": 289\n },\n {\n \"X\": 455,\n \"Y\": 292\n },\n {\n \"X\": 455,\n \"Y\": 351\n },\n {\n \"X\": 130,\n \"Y\": 348\n }\n ],\n \"WordPolygon\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 98,\n \"DetectedText\": \"感觉着你忽明忽暗\",\n \"Polygon\": [\n {\n \"X\": 143,\n \"Y\": 357\n },\n {\n \"X\": 454,\n \"Y\": 349\n },\n {\n \"X\": 456,\n \"Y\": 418\n },\n {\n \"X\": 145,\n \"Y\": 425\n }\n ],\n \"WordPolygon\": []\n }\n ],\n \"
|
225
|
+
"output": "{\n \"Response\": {\n \"TextDetections\": [\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":1}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"飞机飞过天空天空之城\",\n \"Polygon\": [\n {\n \"X\": 99,\n \"Y\": 154\n },\n {\n \"X\": 490,\n \"Y\": 154\n },\n {\n \"X\": 490,\n \"Y\": 207\n },\n {\n \"X\": 99,\n \"Y\": 207\n }\n ],\n \"WordPolygon\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 97,\n \"DetectedText\": \"落雨下的黄昏的我们\",\n \"Polygon\": [\n {\n \"X\": 170,\n \"Y\": 216\n },\n {\n \"X\": 471,\n \"Y\": 227\n },\n {\n \"X\": 469,\n \"Y\": 286\n },\n {\n \"X\": 168,\n \"Y\": 275\n }\n ],\n \"WordPolygon\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 99,\n \"DetectedText\": \"此刻我在异乡的夜里\",\n \"Polygon\": [\n {\n \"X\": 130,\n \"Y\": 289\n },\n {\n \"X\": 455,\n \"Y\": 292\n },\n {\n \"X\": 455,\n \"Y\": 351\n },\n {\n \"X\": 130,\n \"Y\": 348\n }\n ],\n \"WordPolygon\": []\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":2}}\",\n \"Confidence\": 98,\n \"DetectedText\": \"感觉着你忽明忽暗\",\n \"Polygon\": [\n {\n \"X\": 143,\n \"Y\": 357\n },\n {\n \"X\": 454,\n \"Y\": 349\n },\n {\n \"X\": 456,\n \"Y\": 418\n },\n {\n \"X\": 145,\n \"Y\": 425\n }\n ],\n \"WordPolygon\": []\n }\n ],\n \"Angle\": 0,\n \"RequestId\": \"361e2ac6-ee7e-40d0-9463-5f05ecd4828e\"\n }\n}",
|
226
226
|
"title": "通用手写体识别示例代码"
|
227
227
|
}
|
228
228
|
],
|
@@ -461,8 +461,8 @@
|
|
461
461
|
"RecognizeGeneralTextImageWarn": [
|
462
462
|
{
|
463
463
|
"document": "通用文本图像告警示例",
|
464
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeGeneralTextImageWarn\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
465
|
-
"output": "{\n \"Response\": {\n \"Blur\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"BorderIncomplete\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"Copy\": {\n \"IsWarn\":
|
464
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeGeneralTextImageWarn\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/RecognizeGeneralTextImageWarn/RecognizeGeneralTextImageWarn1.png\",\n \"Type\": \"General\"\n}",
|
465
|
+
"output": "{\n \"Response\": {\n \"Blur\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"BorderIncomplete\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"Copy\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"Reflection\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"Reprint\": {\n \"IsWarn\": true,\n \"Polygon\": [\n {\n \"LeftBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"LeftTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": 0,\n \"Y\": 0\n }\n }\n ],\n \"SpecificMatter\": \"\"\n },\n \"RequestId\": \"20bbcd54-6e63-4140-b777-2dea85a8ef66\"\n }\n}",
|
466
466
|
"title": "通用文本图像告警示例代码"
|
467
467
|
}
|
468
468
|
],
|