tccli 3.0.828.1__py2.py3-none-any.whl → 3.0.829.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/autoscaling/v20180419/api.json +14 -14
- tccli/services/cloudstudio/cloudstudio_client.py +53 -0
- tccli/services/cloudstudio/v20210524/api.json +89 -0
- tccli/services/cloudstudio/v20210524/examples.json +8 -0
- tccli/services/ess/v20201111/api.json +9 -0
- tccli/services/ess/v20201111/examples.json +1 -1
- tccli/services/essbasic/v20210526/api.json +133 -364
- tccli/services/essbasic/v20210526/examples.json +89 -95
- tccli/services/ic/v20190307/api.json +1 -1
- tccli/services/live/v20180801/api.json +2 -6
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/mrs/v20200910/api.json +8130 -2302
- tccli/services/mrs/v20200910/examples.json +1 -1
- tccli/services/ocr/v20181119/api.json +32 -134
- tccli/services/ocr/v20181119/examples.json +15 -15
- tccli/services/pts/v20210728/api.json +27 -78
- tccli/services/sslpod/v20190605/api.json +1 -1
- tccli/services/tem/v20210701/api.json +1 -1
- tccli/services/tione/v20191022/api.json +1 -1
- tccli/services/tione/v20211111/api.json +1 -1
- tccli/services/trtc/v20190722/api.json +3 -25
- tccli/services/vpc/v20170312/api.json +60 -51
- tccli/services/vpc/v20170312/examples.json +17 -17
- {tccli-3.0.828.1.dist-info → tccli-3.0.829.1.dist-info}/METADATA +2 -2
- {tccli-3.0.828.1.dist-info → tccli-3.0.829.1.dist-info}/RECORD +30 -30
- {tccli-3.0.828.1.dist-info → tccli-3.0.829.1.dist-info}/LICENSE +0 -0
- {tccli-3.0.828.1.dist-info → tccli-3.0.829.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.828.1.dist-info → tccli-3.0.829.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.828.1.dist-info → tccli-3.0.829.1.dist-info}/top_level.txt +0 -0
@@ -26,7 +26,7 @@
|
|
26
26
|
],
|
27
27
|
"BankSlipOCR": [
|
28
28
|
{
|
29
|
-
"document": "",
|
29
|
+
"document": "银行回单识别",
|
30
30
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BankSlipOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\"\n}",
|
31
31
|
"output": "{\n \"Response\": {\n \"BankSlipInfos\": [\n {\n \"Rect\": {\n \"Y\": 629,\n \"X\": 182,\n \"Height\": 19,\n \"Width\": 31\n },\n \"Name\": \"日期\",\n \"Value\": \"2020年08月24日\"\n }\n ],\n \"Angle\": 0,\n \"RequestId\": \"da6ecc00-a7df-4896-95e9-1d0930e40fde\"\n }\n}",
|
32
32
|
"title": "银行回单识别示例代码"
|
@@ -42,7 +42,7 @@
|
|
42
42
|
],
|
43
43
|
"BusInvoiceOCR": [
|
44
44
|
{
|
45
|
-
"document": "",
|
45
|
+
"document": "汽车票识别",
|
46
46
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BusInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg \"\n}",
|
47
47
|
"output": "{\n \"Response\": {\n \"BusInvoiceInfos\": [\n {\n \"Name\": \"发票代码\",\n \"Value\": \"440600014\",\n \"Rect\": {\n \"X\": 601,\n \"Y\": 204,\n \"Width\": 64,\n \"Height\": 17\n }\n },\n {\n \"Name\": \"发票号码\",\n \"Value\": \"1010091024\",\n \"Rect\": {\n \"X\": 588,\n \"Y\": 229,\n \"Width\": 59,\n \"Height\": 15\n }\n },\n {\n \"Name\": \"日期\",\n \"Value\": \"2010年02月08日\",\n \"Rect\": {\n \"X\": 569,\n \"Y\": 291,\n \"Width\": 81,\n \"Height\": 17\n }\n },\n {\n \"Name\": \"始发地\",\n \"Value\": \"宝安\",\n \"Rect\": {\n \"X\": 344,\n \"Y\": 255,\n \"Width\": 58,\n \"Height\": 21\n }\n },\n {\n \"Name\": \"目的地\",\n \"Value\": \"武汉\",\n \"Rect\": {\n \"X\": 566,\n \"Y\": 246,\n \"Width\": 39,\n \"Height\": 22\n }\n },\n {\n \"Name\": \"票价\",\n \"Value\": \"490.00\",\n \"Rect\": {\n \"X\": 343,\n \"Y\": 342,\n \"Width\": 47,\n \"Height\": 22\n }\n }\n ],\n \"Angle\": 358,\n \"RequestId\": \"64b4f1c4-05bd-489a-88fc-30238ff546bd\"\n }\n}",
|
48
48
|
"title": "汽车票识别示例代码"
|
@@ -108,7 +108,7 @@
|
|
108
108
|
],
|
109
109
|
"DutyPaidProofOCR": [
|
110
110
|
{
|
111
|
-
"document": "",
|
111
|
+
"document": "完税证明识别",
|
112
112
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DutyPaidProofOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg \"\n}",
|
113
113
|
"output": "{\n \"Response\": {\n \"DutyPaidProofInfos\": [\n {\n \"Name\": \"税务机关\",\n \"Value\": \"武昌市国家税务局第-税务分局\",\n \"Rect\": {\n \"X\": 658,\n \"Y\": 152,\n \"Width\": 283,\n \"Height\": 20\n }\n },\n {\n \"Name\": \"税号\",\n \"Value\": \"2820000\",\n \"Rect\": {\n \"X\": 759,\n \"Y\": 128,\n \"Width\": 209,\n \"Height\": 21\n }\n },\n {\n \"Name\": \"纳税人识别号\",\n \"Value\": \"440524100000\",\n \"Rect\": {\n \"X\": 161,\n \"Y\": 182,\n \"Width\": 131,\n \"Height\": 19\n }\n },\n {\n \"Name\": \"纳税人名称\",\n \"Value\": \"李明\",\n \"Rect\": {\n \"X\": 629,\n \"Y\": 182,\n \"Width\": 31,\n \"Height\": 19\n }\n },\n {\n \"Name\": \"金额合计大写\",\n \"Value\": \"壹仟肆佰柒拾陆元叁角玖分\",\n \"Rect\": {\n \"X\": 214,\n \"Y\": 505,\n \"Width\": 167,\n \"Height\": 20\n }\n },\n {\n \"Name\": \"金额合计小写\",\n \"Value\": \"¥1476.39\",\n \"Rect\": {\n \"X\": 830,\n \"Y\": 505,\n \"Width\": 70,\n \"Height\": 19\n }\n },\n {\n \"Name\": \"填票人\",\n \"Value\": \"李菲\",\n \"Rect\": {\n \"X\": 346,\n \"Y\": 611,\n \"Width\": 46,\n \"Height\": 19\n }\n }\n ],\n \"Angle\": 0,\n \"RequestId\": \"da6ecc00-a7df-4896-95e9-1d0930e40fde\"\n }\n}",
|
114
114
|
"title": "完税证明识别示例代码"
|
@@ -164,7 +164,7 @@
|
|
164
164
|
],
|
165
165
|
"FlightInvoiceOCR": [
|
166
166
|
{
|
167
|
-
"document": "",
|
167
|
+
"document": "机票行程单识别",
|
168
168
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FlightInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\"\n}",
|
169
169
|
"output": "{\n \"Response\": {\n \"FlightInvoiceInfos\": [\n {\n \"Name\": \"旅客姓名\",\n \"Value\": \"框吉周\",\n \"Row\": -1\n },\n {\n \"Name\": \"有效身份证件号码\",\n \"Value\": \"321023199412064545\",\n \"Row\": -1\n },\n {\n \"Name\": \"电子客票号码\",\n \"Value\": \"1234551410938\",\n \"Row\": -1\n },\n {\n \"Name\": \"验证码\",\n \"Value\": \"5003\",\n \"Row\": -1\n },\n {\n \"Name\": \"填开日期\",\n \"Value\": \"2019-04-22\",\n \"Row\": -1\n },\n {\n \"Name\": \"票价\",\n \"Value\": \"1160.00\",\n \"Row\": -1\n },\n {\n \"Name\": \"合计金额\",\n \"Value\": \"1340.00\",\n \"Row\": -1\n }\n ],\n \"RequestId\": \"fb410c56-5990-46d4-82f0-4619112afca9\"\n }\n}",
|
170
170
|
"title": "机票行程单识别示例代码"
|
@@ -306,7 +306,7 @@
|
|
306
306
|
],
|
307
307
|
"InvoiceGeneralOCR": [
|
308
308
|
{
|
309
|
-
"document": "",
|
309
|
+
"document": "通用机打发票识别",
|
310
310
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvoiceGeneralOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg \"\n}",
|
311
311
|
"output": "{\n \"Response\": {\n \"InvoiceGeneralInfos\": [\n {\n \"Name\": \"校验码\",\n \"Value\": \"15634318038000000\",\n \"Rect\": {\n \"X\": 278,\n \"Y\": 297,\n \"Width\": 194,\n \"Height\": 19\n }\n },\n {\n \"Name\": \"发票代码\",\n \"Value\": \"1440310000\",\n \"Rect\": {\n \"X\": 879,\n \"Y\": 72,\n \"Width\": 195,\n \"Height\": 23\n }\n },\n {\n \"Name\": \"发票号码\",\n \"Value\": \"01648000\",\n \"Rect\": {\n \"X\": 874,\n \"Y\": 109,\n \"Width\": 129,\n \"Height\": 22\n }\n },\n {\n \"Name\": \"日期\",\n \"Value\": \"2018年1月22日\",\n \"Rect\": {\n \"X\": 205,\n \"Y\": 151,\n \"Width\": 121,\n \"Height\": 18\n }\n },\n {\n \"Name\": \"购买方识别号\",\n \"Value\": \"91440300000XG\",\n \"Rect\": {\n \"X\": 180,\n \"Y\": 618,\n \"Width\": 197,\n \"Height\": 20\n }\n },\n {\n \"Name\": \"销售方识别号\",\n \"Value\": \"4403006700004\",\n \"Rect\": {\n \"X\": 274,\n \"Y\": 250,\n \"Width\": 147,\n \"Height\": 20\n }\n },\n {\n \"Name\": \"合计金额(大写)\",\n \"Value\": \"玖仟元整\",\n \"Rect\": {\n \"X\": 301,\n \"Y\": 579,\n \"Width\": 83,\n \"Height\": 22\n }\n },\n {\n \"Name\": \"购买方名称\",\n \"Value\": \"腾讯科技(深圳)有限公司\",\n \"Rect\": {\n \"X\": 274,\n \"Y\": 198,\n \"Width\": 225,\n \"Height\": 24\n }\n },\n {\n \"Name\": \"合计金额(小写)\",\n \"Value\": \"9000.00\",\n \"Rect\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 1,\n \"Height\": 1\n }\n }\n ],\n \"Angle\": 0,\n \"RequestId\": \"fd7e1fe1-1039-4d28-9376-6e144dbd3741\"\n }\n}",
|
312
312
|
"title": "通用机打发票识别示例代码"
|
@@ -354,13 +354,13 @@
|
|
354
354
|
],
|
355
355
|
"MixedInvoiceOCR": [
|
356
356
|
{
|
357
|
-
"document": "",
|
357
|
+
"document": "混贴票据识别示例代码(识别全部类型)",
|
358
358
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MixedInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\"\n}",
|
359
359
|
"output": "{\n \"Response\": {\n \"MixedInvoiceItems\": [\n {\n \"Type\": 13,\n \"Rect\": {\n \"X\": 20,\n \"Y\": 891,\n \"Width\": 479,\n \"Height\": 597\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": [\n {\n \"Name\": \"发票号码\",\n \"Value\": \"27357827\",\n \"Row\": 0\n },\n {\n \"Name\": \"日期\",\n \"Value\": \"2016年04月11日\",\n \"Row\": 0\n },\n {\n \"Name\": \"发票代码\",\n \"Value\": \"440300708461\",\n \"Row\": 0\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"778\",\n \"Row\": 0\n }\n ],\n \"Code\": \"OK\"\n },\n {\n \"Type\": 2,\n \"Rect\": {\n \"X\": 520,\n \"Y\": 904,\n \"Width\": 455,\n \"Height\": 286\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": [\n {\n \"Name\": \"编号\",\n \"Value\": \"Z96X809511\",\n \"Row\": 0\n },\n {\n \"Name\": \"出发站\",\n \"Value\": \"上海\",\n \"Row\": 0\n },\n {\n \"Name\": \"到达站\",\n \"Value\": \"南京\",\n \"Row\": 0\n },\n {\n \"Name\": \"出发时间\",\n \"Value\": \"2018年03月06日18:51\",\n \"Row\": 0\n },\n {\n \"Name\": \"车次\",\n \"Value\": \"Z196\",\n \"Row\": 0\n },\n {\n \"Name\": \"座位号\",\n \"Value\": \"\",\n \"Row\": 0\n },\n {\n \"Name\": \"姓名\",\n \"Value\": \"周周\",\n \"Row\": 0\n },\n {\n \"Name\": \"票价\",\n \"Value\": \"46.5\",\n \"Row\": 0\n },\n {\n \"Name\": \"席别\",\n \"Value\": \"新空调硬座\",\n \"Row\": 0\n }\n ],\n \"Code\": \"OK\"\n }\n ],\n \"RequestId\": \"d5202318-7dfa-4b34-9f1f-f21f36f43d67\"\n }\n}",
|
360
360
|
"title": "混贴票据识别示例代码(识别全部类型)"
|
361
361
|
},
|
362
362
|
{
|
363
|
-
"document": "",
|
363
|
+
"document": "混贴票据识别示例代码(识别指定类型)",
|
364
364
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MixedInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\",\n \"Types\": [\n \"2\"\n ]\n}",
|
365
365
|
"output": "{\n \"Response\": {\n \"MixedInvoiceItems\": [\n {\n \"Rect\": {\n \"X\": 31,\n \"Y\": 34,\n \"Width\": 1327,\n \"Height\": 866\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": [],\n \"Code\": \"OK\",\n \"Type\": 3\n },\n {\n \"Rect\": {\n \"X\": 18,\n \"Y\": 887,\n \"Width\": 484,\n \"Height\": 607\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": [],\n \"Code\": \"OK\",\n \"Type\": 13\n },\n {\n \"Rect\": {\n \"X\": 517,\n \"Y\": 931,\n \"Width\": 464,\n \"Height\": 306\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": [\n {\n \"Name\": \"编号\",\n \"Value\": \"Z96X089511\",\n \"Row\": 0\n },\n {\n \"Name\": \"出发站\",\n \"Value\": \"上海\",\n \"Row\": 0\n },\n {\n \"Name\": \"车次\",\n \"Value\": \"Z196\",\n \"Row\": 0\n },\n {\n \"Name\": \"到达站\",\n \"Value\": \"南京\",\n \"Row\": 0\n },\n {\n \"Name\": \"出发时间\",\n \"Value\": \"2018年03月06日18:51\",\n \"Row\": 0\n },\n {\n \"Name\": \"座位号\",\n \"Value\": \"02车016号\",\n \"Row\": 0\n },\n {\n \"Name\": \"票价\",\n \"Value\": \"46.50\",\n \"Row\": 0\n },\n {\n \"Name\": \"席别\",\n \"Value\": \"新空调硬座\",\n \"Row\": 0\n },\n {\n \"Name\": \"身份证号\",\n \"Value\": \"3210231991****6666\",\n \"Row\": 0\n },\n {\n \"Name\": \"姓名\",\n \"Value\": \"周周\",\n \"Row\": 0\n }\n ],\n \"Code\": \"OK\",\n \"Type\": 2\n }\n ],\n \"RequestId\": \"6b261226-7255-4f56-ab51-a641106618ff\"\n }\n}",
|
366
366
|
"title": "混贴票据识别示例代码(识别指定类型)"
|
@@ -416,7 +416,7 @@
|
|
416
416
|
],
|
417
417
|
"QuotaInvoiceOCR": [
|
418
418
|
{
|
419
|
-
"document": "",
|
419
|
+
"document": "定额发票识别",
|
420
420
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QuotaInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\"\n}",
|
421
421
|
"output": "{\n \"Response\": {\n \"InvoiceNum\": \"04947858\",\n \"InvoiceCode\": \"131001864304\",\n \"Rate\": \"伍元\",\n \"RateNum\": \"5.00\",\n \"InvoiceType\": \"交通\",\n \"Province\": \"上海市\",\n \"City\": \"\",\n \"HasStamp\": \"1\",\n \"RequestId\": \"c0abae2d-10d6-42ae-af0f-a5cc2c9b1fc5\"\n }\n}",
|
422
422
|
"title": "定额发票识别示例代码"
|
@@ -449,8 +449,8 @@
|
|
449
449
|
"RecognizeMedicalInvoiceOCR": [
|
450
450
|
{
|
451
451
|
"document": "医疗发票识别示例",
|
452
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeMedicalInvoiceOCR\nVersion:2018-11-19\nRegion:ap-beijing\n<公共请求参数>\n\n{\n \"
|
453
|
-
"output": "{\n \"Response\": {\n \"MedicalInvoiceInfos\": [\n {\n \"MedicalInvoiceItems\": [\n {\n \"Name\": \"项目名称\",\n \"Content\": \"强力枇杷露\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 543,\n \"Y\": 246\n },\n \"RightTop\": {\n \"X\": 621,\n \"Y\": 246\n },\n \"RightBottom\": {\n \"X\": 621,\n \"Y\": 264\n },\n \"LeftBottom\": {\n \"X\": 543,\n \"Y\": 264\n }\n },\n \"Coord\": {\n \"X\": 544,\n \"Y\": 247,\n \"Width\": 78,\n \"Height\": 18\n }\n },\n {\n \"Name\": \"数量\",\n \"Content\": \"2\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 750,\n \"Y\": 248\n },\n \"RightTop\": {\n \"X\": 792,\n \"Y\": 248\n },\n \"RightBottom\": {\n \"X\": 792,\n \"Y\": 264\n },\n \"LeftBottom\": {\n \"X\": 750,\n \"Y\": 264\n }\n },\n \"Coord\": {\n \"X\": 751,\n \"Y\": 249,\n \"Width\": 42,\n \"Height\": 16\n }\n },\n {\n \"Name\": \"单位\",\n \"Content\": \"瓶\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 792,\n \"Y\": 248\n },\n \"RightTop\": {\n \"X\": 810,\n \"Y\": 248\n },\n \"RightBottom\": {\n \"X\": 810,\n \"Y\": 264\n },\n \"LeftBottom\": {\n \"X\": 792,\n \"Y\": 264\n }\n },\n \"Coord\": {\n \"X\": 793,\n \"Y\": 249,\n \"Width\": 18,\n \"Height\": 16\n }\n },\n {\n \"Name\": \"金额\",\n \"Content\": \"94.36\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 882,\n \"Y\": 246\n },\n \"RightTop\": {\n \"X\": 954,\n \"Y\": 246\n },\n \"RightBottom\": {\n \"X\": 954,\n \"Y\": 264\n },\n \"LeftBottom\": {\n \"X\": 882,\n \"Y\": 264\n }\n },\n \"Coord\": {\n \"X\": 883,\n \"Y\": 247,\n \"Width\": 72,\n \"Height\": 18\n }\n }\n ]\n },\n {\n \"MedicalInvoiceItems\": [\n {\n \"Name\": \"项目名称\",\n \"Content\": \"复方甘草片\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 65,\n \"Y\": 248\n },\n \"RightTop\": {\n \"X\": 143,\n \"Y\": 248\n },\n \"RightBottom\": {\n \"X\": 143,\n \"Y\": 265\n },\n \"LeftBottom\": {\n \"X\": 65,\n \"Y\": 265\n }\n },\n \"Coord\": {\n \"X\": 66,\n \"Y\": 249,\n \"Width\": 78,\n \"Height\": 17\n }\n },\n {\n \"Name\": \"数量\",\n \"Content\": \"2\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 271,\n \"Y\": 248\n },\n \"RightTop\": {\n \"X\": 319,\n \"Y\": 248\n },\n \"RightBottom\": {\n \"X\": 319,\n \"Y\": 264\n },\n \"LeftBottom\": {\n \"X\": 271,\n \"Y\": 264\n }\n },\n \"Coord\": {\n \"X\": 272,\n \"Y\": 249,\n \"Width\": 48,\n \"Height\": 16\n }\n },\n {\n \"Name\": \"单位\",\n \"Content\": \"盒\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 319,\n \"Y\": 248\n },\n \"RightTop\": {\n \"X\": 336,\n \"Y\": 248\n },\n \"RightBottom\": {\n \"X\": 336,\n \"Y\": 264\n },\n \"LeftBottom\": {\n \"X\": 319,\n \"Y\": 264\n }\n },\n \"Coord\": {\n \"X\": 320,\n \"Y\": 249,\n \"Width\": 17,\n \"Height\": 16\n }\n },\n {\n \"Name\": \"金额\",\n \"Content\": \"13.20\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 422,\n \"Y\": 248\n },\n \"RightTop\": {\n \"X\": 493,\n \"Y\": 248\n },\n \"RightBottom\": {\n \"X\": 493,\n \"Y\": 264\n },\n \"LeftBottom\": {\n \"X\": 422,\n \"Y\": 264\n }\n },\n \"Coord\": {\n \"X\": 423,\n \"Y\": 249,\n \"Width\": 71,\n \"Height\": 16\n }\n }\n ]\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"收款人\",\n \"Content\": \"Z0001\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 855,\n \"Y\": 658\n },\n \"RightTop\": {\n \"X\": 899,\n \"Y\": 658\n },\n \"RightBottom\": {\n \"X\": 899,\n \"Y\": 674\n },\n \"LeftBottom\": {\n \"X\": 855,\n \"Y\": 674\n }\n },\n \"Coord\": {\n \"X\": 856,\n \"Y\": 659,\n \"Width\": 44,\n \"Height\": 16\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"个人自费\",\n \"Content\": \"0.00\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 366,\n \"Y\": 551\n },\n \"RightTop\": {\n \"X\": 407,\n \"Y\": 551\n },\n \"RightBottom\": {\n \"X\": 407,\n \"Y\": 567\n },\n \"LeftBottom\": {\n \"X\": 366,\n \"Y\": 567\n }\n },\n \"Coord\": {\n \"X\": 367,\n \"Y\": 552,\n \"Width\": 41,\n \"Height\": 16\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"个人账户支付\",\n \"Content\": \"0.00\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 654,\n \"Y\": 528\n },\n \"RightTop\": {\n \"X\": 699,\n \"Y\": 528\n },\n \"RightBottom\": {\n \"X\": 699,\n \"Y\": 545\n },\n \"LeftBottom\": {\n \"X\": 654,\n \"Y\": 545\n }\n },\n \"Coord\": {\n \"X\": 655,\n \"Y\": 529,\n \"Width\": 45,\n \"Height\": 17\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"性别\",\n \"Content\": \"男\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 827,\n \"Y\": 507\n },\n \"RightTop\": {\n \"X\": 844,\n \"Y\": 507\n },\n \"RightBottom\": {\n \"X\": 844,\n \"Y\": 524\n },\n \"LeftBottom\": {\n \"X\": 827,\n \"Y\": 524\n }\n },\n \"Coord\": {\n \"X\": 828,\n \"Y\": 508,\n \"Width\": 17,\n \"Height\": 17\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"业务流水号\",\n \"Content\": \"MZ0017782805001\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 181,\n \"Y\": 483\n },\n \"RightTop\": {\n \"X\": 298,\n \"Y\": 483\n },\n \"RightBottom\": {\n \"X\": 298,\n \"Y\": 500\n },\n \"LeftBottom\": {\n \"X\": 181,\n \"Y\": 500\n }\n },\n \"Coord\": {\n \"X\": 182,\n \"Y\": 484,\n \"Width\": 117,\n \"Height\": 17\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"个人自付\",\n \"Content\": \"32.27\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 162,\n \"Y\": 552\n },\n \"RightTop\": {\n \"X\": 207,\n \"Y\": 552\n },\n \"RightBottom\": {\n \"X\": 207,\n \"Y\": 567\n },\n \"LeftBottom\": {\n \"X\": 162,\n \"Y\": 567\n }\n },\n \"Coord\": {\n \"X\": 163,\n \"Y\": 553,\n \"Width\": 45,\n \"Height\": 15\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"其他支付\",\n \"Content\": \"0.00\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 375,\n \"Y\": 532\n },\n \"RightTop\": {\n \"X\": 410,\n \"Y\": 532\n },\n \"RightBottom\": {\n \"X\": 410,\n \"Y\": 545\n },\n \"LeftBottom\": {\n \"X\": 375,\n \"Y\": 545\n }\n },\n \"Coord\": {\n \"X\": 376,\n \"Y\": 533,\n \"Width\": 35,\n \"Height\": 13\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"复核人\",\n \"Content\": \"001\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 659,\n \"Y\": 658\n },\n \"RightTop\": {\n \"X\": 680,\n \"Y\": 658\n },\n \"RightBottom\": {\n \"X\": 680,\n \"Y\": 675\n },\n \"LeftBottom\": {\n \"X\": 659,\n \"Y\": 675\n }\n },\n \"Coord\": {\n \"X\": 660,\n \"Y\": 659,\n \"Width\": 21,\n \"Height\": 17\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"医保统筹基金支付\",\n \"Content\": \"0.00\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 223,\n \"Y\": 529\n },\n \"RightTop\": {\n \"X\": 262,\n \"Y\": 529\n },\n \"RightBottom\": {\n \"X\": 262,\n \"Y\": 544\n },\n \"LeftBottom\": {\n \"X\": 223,\n \"Y\": 544\n }\n },\n \"Coord\": {\n \"X\": 224,\n \"Y\": 530,\n \"Width\": 39,\n \"Height\": 15\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"医疗机构类型\",\n \"Content\": \"综合医院\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 198,\n \"Y\": 505\n },\n \"RightTop\": {\n \"X\": 263,\n \"Y\": 505\n },\n \"RightBottom\": {\n \"X\": 263,\n \"Y\": 523\n },\n \"LeftBottom\": {\n \"X\": 198,\n \"Y\": 523\n }\n },\n \"Coord\": {\n \"X\": 199,\n \"Y\": 506,\n \"Width\": 65,\n \"Height\": 18\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"收款单位\",\n \"Content\": \"北京大学人民医院\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 184,\n \"Y\": 658\n },\n \"RightTop\": {\n \"X\": 324,\n \"Y\": 658\n },\n \"RightBottom\": {\n \"X\": 324,\n \"Y\": 675\n },\n \"LeftBottom\": {\n \"X\": 184,\n \"Y\": 675\n }\n },\n \"Coord\": {\n \"X\": 185,\n \"Y\": 659,\n \"Width\": 140,\n \"Height\": 17\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"就诊日期\",\n \"Content\": \"2022-05-09\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 869,\n \"Y\": 483\n },\n \"RightTop\": {\n \"X\": 924,\n \"Y\": 483\n },\n \"RightBottom\": {\n \"X\": 924,\n \"Y\": 500\n },\n \"LeftBottom\": {\n \"X\": 869,\n \"Y\": 500\n }\n },\n \"Coord\": {\n \"X\": 870,\n \"Y\": 484,\n \"Width\": 55,\n \"Height\": 17\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"医保类型\",\n \"Content\": \"城镇职工\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 374,\n \"Y\": 508\n },\n \"RightTop\": {\n \"X\": 440,\n \"Y\": 508\n },\n \"RightBottom\": {\n \"X\": 440,\n \"Y\": 525\n },\n \"LeftBottom\": {\n \"X\": 374,\n \"Y\": 525\n }\n },\n \"Coord\": {\n \"X\": 375,\n \"Y\": 509,\n \"Width\": 66,\n \"Height\": 17\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"个人现金支付\",\n \"Content\": \"32.27\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 887,\n \"Y\": 533\n },\n \"RightTop\": {\n \"X\": 932,\n \"Y\": 533\n },\n \"RightBottom\": {\n \"X\": 932,\n \"Y\": 548\n },\n \"LeftBottom\": {\n \"X\": 887,\n \"Y\": 548\n }\n },\n \"Coord\": {\n \"X\": 888,\n \"Y\": 534,\n \"Width\": 45,\n \"Height\": 15\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"总金额\",\n \"Content\": \"壹佰零柒元伍角陆分\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 196,\n \"Y\": 450\n },\n \"RightTop\": {\n \"X\": 347,\n \"Y\": 450\n },\n \"RightBottom\": {\n \"X\": 347,\n \"Y\": 473\n },\n \"LeftBottom\": {\n \"X\": 196,\n \"Y\": 473\n }\n },\n \"Coord\": {\n \"X\": 197,\n \"Y\": 451,\n \"Width\": 151,\n \"Height\": 23\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"票据代码\",\n \"Content\": \"00060121\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 146,\n \"Y\": 115\n },\n \"RightTop\": {\n \"X\": 208,\n \"Y\": 115\n },\n \"RightBottom\": {\n \"X\": 208,\n \"Y\": 130\n },\n \"LeftBottom\": {\n \"X\": 146,\n \"Y\": 130\n }\n },\n \"Coord\": {\n \"X\": 147,\n \"Y\": 116,\n \"Width\": 62,\n \"Height\": 15\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"发票属地\",\n \"Content\": \"中央\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 855,\n \"Y\": 658\n },\n \"RightTop\": {\n \"X\": 899,\n \"Y\": 658\n },\n \"RightBottom\": {\n \"X\": 899,\n \"Y\": 674\n },\n \"LeftBottom\": {\n \"X\": 855,\n \"Y\": 674\n }\n },\n \"Coord\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 0,\n \"Height\": 0\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"发票类型\",\n \"Content\": \"门诊发票\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 855,\n \"Y\": 658\n },\n \"RightTop\": {\n \"X\": 899,\n \"Y\": 658\n },\n \"RightBottom\": {\n \"X\": 899,\n \"Y\": 674\n },\n \"LeftBottom\": {\n \"X\": 855,\n \"Y\": 674\n }\n },\n \"Coord\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 0,\n \"Height\": 0\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"发票名称\",\n \"Content\": \"中央医疗门诊收费票据(电子)\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 346,\n \"Y\": 42\n },\n \"RightTop\": {\n \"X\": 714,\n \"Y\": 42\n },\n \"RightBottom\": {\n \"X\": 714,\n \"Y\": 73\n },\n \"LeftBottom\": {\n \"X\": 346,\n \"Y\": 73\n }\n },\n \"Coord\": {\n \"X\": 347,\n \"Y\": 43,\n \"Width\": 368,\n \"Height\": 31\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"票据号码\",\n \"Content\": \"0013879793\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 740,\n \"Y\": 112\n },\n \"RightTop\": {\n \"X\": 824,\n \"Y\": 112\n },\n \"RightBottom\": {\n \"X\": 824,\n \"Y\": 130\n },\n \"LeftBottom\": {\n \"X\": 740,\n \"Y\": 130\n }\n },\n \"Coord\": {\n \"X\": 741,\n \"Y\": 113,\n \"Width\": 84,\n \"Height\": 18\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"校验码\",\n \"Content\": \"784954\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 728,\n \"Y\": 141\n },\n \"RightTop\": {\n \"X\": 774,\n \"Y\": 141\n },\n \"RightBottom\": {\n \"X\": 774,\n \"Y\": 156\n },\n \"LeftBottom\": {\n \"X\": 728,\n \"Y\": 156\n }\n },\n \"Coord\": {\n \"X\": 729,\n \"Y\": 142,\n \"Width\": 46,\n \"Height\": 15\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"开票日期\",\n \"Content\": \"2022-05-09\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 743,\n \"Y\": 164\n },\n \"RightTop\": {\n \"X\": 824,\n \"Y\": 164\n },\n \"RightBottom\": {\n \"X\": 824,\n \"Y\": 181\n },\n \"LeftBottom\": {\n \"X\": 743,\n \"Y\": 181\n }\n },\n \"Coord\": {\n \"X\": 744,\n \"Y\": 165,\n \"Width\": 81,\n \"Height\": 17\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"金额合计小写\",\n \"Content\": \"107.56\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 695,\n \"Y\": 452\n },\n \"RightTop\": {\n \"X\": 741,\n \"Y\": 452\n },\n \"RightBottom\": {\n \"X\": 741,\n \"Y\": 469\n },\n \"LeftBottom\": {\n \"X\": 695,\n \"Y\": 469\n }\n },\n \"Coord\": {\n \"X\": 696,\n \"Y\": 453,\n \"Width\": 46,\n \"Height\": 17\n }\n }\n },\n {\n \"MedicalInvoiceItems\": {\n \"Name\": \"单位\",\n \"Content\": \"0.00\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 438,\n \"Y\": 634\n },\n \"RightTop\": {\n \"X\": 486,\n \"Y\": 634\n },\n \"RightBottom\": {\n \"X\": 486,\n \"Y\": 652\n },\n \"LeftBottom\": {\n \"X\": 438,\n \"Y\": 652\n }\n },\n \"Coord\": {\n \"X\": 439,\n \"Y\": 635,\n \"Width\": 48,\n \"Height\": 18\n }\n }\n }\n ],\n \"Angle\": 0,\n \"RequestId\": \"cb2ba647-06bd-447d-95c6-7d6264eaa8b0\"\n }\n}",
|
452
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeMedicalInvoiceOCR\nVersion:2018-11-19\nRegion:ap-beijing\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\",\n \"ReturnVertex\": true,\n \"ReturnCoord\": true\n}",
|
453
|
+
"output": "{\n \"Response\": {\n \"MedicalInvoiceInfos\": [\n {\n \"MedicalInvoiceItems\": [\n {\n \"Name\": \"单位\",\n \"Content\": \"0.00\",\n \"Vertex\": {\n \"LeftTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": 0,\n \"Y\": 0\n }\n },\n \"Coord\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 0,\n \"Height\": 0\n }\n }\n ]\n }\n ],\n \"Angle\": 0,\n \"RequestId\": \"cb2ba647-06bd-447d-95c6-7d6264eaa8b0\"\n }\n}",
|
454
454
|
"title": "医疗发票识别示例"
|
455
455
|
}
|
456
456
|
],
|
@@ -544,7 +544,7 @@
|
|
544
544
|
],
|
545
545
|
"ShipInvoiceOCR": [
|
546
546
|
{
|
547
|
-
"document": "",
|
547
|
+
"document": "轮船票识别",
|
548
548
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ShipInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg \"\n}",
|
549
549
|
"output": "{\n \"Response\": {\n \"ShipInvoiceInfos\": [\n {\n \"Name\": \"发票代码\",\n \"Value\": \"144041570120\",\n \"Rect\": {\n \"X\": 217,\n \"Y\": 233,\n \"Width\": 170,\n \"Height\": 21\n }\n },\n {\n \"Name\": \"发票号码\",\n \"Value\": \"00910368\",\n \"Rect\": {\n \"X\": 221,\n \"Y\": 260,\n \"Width\": 111,\n \"Height\": 22\n }\n },\n {\n \"Name\": \"日期\",\n \"Value\": \"2015年11月20日\",\n \"Rect\": {\n \"X\": 167,\n \"Y\": 334,\n \"Width\": 199,\n \"Height\": 27\n }\n },\n {\n \"Name\": \"始发地\",\n \"Value\": \"九洲港\",\n \"Rect\": {\n \"X\": 140,\n \"Y\": 290,\n \"Width\": 69,\n \"Height\": 25\n }\n },\n {\n \"Name\": \"目的地\",\n \"Value\": \"中港城码头\",\n \"Rect\": {\n \"X\": 289,\n \"Y\": 289,\n \"Width\": 116,\n \"Height\": 28\n }\n },\n {\n \"Name\": \"票价\",\n \"Value\": \"175.00\",\n \"Rect\": {\n \"X\": 152,\n \"Y\": 372,\n \"Width\": 61,\n \"Height\": 19\n }\n }\n ],\n \"Angle\": 351,\n \"RequestId\": \"64fd29cc-dcc4-459b-a5bd-71fb8abfd500\"\n }\n}",
|
550
550
|
"title": "轮船票识别示例代码"
|
@@ -568,7 +568,7 @@
|
|
568
568
|
],
|
569
569
|
"TaxiInvoiceOCR": [
|
570
570
|
{
|
571
|
-
"document": "",
|
571
|
+
"document": "出租车发票识别",
|
572
572
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TaxiInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\"\n}",
|
573
573
|
"output": "{\n \"Response\": {\n \"InvoiceNum\": \"134031321361\",\n \"InvoiceCode\": \"15326798\",\n \"Date\": \"2018年05月17日\",\n \"Fare\": \"19.00\",\n \"GetOnTime\": \"16:09\",\n \"GetOffTime\": \"16:32\",\n \"Distance\": \"9.37\",\n \"Location\": \"安徽省蚌埠市\",\n \"PlateNumber\": \"C-82851\",\n \"InvoiceType\": \"交通\",\n \"Province\": \"安徽省\",\n \"City\": \"蚌埠市\",\n \"RequestId\": \"51766e5b-5382-4480-b517-c893cfaac7f9\"\n }\n}",
|
574
574
|
"title": "出租车发票识别示例代码"
|
@@ -584,7 +584,7 @@
|
|
584
584
|
],
|
585
585
|
"TollInvoiceOCR": [
|
586
586
|
{
|
587
|
-
"document": "",
|
587
|
+
"document": "过路过桥费发票识别",
|
588
588
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TollInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg \"\n}",
|
589
589
|
"output": "{\n \"Response\": {\n \"TollInvoiceInfos\": [\n {\n \"Name\": \"发票代码\",\n \"Value\": \"144700221\",\n \"Rect\": {\n \"X\": 231,\n \"Y\": 178,\n \"Width\": 181,\n \"Height\": 21\n }\n },\n {\n \"Name\": \"发票号码\",\n \"Value\": \"2737827\",\n \"Rect\": {\n \"X\": 232,\n \"Y\": 212,\n \"Width\": 130,\n \"Height\": 26\n }\n },\n {\n \"Name\": \"日期\",\n \"Value\": \"18/08/07\",\n \"Rect\": {\n \"X\": 277,\n \"Y\": 426,\n \"Width\": 174,\n \"Height\": 20\n }\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"5\",\n \"Rect\": {\n \"X\": 192,\n \"Y\": 426,\n \"Width\": 13,\n \"Height\": 19\n }\n },\n {\n \"Name\": \"入口\",\n \"Value\": \"前海\",\n \"Rect\": {\n \"X\": 194,\n \"Y\": 286,\n \"Width\": 33,\n \"Height\": 21\n }\n },\n {\n \"Name\": \"出口\",\n \"Value\": \"大铲湾\",\n \"Rect\": {\n \"X\": 302,\n \"Y\": 287,\n \"Width\": 52,\n \"Height\": 20\n }\n }\n ],\n \"Angle\": 0,\n \"RequestId\": \"e1d01d6e-a2cd-475b-8dd4-3655b61c8b7a\"\n }\n}",
|
590
590
|
"title": "过路过桥费发票识别示例代码"
|
@@ -592,7 +592,7 @@
|
|
592
592
|
],
|
593
593
|
"TrainTicketOCR": [
|
594
594
|
{
|
595
|
-
"document": "",
|
595
|
+
"document": "火车票识别",
|
596
596
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TrainTicketOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\"\n}",
|
597
597
|
"output": "{\n \"Response\": {\n \"TicketNum\": \"17C060124\",\n \"StartStation\": \"南京南\",\n \"DestinationStation\": \"上海虹桥\",\n \"Date\": \"2017年12月23日10:33\",\n \"TrainNum\": \"G5\",\n \"Seat\": \"15车18A号\",\n \"Name\": \"周周\",\n \"Price\": \"134.50\",\n \"SeatCategory\": \"二等座\",\n \"ID\": \"3210231993****6499\",\n \"InvoiceType\": \"交通\",\n \"SerialNumber\": \"16804000071224C060124\",\n \"AdditionalCost\": \"2.00\",\n \"HandlingFee\": \"5.00\",\n \"LegalAmount\": \"贰元\",\n \"TicketStation\": \"成都客运段\",\n \"OriginalPrice\": \"83.50\",\n \"InvoiceStyle\": \"火车票补票\",\n \"ReceiptNumber\": \"\",\n \"IsReceipt\": \"0\",\n \"RequestId\": \"9084dec6-dae4-455f-976c-8e3609e86920\"\n }\n}",
|
598
598
|
"title": "火车票识别示例代码"
|
@@ -624,7 +624,7 @@
|
|
624
624
|
],
|
625
625
|
"VatRollInvoiceOCR": [
|
626
626
|
{
|
627
|
-
"document": "",
|
627
|
+
"document": "增值税发票(卷票)识别",
|
628
628
|
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VatRollInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg \"\n}",
|
629
629
|
"output": "{\n \"Response\": {\n \"VatRollInvoiceInfos\": [\n {\n \"Name\": \"发票代码\",\n \"Value\": \"033000101\",\n \"Rect\": {\n \"X\": 67,\n \"Y\": 246,\n \"Width\": 324,\n \"Height\": 25\n }\n },\n {\n \"Name\": \"发票号码\",\n \"Value\": \"14547954\",\n \"Rect\": {\n \"X\": 67,\n \"Y\": 281,\n \"Width\": 253,\n \"Height\": 27\n }\n },\n {\n \"Name\": \"销售方识别号\",\n \"Value\": \"9133974410525\",\n \"Rect\": {\n \"X\": 216,\n \"Y\": 404,\n \"Width\": 202,\n \"Height\": 21\n }\n },\n {\n \"Name\": \"开票日期\",\n \"Value\": \"2019-07-14\",\n \"Rect\": {\n \"X\": 168,\n \"Y\": 428,\n \"Width\": 193,\n \"Height\": 22\n }\n },\n {\n \"Name\": \"购买方识别号\",\n \"Value\": \"913302572467\",\n \"Rect\": {\n \"X\": 215,\n \"Y\": 513,\n \"Width\": 203,\n \"Height\": 21\n }\n },\n {\n \"Name\": \"合计金额(小写)\",\n \"Value\": \"¥200.00\",\n \"Rect\": {\n \"X\": 203,\n \"Y\": 1022,\n \"Width\": 87,\n \"Height\": 23\n }\n },\n {\n \"Name\": \"合计金额(大写)\",\n \"Value\": \"贰佰圆整\",\n \"Rect\": {\n \"X\": 201,\n \"Y\": 1051,\n \"Width\": 87,\n \"Height\": 23\n }\n },\n {\n \"Name\": \"校验码\",\n \"Value\": \"839310540000\",\n \"Rect\": {\n \"X\": 183,\n \"Y\": 1081,\n \"Width\": 220,\n \"Height\": 20\n }\n }\n ],\n \"Angle\": 0,\n \"RequestId\": \"a0513eeb-6747-4a35-91ad-addcd1392896\"\n }\n}",
|
630
630
|
"title": "增值税发票(卷票)识别示例代码"
|