tccli 3.0.1215.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/configure.py +46 -1
- 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 -3
- 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 +118 -4
- tccli/services/asr/v20190614/api.json +21 -20
- 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 +80 -4
- tccli/services/bi/v20220105/examples.json +1 -1
- tccli/services/billing/billing_client.py +53 -0
- tccli/services/billing/v20180709/api.json +330 -24
- tccli/services/billing/v20180709/examples.json +8 -0
- tccli/services/bsca/v20210811/api.json +223 -18
- tccli/services/bsca/v20210811/examples.json +4 -4
- 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/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +541 -325
- tccli/services/ccc/v20200210/examples.json +26 -18
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +308 -274
- 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/cdn/v20180606/api.json +5 -3
- 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 +54 -4
- 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 +1895 -2011
- tccli/services/cfw/v20190904/examples.json +175 -171
- tccli/services/ciam/v20220331/api.json +316 -315
- tccli/services/ciam/v20220331/examples.json +49 -49
- 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/cloudaudit_client.py +30 -30
- tccli/services/cloudaudit/v20190319/api.json +254 -211
- tccli/services/cloudaudit/v20190319/examples.json +19 -19
- 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 +935 -147
- tccli/services/cls/v20201016/examples.json +43 -5
- tccli/services/csip/v20221121/api.json +2566 -2386
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +191 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6498 -6252
- tccli/services/cwp/v20180228/examples.json +372 -412
- tccli/services/cynosdb/v20190107/api.json +170 -110
- tccli/services/cynosdb/v20190107/examples.json +91 -91
- tccli/services/dasb/v20191018/api.json +859 -637
- 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/domain/v20180808/api.json +3 -3
- tccli/services/domain/v20180808/examples.json +3 -3
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/eb/v20210416/api.json +15 -15
- tccli/services/eb/v20210416/examples.json +1 -1
- 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/es_client.py +249 -37
- tccli/services/es/v20180416/api.json +550 -0
- tccli/services/es/v20180416/examples.json +33 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +192 -38
- tccli/services/ess/v20201111/examples.json +35 -9
- tccli/services/essbasic/essbasic_client.py +106 -0
- tccli/services/essbasic/v20210526/api.json +287 -60
- tccli/services/essbasic/v20210526/examples.json +58 -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/gaap/v20180529/api.json +44 -26
- tccli/services/gaap/v20180529/examples.json +24 -30
- 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 +73 -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 +279 -9
- 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 +10 -12
- 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 +2263 -758
- 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/organization_client.py +352 -34
- tccli/services/organization/v20210331/api.json +464 -4
- tccli/services/organization/v20210331/examples.json +49 -1
- 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/region/v20220627/api.json +1 -1
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/scf_client.py +269 -4
- tccli/services/scf/v20180416/api.json +569 -15
- tccli/services/scf/v20180416/examples.json +47 -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 +98 -5
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +124 -122
- tccli/services/tat/v20201028/examples.json +24 -30
- 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 +1984 -1437
- tccli/services/tcss/v20201101/examples.json +350 -368
- tccli/services/tdmq/v20200217/api.json +603 -464
- tccli/services/tdmq/v20200217/examples.json +105 -105
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +429 -372
- tccli/services/tem/v20210701/examples.json +85 -85
- tccli/services/teo/teo_client.py +277 -12
- tccli/services/teo/v20220901/api.json +1029 -124
- tccli/services/teo/v20220901/examples.json +84 -8
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +270 -58
- tccli/services/tke/v20180525/api.json +79 -27
- tccli/services/tke/v20180525/examples.json +9 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tms/tms_client.py +4 -57
- tccli/services/tms/v20201229/api.json +0 -354
- tccli/services/tms/v20201229/examples.json +0 -8
- 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 +293 -52
- 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 +1195 -892
- tccli/services/vpc/v20170312/examples.json +84 -68
- tccli/services/vpc/vpc_client.py +168 -62
- tccli/services/waf/v20180125/api.json +2611 -2187
- tccli/services/waf/v20180125/examples.json +224 -284
- tccli/services/waf/waf_client.py +225 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +1595 -25
- tccli/services/wedata/v20210820/examples.json +44 -4
- tccli/services/wedata/wedata_client.py +265 -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.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +6 -2
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +278 -265
- tccli/services/cr/__init__.py +0 -4
- tccli/services/cr/cr_client.py +0 -1626
- tccli/services/cr/v20180321/api.json +0 -2829
- tccli/services/cr/v20180321/examples.json +0 -235
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -2,10 +2,10 @@
|
|
2
2
|
"actions": {
|
3
3
|
"AdvertiseOCR": [
|
4
4
|
{
|
5
|
-
"document": "",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AdvertiseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
7
|
-
"output": "{\n \"Response\": {\n \"TextDetections\": [\n {\n \"
|
8
|
-
"title": "
|
5
|
+
"document": " [ 前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Action=AdvertiseOCR)",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AdvertiseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/AdvertiseOCR/AdvertiseOCR1.jpg\"\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"ImageSize\": {\n \"Height\": 800,\n \"Width\": 800\n },\n \"RequestId\": \"72162aef-f8b6-4247-8efc-53e80311189d\",\n \"TextDetections\": [\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":0}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"永葆容颜\",\n \"Polygon\": [\n {\n \"X\": 228,\n \"Y\": 48\n },\n {\n \"X\": 566,\n \"Y\": 48\n },\n {\n \"X\": 566,\n \"Y\": 169\n },\n {\n \"X\": 228,\n \"Y\": 169\n }\n ]\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":0}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"CHERISH THE ACHIEVEMENTS OF LUXURY\",\n \"Polygon\": [\n {\n \"X\": 223,\n \"Y\": 166\n },\n {\n \"X\": 569,\n \"Y\": 167\n },\n {\n \"X\": 569,\n \"Y\": 194\n },\n {\n \"X\": 223,\n \"Y\": 192\n }\n ]\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":0}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"源于.自然的恩惠\",\n \"Polygon\": [\n {\n \"X\": 301,\n \"Y\": 219\n },\n {\n \"X\": 494,\n \"Y\": 219\n },\n {\n \"X\": 494,\n \"Y\": 246\n },\n {\n \"X\": 301,\n \"Y\": 246\n }\n ]\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":0}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"化妆品荣誉产品全场7折起售\",\n \"Polygon\": [\n {\n \"X\": 232,\n \"Y\": 257\n },\n {\n \"X\": 562,\n \"Y\": 257\n },\n {\n \"X\": 562,\n \"Y\": 287\n },\n {\n \"X\": 232,\n \"Y\": 287\n }\n ]\n },\n {\n \"AdvancedInfo\": \"{\\\"Parag\\\":{\\\"ParagNo\\\":0}}\",\n \"Confidence\": 100,\n \"DetectedText\": \"FOUDATION\",\n \"Polygon\": [\n {\n \"X\": 407,\n \"Y\": 600\n },\n {\n \"X\": 407,\n \"Y\": 766\n },\n {\n \"X\": 383,\n \"Y\": 766\n },\n {\n \"X\": 383,\n \"Y\": 600\n }\n ]\n }\n ]\n }\n}",
|
8
|
+
"title": "AdvertiseOCR调用"
|
9
9
|
}
|
10
10
|
],
|
11
11
|
"ArithmeticOCR": [
|
@@ -19,15 +19,15 @@
|
|
19
19
|
"BankCardOCR": [
|
20
20
|
{
|
21
21
|
"document": "",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BankCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
23
|
-
"output": "{\n \"Response\": {\n \"BankInfo\": \"招商银行(03080000)\",\n \"
|
24
|
-
"title": "
|
22
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BankCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/BankCardOCR/BankCardOCR1.jpg\"\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"BankInfo\": \"招商银行(03080000)\",\n \"BorderCutImage\": null,\n \"CardName\": \"招商银行信用卡\",\n \"CardNo\": \"6225768888888888\",\n \"CardNoImage\": null,\n \"CardType\": \"贷记卡\",\n \"QualityValue\": null,\n \"RequestId\": \"4a4438c5-09ff-4031-945c-17000ba4542d\",\n \"ValidDate\": \"07/2023\",\n \"WarningCode\": null\n }\n}",
|
24
|
+
"title": "BankCardOCR调用"
|
25
25
|
}
|
26
26
|
],
|
27
27
|
"BankSlipOCR": [
|
28
28
|
{
|
29
29
|
"document": "银行回单识别",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BankSlipOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
30
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BankSlipOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.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": "银行回单识别示例代码"
|
33
33
|
}
|
@@ -35,15 +35,15 @@
|
|
35
35
|
"BizLicenseOCR": [
|
36
36
|
{
|
37
37
|
"document": "营业执照识别示例",
|
38
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BizLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
39
|
-
"output": "{\n \"Response\": {\n \"Address\": \"深圳市南山区高新区高新南一路飞亚达大厦\",\n \"Angle\": 0,\n \"Business\": \"计算机软、硬件的设计、技术开发、销售(不含专营、专控、专卖商品及限制项目)
|
38
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BizLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/BizLicenseOCR/BizLicenseOCR1.jpg\"\n}",
|
39
|
+
"output": "{\n \"Response\": {\n \"Address\": \"深圳市南山区高新区高新南一路飞亚达大厦\",\n \"Angle\": 0.09112373739480972,\n \"Business\": \"计算机软、硬件的设计、技术开发、销售(不含专营、专控、专卖商品及限制项目);数据库及计算机网络服务;国内商业、物资供销业(不含专营、专控、专卖商品)\",\n \"Capital\": \"人民币柒仟万\",\n \"ComposingForm\": \"\",\n \"Electronic\": false,\n \"IsDuplication\": 1,\n \"Name\": \"杭州市魔乐计算机有限公司\",\n \"NationalEmblem\": true,\n \"Period\": \"1998年11月至长期\",\n \"Person\": \"毛华\",\n \"QRCode\": true,\n \"RecognizeWarnCode\": [],\n \"RecognizeWarnMsg\": [],\n \"RegNum\": \"110000012345678\",\n \"RegistrationAuthority\": \"广东省工商行政管理局\",\n \"RegistrationDate\": \"1998年11月13日\",\n \"RequestId\": \"86356cbe-afd6-4b26-b916-7fdb1fd3a9a7\",\n \"Seal\": true,\n \"SerialNumber\": \"\",\n \"SetDate\": \"1998年11月\",\n \"Title\": \"营业执照\",\n \"Type\": \"有限责任公司\"\n }\n}",
|
40
40
|
"title": "营业执照识别示例代码"
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"BusInvoiceOCR": [
|
44
44
|
{
|
45
45
|
"document": "汽车票识别",
|
46
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BusInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
46
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BusInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.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": "汽车票识别示例代码"
|
49
49
|
}
|
@@ -51,15 +51,15 @@
|
|
51
51
|
"BusinessCardOCR": [
|
52
52
|
{
|
53
53
|
"document": "",
|
54
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BusinessCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
55
|
-
"output": "{\n \"Response\": {\n \"
|
56
|
-
"title": "
|
54
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BusinessCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/BusinessCardOCR/BusinessCardOCR1.jpg\"\n}",
|
55
|
+
"output": "{\n \"Response\": {\n \"Angle\": 0,\n \"BusinessCardInfos\": [\n {\n \"ItemCoord\": {\n \"Height\": 36,\n \"Width\": 67,\n \"X\": 68,\n \"Y\": 47\n },\n \"Name\": \"姓名\",\n \"Value\": \"李明\"\n },\n {\n \"ItemCoord\": {\n \"Height\": 23,\n \"Width\": 201,\n \"X\": 67,\n \"Y\": 103\n },\n \"Name\": \"职位\",\n \"Value\": \"优图研发中心工程师\"\n },\n {\n \"ItemCoord\": {\n \"Height\": 22,\n \"Width\": 379,\n \"X\": 103,\n \"Y\": 302\n },\n \"Name\": \"地址\",\n \"Value\": \"上海市徐汇区田林路397号腾云大厦6F\"\n },\n {\n \"ItemCoord\": {\n \"Height\": 21,\n \"Width\": 184,\n \"X\": 290,\n \"Y\": 270\n },\n \"Name\": \"邮箱\",\n \"Value\": \"abc8888@qq.com\"\n },\n {\n \"ItemCoord\": {\n \"Height\": 23,\n \"Width\": 226,\n \"X\": 118,\n \"Y\": 233\n },\n \"Name\": \"手机\",\n \"Value\": \"+86-185-8907-2228\"\n },\n {\n \"ItemCoord\": {\n \"Height\": 21,\n \"Width\": 101,\n \"X\": 93,\n \"Y\": 268\n },\n \"Name\": \"QQ\",\n \"Value\": \"888888\"\n }\n ],\n \"RequestId\": \"83b207b2-b5e4-4084-b3fe-f9018d58bef0\",\n \"RetImageBase64\": \"\"\n }\n}",
|
56
|
+
"title": "BusinessCardOCR调用"
|
57
57
|
}
|
58
58
|
],
|
59
59
|
"CarInvoiceOCR": [
|
60
60
|
{
|
61
61
|
"document": "购车发票识别",
|
62
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CarInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
62
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CarInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
63
63
|
"output": "{\n \"Response\": {\n \"CarInvoiceInfos\": [\n {\n \"Name\": \"不含税价(小写)\",\n \"Value\": \"¥34188.03\",\n \"Rect\": {\n \"X\": 232,\n \"Y\": 802,\n \"Width\": 121,\n \"Height\": 22\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 227,\n \"Y\": 801\n },\n \"RightTop\": {\n \"X\": 355,\n \"Y\": 801\n },\n \"RightBottom\": {\n \"X\": 355,\n \"Y\": 822\n },\n \"LeftBottom\": {\n \"X\": 227,\n \"Y\": 822\n }\n }\n },\n {\n \"Name\": \"主管税务机关\",\n \"Value\": \"云南省保山市隆阳区国家税务局\",\n \"Rect\": {\n \"X\": 673,\n \"Y\": 740,\n \"Width\": 229,\n \"Height\": 21\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 672,\n \"Y\": 738\n },\n \"RightTop\": {\n \"X\": 901,\n \"Y\": 737\n },\n \"RightBottom\": {\n \"X\": 901,\n \"Y\": 758\n },\n \"LeftBottom\": {\n \"X\": 672,\n \"Y\": 759\n }\n }\n },\n {\n \"Name\": \"主管税务机关代码\",\n \"Value\": \"153050200\",\n \"Rect\": {\n \"X\": 676,\n \"Y\": 765,\n \"Width\": 106,\n \"Height\": 20\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 671,\n \"Y\": 763\n },\n \"RightTop\": {\n \"X\": 784,\n \"Y\": 763\n },\n \"RightBottom\": {\n \"X\": 784,\n \"Y\": 782\n },\n \"LeftBottom\": {\n \"X\": 671,\n \"Y\": 782\n }\n }\n },\n {\n \"Name\": \"产地\",\n \"Value\": \"湖南\",\n \"Rect\": {\n \"X\": 830,\n \"Y\": 443,\n \"Width\": 35,\n \"Height\": 19\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 825,\n \"Y\": 441\n },\n \"RightTop\": {\n \"X\": 865,\n \"Y\": 441\n },\n \"RightBottom\": {\n \"X\": 865,\n \"Y\": 459\n },\n \"LeftBottom\": {\n \"X\": 825,\n \"Y\": 459\n }\n }\n },\n {\n \"Name\": \"价税合计\",\n \"Value\": \"肆万圆整\",\n \"Rect\": {\n \"X\": 237,\n \"Y\": 572,\n \"Width\": 68,\n \"Height\": 20\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 232,\n \"Y\": 571\n },\n \"RightTop\": {\n \"X\": 307,\n \"Y\": 571\n },\n \"RightBottom\": {\n \"X\": 307,\n \"Y\": 590\n },\n \"LeftBottom\": {\n \"X\": 232,\n \"Y\": 590\n }\n }\n },\n {\n \"Name\": \"价税合计(小写)\",\n \"Value\": \"¥40000.00\",\n \"Rect\": {\n \"X\": 787,\n \"Y\": 571,\n \"Width\": 117,\n \"Height\": 22\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 782,\n \"Y\": 569\n },\n \"RightTop\": {\n \"X\": 906,\n \"Y\": 568\n },\n \"RightBottom\": {\n \"X\": 906,\n \"Y\": 589\n },\n \"LeftBottom\": {\n \"X\": 782,\n \"Y\": 590\n }\n }\n },\n {\n \"Name\": \"厂牌型号\",\n \"Value\": \"北京牌BJ6442L4SHB\",\n \"Rect\": {\n \"X\": 468,\n \"Y\": 442,\n \"Width\": 143,\n \"Height\": 20\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 462,\n \"Y\": 441\n },\n \"RightTop\": {\n \"X\": 612,\n \"Y\": 440\n },\n \"RightBottom\": {\n \"X\": 612,\n \"Y\": 459\n },\n \"LeftBottom\": {\n \"X\": 462,\n \"Y\": 460\n }\n }\n },\n {\n \"Name\": \"发动机号码\",\n \"Value\": \"1740067437WU\",\n \"Rect\": {\n \"X\": 192,\n \"Y\": 526,\n \"Width\": 99,\n \"Height\": 18\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 188,\n \"Y\": 525\n },\n \"RightTop\": {\n \"X\": 292,\n \"Y\": 525\n },\n \"RightBottom\": {\n \"X\": 292,\n \"Y\": 542\n },\n \"LeftBottom\": {\n \"X\": 188,\n \"Y\": 542\n }\n }\n },\n {\n \"Name\": \"发票代码\",\n \"Value\": \"153001720011\",\n \"Rect\": {\n \"X\": 814,\n \"Y\": 152,\n \"Width\": 157,\n \"Height\": 23\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 808,\n \"Y\": 150\n },\n \"RightTop\": {\n \"X\": 972,\n \"Y\": 149\n },\n \"RightBottom\": {\n \"X\": 972,\n \"Y\": 171\n },\n \"LeftBottom\": {\n \"X\": 808,\n \"Y\": 172\n }\n }\n },\n {\n \"Name\": \"发票号码\",\n \"Value\": \"00880890\",\n \"Rect\": {\n \"X\": 815,\n \"Y\": 182,\n \"Width\": 106,\n \"Height\": 23\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 809,\n \"Y\": 180\n },\n \"RightTop\": {\n \"X\": 922,\n \"Y\": 179\n },\n \"RightBottom\": {\n \"X\": 922,\n \"Y\": 201\n },\n \"LeftBottom\": {\n \"X\": 809,\n \"Y\": 202\n }\n }\n },\n {\n \"Name\": \"发票消费类型\",\n \"Value\": \"用车\",\n \"Rect\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 0,\n \"Height\": 0\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"LeftBottom\": {\n \"X\": -2,\n \"Y\": 0\n }\n }\n },\n {\n \"Name\": \"合格证号\",\n \"Value\": \"YJ66X5000040829\",\n \"Rect\": {\n \"X\": 193,\n \"Y\": 485,\n \"Width\": 123,\n \"Height\": 20\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 187,\n \"Y\": 484\n },\n \"RightTop\": {\n \"X\": 317,\n \"Y\": 484\n },\n \"RightBottom\": {\n \"X\": 318,\n \"Y\": 503\n },\n \"LeftBottom\": {\n \"X\": 188,\n \"Y\": 503\n }\n }\n },\n {\n \"Name\": \"吨位\",\n \"Value\": \"1790\",\n \"Rect\": {\n \"X\": 781,\n \"Y\": 804,\n \"Width\": 34,\n \"Height\": 17\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 780,\n \"Y\": 802\n },\n \"RightTop\": {\n \"X\": 814,\n \"Y\": 802\n },\n \"RightBottom\": {\n \"X\": 814,\n \"Y\": 819\n },\n \"LeftBottom\": {\n \"X\": 780,\n \"Y\": 819\n }\n }\n },\n {\n \"Name\": \"增值税税率或征收率\",\n \"Value\": \"17%\",\n \"Rect\": {\n \"X\": 188,\n \"Y\": 753,\n \"Width\": 35,\n \"Height\": 20\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 183,\n \"Y\": 752\n },\n \"RightTop\": {\n \"X\": 225,\n \"Y\": 752\n },\n \"RightBottom\": {\n \"X\": 225,\n \"Y\": 771\n },\n \"LeftBottom\": {\n \"X\": 183,\n \"Y\": 771\n }\n }\n },\n {\n \"Name\": \"增值税税额\",\n \"Value\": \"¥5811.97\",\n \"Rect\": {\n \"X\": 396,\n \"Y\": 753,\n \"Width\": 106,\n \"Height\": 21\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 391,\n \"Y\": 752\n },\n \"RightTop\": {\n \"X\": 504,\n \"Y\": 751\n },\n \"RightBottom\": {\n \"X\": 504,\n \"Y\": 771\n },\n \"LeftBottom\": {\n \"X\": 391,\n \"Y\": 772\n }\n }\n },\n {\n \"Name\": \"备注\",\n \"Value\": \"一车一票\",\n \"Rect\": {\n \"X\": 786,\n \"Y\": 841,\n \"Width\": 75,\n \"Height\": 22\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 781,\n \"Y\": 839\n },\n \"RightTop\": {\n \"X\": 863,\n \"Y\": 839\n },\n \"RightBottom\": {\n \"X\": 863,\n \"Y\": 860\n },\n \"LeftBottom\": {\n \"X\": 781,\n \"Y\": 860\n }\n }\n },\n {\n \"Name\": \"开票人\",\n \"Value\": \"艾米\",\n \"Rect\": {\n \"X\": 484,\n \"Y\": 841,\n \"Width\": 37,\n \"Height\": 21\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 479,\n \"Y\": 840\n },\n \"RightTop\": {\n \"X\": 523,\n \"Y\": 839\n },\n \"RightBottom\": {\n \"X\": 523,\n \"Y\": 859\n },\n \"LeftBottom\": {\n \"X\": 479,\n \"Y\": 860\n }\n }\n },\n {\n \"Name\": \"开票日期\",\n \"Value\": \"2017-07-31\",\n \"Rect\": {\n \"X\": 144,\n \"Y\": 201,\n \"Width\": 118,\n \"Height\": 20\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 138,\n \"Y\": 200\n },\n \"RightTop\": {\n \"X\": 263,\n \"Y\": 200\n },\n \"RightBottom\": {\n \"X\": 263,\n \"Y\": 219\n },\n \"LeftBottom\": {\n \"X\": 138,\n \"Y\": 219\n }\n }\n },\n {\n \"Name\": \"机器编号\",\n \"Value\": \"889903434116\",\n \"Rect\": {\n \"X\": 201,\n \"Y\": 320,\n \"Width\": 143,\n \"Height\": 21\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 195,\n \"Y\": 319\n },\n \"RightTop\": {\n \"X\": 345,\n \"Y\": 319\n },\n \"RightBottom\": {\n \"X\": 345,\n \"Y\": 339\n },\n \"LeftBottom\": {\n \"X\": 195,\n \"Y\": 339\n }\n }\n },\n {\n \"Name\": \"机打代码\",\n \"Value\": \"153001720011\",\n \"Rect\": {\n \"X\": 204,\n \"Y\": 254,\n \"Width\": 139,\n \"Height\": 21\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 198,\n \"Y\": 253\n },\n \"RightTop\": {\n \"X\": 344,\n \"Y\": 253\n },\n \"RightBottom\": {\n \"X\": 344,\n \"Y\": 273\n },\n \"LeftBottom\": {\n \"X\": 198,\n \"Y\": 273\n }\n }\n },\n {\n \"Name\": \"机打号码\",\n \"Value\": \"00880890\",\n \"Rect\": {\n \"X\": 203,\n \"Y\": 287,\n \"Width\": 95,\n \"Height\": 20\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 197,\n \"Y\": 286\n },\n \"RightTop\": {\n \"X\": 299,\n \"Y\": 286\n },\n \"RightBottom\": {\n \"X\": 299,\n \"Y\": 305\n },\n \"LeftBottom\": {\n \"X\": 197,\n \"Y\": 305\n }\n }\n },\n {\n \"Name\": \"省\",\n \"Value\": \"云南省\",\n \"Rect\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 0,\n \"Height\": 0\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"LeftBottom\": {\n \"X\": -2,\n \"Y\": 0\n }\n }\n },\n {\n \"Name\": \"购买方名称\",\n \"Value\": \"李明\",\n \"Rect\": {\n \"X\": 195,\n \"Y\": 378,\n \"Width\": 33,\n \"Height\": 20\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 189,\n \"Y\": 377\n },\n \"RightTop\": {\n \"X\": 229,\n \"Y\": 377\n },\n \"RightBottom\": {\n \"X\": 229,\n \"Y\": 396\n },\n \"LeftBottom\": {\n \"X\": 189,\n \"Y\": 396\n }\n }\n },\n {\n \"Name\": \"身份证号码/组织机构代码\",\n \"Value\": \"440524198701010014\",\n \"Rect\": {\n \"X\": 191,\n \"Y\": 404,\n \"Width\": 217,\n \"Height\": 21\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 185,\n \"Y\": 403\n },\n \"RightTop\": {\n \"X\": 409,\n \"Y\": 403\n },\n \"RightBottom\": {\n \"X\": 409,\n \"Y\": 423\n },\n \"LeftBottom\": {\n \"X\": 185,\n \"Y\": 423\n }\n }\n },\n {\n \"Name\": \"车辆类型\",\n \"Value\": \"多用途乘用车\",\n \"Rect\": {\n \"X\": 193,\n \"Y\": 439,\n \"Width\": 98,\n \"Height\": 21\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 191,\n \"Y\": 438\n },\n \"RightTop\": {\n \"X\": 289,\n \"Y\": 438\n },\n \"RightBottom\": {\n \"X\": 289,\n \"Y\": 459\n },\n \"LeftBottom\": {\n \"X\": 191,\n \"Y\": 459\n }\n }\n },\n {\n \"Name\": \"车辆识别代号/车架号码\",\n \"Value\": \"LNBMDLAA6HR894143\",\n \"Rect\": {\n \"X\": 692,\n \"Y\": 528,\n \"Width\": 200,\n \"Height\": 20\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 687,\n \"Y\": 526\n },\n \"RightTop\": {\n \"X\": 894,\n \"Y\": 525\n },\n \"RightBottom\": {\n \"X\": 894,\n \"Y\": 544\n },\n \"LeftBottom\": {\n \"X\": 687,\n \"Y\": 545\n }\n }\n },\n {\n \"Name\": \"销售方地址\",\n \"Value\": \"保山市隆阳区学府路(市公安局对面)\",\n \"Rect\": {\n \"X\": 188,\n \"Y\": 702,\n \"Width\": 271,\n \"Height\": 22\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 187,\n \"Y\": 701\n },\n \"RightTop\": {\n \"X\": 458,\n \"Y\": 701\n },\n \"RightBottom\": {\n \"X\": 458,\n \"Y\": 723\n },\n \"LeftBottom\": {\n \"X\": 187,\n \"Y\": 723\n }\n }\n },\n {\n \"Name\": \"销售方开户银行\",\n \"Value\": \"富滇银行股份有限公司保山分行营业部\",\n \"Rect\": {\n \"X\": 631,\n \"Y\": 703,\n \"Width\": 281,\n \"Height\": 22\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 630,\n \"Y\": 701\n },\n \"RightTop\": {\n \"X\": 911,\n \"Y\": 700\n },\n \"RightBottom\": {\n \"X\": 911,\n \"Y\": 722\n },\n \"LeftBottom\": {\n \"X\": 630,\n \"Y\": 723\n }\n }\n },\n {\n \"Name\": \"销售方电话\",\n \"Value\": \"0875-2886877\",\n \"Rect\": {\n \"X\": 714,\n \"Y\": 613,\n \"Width\": 102,\n \"Height\": 18\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 710,\n \"Y\": 611\n },\n \"RightTop\": {\n \"X\": 817,\n \"Y\": 611\n },\n \"RightBottom\": {\n \"X\": 817,\n \"Y\": 628\n },\n \"LeftBottom\": {\n \"X\": 710,\n \"Y\": 628\n }\n }\n },\n {\n \"Name\": \"销售方纳税人识别号\",\n \"Value\": \"91530502351889446U\",\n \"Rect\": {\n \"X\": 190,\n \"Y\": 658,\n \"Width\": 214,\n \"Height\": 21\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 185,\n \"Y\": 657\n },\n \"RightTop\": {\n \"X\": 406,\n \"Y\": 657\n },\n \"RightBottom\": {\n \"X\": 406,\n \"Y\": 677\n },\n \"LeftBottom\": {\n \"X\": 185,\n \"Y\": 677\n }\n }\n },\n {\n \"Name\": \"销售方账号\",\n \"Value\": \"990244090110110110\",\n \"Rect\": {\n \"X\": 714,\n \"Y\": 658,\n \"Width\": 155,\n \"Height\": 18\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 710,\n \"Y\": 656\n },\n \"RightTop\": {\n \"X\": 870,\n \"Y\": 656\n },\n \"RightBottom\": {\n \"X\": 870,\n \"Y\": 673\n },\n \"LeftBottom\": {\n \"X\": 710,\n \"Y\": 673\n }\n }\n },\n {\n \"Name\": \"销货单位名称\",\n \"Value\": \"保山汽车销售服务有限公司\",\n \"Rect\": {\n \"X\": 191,\n \"Y\": 614,\n \"Width\": 196,\n \"Height\": 21\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 186,\n \"Y\": 613\n },\n \"RightTop\": {\n \"X\": 389,\n \"Y\": 613\n },\n \"RightBottom\": {\n \"X\": 389,\n \"Y\": 633\n },\n \"LeftBottom\": {\n \"X\": 186,\n \"Y\": 633\n }\n }\n },\n {\n \"Name\": \"限乘人数\",\n \"Value\": \"7\",\n \"Rect\": {\n \"X\": 904,\n \"Y\": 805,\n \"Width\": 10,\n \"Height\": 16\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": 900,\n \"Y\": 802\n },\n \"RightTop\": {\n \"X\": 915,\n \"Y\": 802\n },\n \"RightBottom\": {\n \"X\": 915,\n \"Y\": 817\n },\n \"LeftBottom\": {\n \"X\": 900,\n \"Y\": 817\n }\n }\n },\n {\n \"Name\": \"进口证明书号\",\n \"Value\": \"\",\n \"Rect\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 0,\n \"Height\": 0\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"LeftBottom\": {\n \"X\": -2,\n \"Y\": 0\n }\n }\n },\n {\n \"Name\": \"购买方纳税人识别号\",\n \"Value\": \"\",\n \"Rect\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 0,\n \"Height\": 0\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"LeftBottom\": {\n \"X\": -2,\n \"Y\": 0\n }\n }\n },\n {\n \"Name\": \"商检单号\",\n \"Value\": \"\",\n \"Rect\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 0,\n \"Height\": 0\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"LeftBottom\": {\n \"X\": -2,\n \"Y\": 0\n }\n }\n },\n {\n \"Name\": \"市\",\n \"Value\": \"\",\n \"Rect\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 0,\n \"Height\": 0\n },\n \"Polygon\": {\n \"LeftTop\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": -2,\n \"Y\": 0\n },\n \"LeftBottom\": {\n \"X\": -2,\n \"Y\": 0\n }\n }\n }\n ],\n \"RequestId\": \"655dd190-4368-4e19-8095-c6e7e4e1752a\"\n }\n}",
|
64
64
|
"title": "购车发票识别示例代码"
|
65
65
|
}
|
@@ -67,15 +67,15 @@
|
|
67
67
|
"ClassifyDetectOCR": [
|
68
68
|
{
|
69
69
|
"document": "",
|
70
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ClassifyDetectOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
70
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ClassifyDetectOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\",\n \"DiscernType\": [\n \"BankCard\"\n ]\n}",
|
71
71
|
"output": "{\n \"Response\": {\n \"ClassifyDetectInfos\": [\n {\n \"Name\": \"银行卡\",\n \"Type\": \"BankCard\",\n \"Rect\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 750,\n \"Height\": 520\n }\n }\n ],\n \"RequestId\": \"46ab2e62-11e3-4d04-9fab-0abe18e7c927\"\n }\n}",
|
72
|
-
"title": "
|
72
|
+
"title": "ClassifyDetectOCR调用"
|
73
73
|
}
|
74
74
|
],
|
75
75
|
"ClassifyStoreName": [
|
76
76
|
{
|
77
77
|
"document": "门头照分类示例",
|
78
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ClassifyStoreName\n<公共请求参数>\n\n{\n \"ImageBase64\": \"
|
78
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ClassifyStoreName\n<公共请求参数>\n\n{\n \"ImageBase64\": \"/9j/4AAQSkZJRg.....s97n//2Q==\"\n}",
|
79
79
|
"output": "{\n \"Response\": {\n \"RequestId\": \"014dedcb-8435-40e8-9fa1-547597bbbb7d\",\n \"StoreLabel\": [\n \"门头照\"\n ]\n }\n}",
|
80
80
|
"title": "门头照分类示例"
|
81
81
|
}
|
@@ -91,33 +91,27 @@
|
|
91
91
|
"DriverLicenseOCR": [
|
92
92
|
{
|
93
93
|
"document": "驾驶证识别",
|
94
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DriverLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
94
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DriverLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/vehicle/DriverLicenseOCR/DriverLicenseOCR1.jpg\",\n \"CardSide\": \"FRONT\"\n}",
|
95
95
|
"output": "{\n \"Response\": {\n \"Address\": \"广东省深圳市南山区腾讯大厦\",\n \"ArchivesCode\": \"\",\n \"CardCode\": \"440305198305101408\",\n \"Class\": \"C2\",\n \"CumulativeScore\": \"\",\n \"DateOfBirth\": \"1983-05-10\",\n \"DateOfFirstIssue\": \"2005-05-01\",\n \"EndDate\": \"2025-10-01\",\n \"IssuingAuthority\": \"上海市公安局交通警察总队\",\n \"Name\": \"刘洋\",\n \"Nationality\": \"中国\",\n \"RecognizeWarnCode\": [],\n \"RecognizeWarnMsg\": [],\n \"Record\": \"\",\n \"RequestId\": \"9b0d1ee9-8fdb-4194-be58-212bee88a7fd\",\n \"Sex\": \"女\",\n \"StartDate\": \"2015-10-01\",\n \"CurrentTime\": \"\",\n \"GenerateTime\": \"\",\n \"State\": \"\",\n \"BackPageName\": \"\",\n \"BackPageCardCode\": \"\",\n \"DriverLicenseType\": \"\"\n }\n}",
|
96
|
-
"title": "
|
96
|
+
"title": "驾驶证正面识别示例 [前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Version=2018-11-19&Action=DriverLicenseOCR)"
|
97
97
|
},
|
98
98
|
{
|
99
99
|
"document": "驾驶证识别",
|
100
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DriverLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
100
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DriverLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/vehicle/DriverLicenseOCR/DriverLicenseOCR2.jpg\",\n \"CardSide\": \"FRONT\"\n}",
|
101
101
|
"output": "{\n \"Response\": {\n \"Address\": \"上海市徐汇区田林路397号腾云大厦6F\",\n \"ArchivesCode\": \"\",\n \"CardCode\": \"440524198701010014\",\n \"Class\": \"C1\",\n \"CumulativeScore\": \"\",\n \"DateOfBirth\": \"1987-01-01\",\n \"DateOfFirstIssue\": \"2011-10-01\",\n \"EndDate\": \"2017-10-01\",\n \"IssuingAuthority\": \"上海市公安局交通警察总队\",\n \"Name\": \"李明\",\n \"Nationality\": \"中国\",\n \"RecognizeWarnCode\": [\n -9102\n ],\n \"RecognizeWarnMsg\": [\n \"WARN_DRIVER_LICENSE_COPY_CARD\"\n ],\n \"Record\": \"\",\n \"RequestId\": \"c5ceedaa-cb6f-4210-af49-0a5dee461259\",\n \"Sex\": \"男\",\n \"StartDate\": \"2011-10-01\",\n \"CurrentTime\": \"\",\n \"GenerateTime\": \"\",\n \"State\": \"\",\n \"BackPageName\": \"\",\n \"BackPageCardCode\": \"\",\n \"DriverLicenseType\": \"\"\n }\n}",
|
102
|
-
"title": "
|
102
|
+
"title": "驾驶证正面告警识别示例 [前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Version=2018-11-19&Action=DriverLicenseOCR)"
|
103
103
|
},
|
104
104
|
{
|
105
105
|
"document": "驾驶证反面",
|
106
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DriverLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
106
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DriverLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/vehicle/DriverLicenseOCR/DriverLicenseOCR2.jpg\",\n \"CardSide\": \"BACK\"\n}",
|
107
107
|
"output": "{\n \"Response\": {\n \"Address\": \"\",\n \"ArchivesCode\": \"130123421234\",\n \"CardCode\": \"130721234511112345\",\n \"Class\": \"\",\n \"CumulativeScore\": \"\",\n \"DateOfBirth\": \"\",\n \"DateOfFirstIssue\": \"\",\n \"EndDate\": \"\",\n \"IssuingAuthority\": \"\",\n \"Name\": \"李明\",\n \"Nationality\": \"\",\n \"RecognizeWarnCode\": [],\n \"RecognizeWarnMsg\": [],\n \"Record\": \"\",\n \"RequestId\": \"03023a0a-cf96-4baa-8cd8-34ba9d32f3db\",\n \"Sex\": \"\",\n \"StartDate\": \"\",\n \"CurrentTime\": \"\",\n \"GenerateTime\": \"\",\n \"State\": \"\",\n \"BackPageName\": \"\",\n \"BackPageCardCode\": \"\",\n \"DriverLicenseType\": \"\"\n }\n}",
|
108
|
-
"title": "
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"document": "电子驾驶证识别",
|
112
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DriverLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\"\n}",
|
113
|
-
"output": "{\n \"Response\": {\n \"Address\": \"\",\n \"ArchivesCode\": \"321123405123\",\n \"CardCode\": \"321281298512340017\",\n \"Class\": \"C1\",\n \"CumulativeScore\": \"1分\",\n \"DateOfBirth\": \"1995-11-22\",\n \"DateOfFirstIssue\": \"2012-02-19\",\n \"EndDate\": \"2030-07-19\",\n \"IssuingAuthority\": \"\",\n \"Name\": \"冯妙\",\n \"Nationality\": \"中国\",\n \"RecognizeWarnCode\": [],\n \"RecognizeWarnMsg\": [],\n \"Record\": \"\",\n \"RequestId\": \"4b67dd01-c0ba-43c0-b899-e1088fa314fe\",\n \"Sex\": \"女\",\n \"StartDate\": \"2020-01-20\",\n \"CurrentTime\": \"\",\n \"GenerateTime\": \"\",\n \"State\": \"未处理\",\n \"BackPageName\": \"\",\n \"BackPageCardCode\": \"\",\n \"DriverLicenseType\": \"\"\n }\n}",
|
114
|
-
"title": "驾驶证识别示例代码4 [前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Version=2018-11-19&Action=DriverLicenseOCR)"
|
108
|
+
"title": "驾驶证反面识别示例 [前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Version=2018-11-19&Action=DriverLicenseOCR)"
|
115
109
|
}
|
116
110
|
],
|
117
111
|
"DutyPaidProofOCR": [
|
118
112
|
{
|
119
113
|
"document": "完税证明识别",
|
120
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DutyPaidProofOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
114
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DutyPaidProofOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
121
115
|
"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}",
|
122
116
|
"title": "完税证明识别示例代码"
|
123
117
|
}
|
@@ -125,7 +119,7 @@
|
|
125
119
|
"EduPaperOCR": [
|
126
120
|
{
|
127
121
|
"document": "",
|
128
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EduPaperOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
122
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EduPaperOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
129
123
|
"output": "{\n \"Response\": {\n \"Angle\": 0,\n \"QuestionBlockInfos\": [\n {\n \"QuestionBboxCoord\": {\n \"Y\": 0,\n \"X\": 0,\n \"Width\": 0,\n \"Height\": 0\n },\n \"QuestionArr\": [\n {\n \"QuestionTextNo\": \"\",\n \"QuestionTextType\": 3,\n \"QuestionImageCoords\": [\n {\n \"Y\": 0,\n \"X\": 0,\n \"Width\": 0,\n \"Height\": 0\n }\n ],\n \"QuestionText\": \"题型4:已知函数的单调性求参数的取值范围\",\n \"QuestionOptions\": \"[{\\\"option\\\":[]}]\",\n \"QuestionSubquestion\": \"[]\"\n }\n ]\n },\n {\n \"QuestionBboxCoord\": {\n \"Y\": 0,\n \"X\": 0,\n \"Width\": 0,\n \"Height\": 0\n },\n \"QuestionArr\": [\n {\n \"QuestionTextNo\": \"[例9]\",\n \"QuestionTextType\": 3,\n \"QuestionImageCoords\": [\n {\n \"Y\": 0,\n \"X\": 0,\n \"Width\": 0,\n \"Height\": 0\n }\n ],\n \"QuestionText\": \"(★★★)已知函数f(x)=\\\\frac{ax+1}{x+2}在区间(-2,+∞)上是增函数,试求a的取值范围.\",\n \"QuestionOptions\": \"[{\\\"option\\\":[]}]\",\n \"QuestionSubquestion\": \"[]\"\n }\n ]\n },\n {\n \"QuestionBboxCoord\": {\n \"Y\": 0,\n \"X\": 0,\n \"Width\": 0,\n \"Height\": 0\n },\n \"QuestionArr\": [\n {\n \"QuestionTextNo\": \"[例10]\",\n \"QuestionTextType\": 1,\n \"QuestionImageCoords\": [\n {\n \"Y\": 0,\n \"X\": 0,\n \"Width\": 0,\n \"Height\": 0\n }\n ],\n \"QuestionText\": \"(★★★★)已知函数,若f(x)=\\\\left\\\\lbrace\\\\begin{array}{l}{(2a-1)x+a,}&{x\\\\geq1}\\\\\\\\{\\\\log_{a}x,}&{x<1}\\\\end{array}\\\\right.在(0,+∞)上单调递减,则a的取值范围为##{()}##\",\n \"QuestionOptions\": \"[{\\\"option\\\":[\\\"$${\\\\\\\\quad(0,\\\\\\\\frac{1}{2})}$$\\\",\\\"$${\\\\\\\\quad(0,\\\\\\\\frac{1}{3}\\\\\\\\rbrack}$$\\\",\\\"$${\\\\\\\\quad\\\\\\\\lbrack\\\\\\\\frac{1}{3},\\\\\\\\frac{1}{2})}$$\\\",\\\"$${\\\\\\\\quad(\\\\\\\\frac{1}{2},1)}$$\\\"]}]\",\n \"QuestionSubquestion\": \"[]\"\n }\n ]\n },\n {\n \"QuestionBboxCoord\": {\n \"Y\": 0,\n \"X\": 0,\n \"Width\": 0,\n \"Height\": 0\n },\n \"QuestionArr\": [\n {\n \"QuestionTextNo\": \"[例11]\",\n \"QuestionTextType\": 1,\n \"QuestionImageCoords\": [\n {\n \"Y\": 0,\n \"X\": 0,\n \"Width\": 0,\n \"Height\": 0\n }\n ],\n \"QuestionText\": \"(★★★★★)设f(x)=\\\\left\\\\lbrace\\\\begin{array}{l}{a^{x},}&{x<0}\\\\\\\\{(a-3)x+4a,x\\\\geq0}\\\\end{array}\\\\right.,对任意的.x_{1}\\\\neqx_{2}都有\\\\frac{f(x_{1})-f(x_{2})}{x_{1}-x_{2}}<0成立,则a的取值范围是##{()}##\",\n \"QuestionOptions\": \"[{\\\"option\\\":[\\\"$${\\\\\\\\quad(0,\\\\\\\\frac{1}{4}\\\\\\\\rbrack}$$\\\",\\\"(0,1)\\\",\\\"$${\\\\\\\\quad\\\\\\\\lbrack\\\\\\\\frac{1}{4},1)}$$\\\",\\\"(0,3)\\\"]}]\",\n \"QuestionSubquestion\": \"[]\"\n }\n ]\n }\n ],\n \"EduPaperInfos\": [\n {\n \"Item\": \"0\",\n \"DetectedText\": \"\\\\frac { f ( x _ { 1 } ) - f ( x _ { 2 } ) } { x _ { 1 } - x _ { 2 } } < 0 \",\n \"Itemcoord\": {\n \"X\": 1188,\n \"Y\": 1320,\n \"Width\": 224,\n \"Height\": 84\n }\n },\n {\n \"Item\": \"0\",\n \"DetectedText\": \"f ( x ) = \\\\frac { a x + 1 } { x + 2 } \",\n \"Itemcoord\": {\n \"X\": 537,\n \"Y\": 335,\n \"Width\": 169,\n \"Height\": 63\n }\n },\n {\n \"Item\": \"0\",\n \"DetectedText\": \"D . \\\\quad ( \\\\frac { 1 } { 2 } , 1 ) \",\n \"Itemcoord\": {\n \"X\": 1163,\n \"Y\": 900,\n \"Width\": 156,\n \"Height\": 79\n }\n },\n {\n \"Item\": \"0\",\n \"DetectedText\": \"C . \\\\quad \\\\lbrack \\\\frac { 1 } { 3 } , \\\\frac { 1 } { 2 } ) \",\n \"Itemcoord\": {\n \"X\": 872,\n \"Y\": 900,\n \"Width\": 160,\n \"Height\": 80\n }\n },\n {\n \"Item\": \"0\",\n \"DetectedText\": \"B . \\\\quad ( 0 , \\\\frac { 1 } { 3 } \\\\rbrack \",\n \"Itemcoord\": {\n \"X\": 580,\n \"Y\": 899,\n \"Width\": 159,\n \"Height\": 82\n }\n },\n {\n \"Item\": \"0\",\n \"DetectedText\": \"A . \\\\quad ( 0 , \\\\frac { 1 } { 4 } \\\\rbrack \",\n \"Itemcoord\": {\n \"X\": 273,\n \"Y\": 1499,\n \"Width\": 163,\n \"Height\": 79\n }\n },\n {\n \"Item\": \"0\",\n \"DetectedText\": \"C . \\\\quad \\\\lbrack \\\\frac { 1 } { 4 } , 1 ) \",\n \"Itemcoord\": {\n \"X\": 872,\n \"Y\": 1495,\n \"Width\": 148,\n \"Height\": 81\n }\n },\n {\n \"Item\": \"0\",\n \"DetectedText\": \"A . \\\\quad ( 0 , \\\\frac { 1 } { 2 } ) \",\n \"Itemcoord\": {\n \"X\": 289,\n \"Y\": 900,\n \"Width\": 162,\n \"Height\": 79\n }\n },\n {\n \"Item\": \"0\",\n \"DetectedText\": \"f ( x ) = \\\\left\\\\lbrace\\\\begin{array}{l} { ( 2 a - 1 ) x + a , } & { x \\\\geq 1 } \\\\\\\\ { \\\\log _ { a } x , } & { x < 1 } \\\\end{array}\\\\right. \",\n \"Itemcoord\": {\n \"X\": 641,\n \"Y\": 727,\n \"Width\": 364,\n \"Height\": 89\n }\n },\n {\n \"Item\": \"0\",\n \"DetectedText\": \"f ( x ) = \\\\left\\\\lbrace\\\\begin{array}{l} { a ^ { x } , } & { x < 0 } \\\\\\\\ { ( a - 3 ) x + 4 a , x \\\\geq 0 } \\\\end{array}\\\\right. \",\n \"Itemcoord\": {\n \"X\": 514,\n \"Y\": 1313,\n \"Width\": 391,\n \"Height\": 96\n }\n },\n {\n \"Item\": \"0\",\n \"DetectedText\": \"x _ { 1 } \\\\neq x _ { 2 } \",\n \"Itemcoord\": {\n \"X\": 1040,\n \"Y\": 1351,\n \"Width\": 85,\n \"Height\": 29\n }\n },\n {\n \"Item\": \"1000\",\n \"DetectedText\": \"题型4:已知函数的单调性求参数的取值范围\",\n \"Itemcoord\": {\n \"X\": 282,\n \"Y\": 233,\n \"Width\": 765,\n \"Height\": 41\n }\n },\n {\n \"Item\": \"1000\",\n \"DetectedText\": \"[例9] (★★★) 已知函数\",\n \"Itemcoord\": {\n \"X\": 194,\n \"Y\": 347,\n \"Width\": 342,\n \"Height\": 33\n }\n },\n {\n \"Item\": \"1000\",\n \"DetectedText\": \"在区间(-2, +∞)上是增函数,试求a的取值范围.\",\n \"Itemcoord\": {\n \"X\": 708,\n \"Y\": 345,\n \"Width\": 634,\n \"Height\": 37\n }\n },\n {\n \"Item\": \"1000\",\n \"DetectedText\": \"[例10] (★★★★) 已知函数,若\",\n \"Itemcoord\": {\n \"X\": 193,\n \"Y\": 749,\n \"Width\": 447,\n \"Height\": 38\n }\n },\n {\n \"Item\": \"1000\",\n \"DetectedText\": \"在(0, +∞)上单调递减,则a的取\",\n \"Itemcoord\": {\n \"X\": 1029,\n \"Y\": 747,\n \"Width\": 444,\n \"Height\": 38\n }\n },\n {\n \"Item\": \"1000\",\n \"DetectedText\": \"值范围为( )\",\n \"Itemcoord\": {\n \"X\": 282,\n \"Y\": 841,\n \"Width\": 214,\n \"Height\": 37\n }\n },\n {\n \"Item\": \"1000\",\n \"DetectedText\": \"[例11] (★★★★★)设\",\n \"Itemcoord\": {\n \"X\": 194,\n \"Y\": 1343,\n \"Width\": 319,\n \"Height\": 39\n }\n },\n {\n \"Item\": \"1000\",\n \"DetectedText\": \",对任意的.\",\n \"Itemcoord\": {\n \"X\": 914,\n \"Y\": 1345,\n \"Width\": 125,\n \"Height\": 34\n }\n },\n {\n \"Item\": \"1000\",\n \"DetectedText\": \"都有\",\n \"Itemcoord\": {\n \"X\": 1127,\n \"Y\": 1345,\n \"Width\": 55,\n \"Height\": 34\n }\n },\n {\n \"Item\": \"1000\",\n \"DetectedText\": \"成立,\",\n \"Itemcoord\": {\n \"X\": 1414,\n \"Y\": 1346,\n \"Width\": 67,\n \"Height\": 32\n }\n },\n {\n \"Item\": \"1000\",\n \"DetectedText\": \"则a的取值范围是( )\",\n \"Itemcoord\": {\n \"X\": 282,\n \"Y\": 1434,\n \"Width\": 336,\n \"Height\": 42\n }\n },\n {\n \"Item\": \"1000\",\n \"DetectedText\": \"B. (0, 1)\",\n \"Itemcoord\": {\n \"X\": 589,\n \"Y\": 1515,\n \"Width\": 128,\n \"Height\": 38\n }\n },\n {\n \"Item\": \"1000\",\n \"DetectedText\": \"D. (0,3)\",\n \"Itemcoord\": {\n \"X\": 1171,\n \"Y\": 1516,\n \"Width\": 135,\n \"Height\": 37\n }\n },\n {\n \"Item\": \"1000\",\n \"DetectedText\": \"2019年高三.数学.寒假文科 \",\n \"Itemcoord\": {\n \"X\": 665,\n \"Y\": 2208,\n \"Width\": 368,\n \"Height\": 33\n }\n },\n {\n \"Item\": \"105\",\n \"DetectedText\": \"\",\n \"Itemcoord\": {\n \"X\": 406,\n \"Y\": 843,\n \"Width\": 90,\n \"Height\": 35\n }\n },\n {\n \"Item\": \"105\",\n \"DetectedText\": \"\",\n \"Itemcoord\": {\n \"X\": 524,\n \"Y\": 1434,\n \"Width\": 94,\n \"Height\": 42\n }\n }\n ],\n \"RequestId\": \"ab8a243b-0108-4e44-b3b0-4772b7046fb9\"\n }\n}",
|
130
124
|
"title": "数学试题识别示例代码"
|
131
125
|
}
|
@@ -140,24 +134,24 @@
|
|
140
134
|
],
|
141
135
|
"EnterpriseLicenseOCR": [
|
142
136
|
{
|
143
|
-
"document": "
|
144
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnterpriseLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
137
|
+
"document": "",
|
138
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnterpriseLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
145
139
|
"output": "{\n \"Response\": {\n \"EnterpriseLicenseInfos\": [\n {\n \"Name\": \"统一社会信用代码\",\n \"Value\": \"91440300000XX0000H\"\n },\n {\n \"Name\": \"法定代表人\",\n \"Value\": \"李峰\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"深圳市信息技术服务有限公司\"\n },\n {\n \"Name\": \"住所\",\n \"Value\": \"深圳市福田区沙头街道xxx街7号\"\n },\n {\n \"Name\": \"主体类型\",\n \"Value\": \"有限责任公司(自然人独资)\"\n },\n {\n \"Name\": \"成立日期\",\n \"Value\": \"2017年06月30日\"\n }\n ],\n \"Angle\": 0,\n \"RequestId\": \"f5b9110f-82db-4a5f-b872-ad39aa2eb09a\"\n }\n}",
|
146
|
-
"title": "
|
140
|
+
"title": "EnterpriseLicenseOCR调用"
|
147
141
|
}
|
148
142
|
],
|
149
143
|
"EstateCertOCR": [
|
150
144
|
{
|
151
145
|
"document": "",
|
152
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EstateCertOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
146
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EstateCertOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
153
147
|
"output": "{\n \"Response\": {\n \"Obligee\": \"周框吉\",\n \"Ownership\": \"单独所有\",\n \"Location\": \"番禺区南村镇沙溪大道520号\",\n \"Unit\": \"440113013008G800003F00230055\",\n \"Type\": \"国有建设用地使用权/房屋(构筑物)所有权\",\n \"Property\": \"土地:出让/房屋:商品房\",\n \"Usage\": \"土地:/房屋:住宅\",\n \"Area\": \"270.13平方米\",\n \"Term\": \"2017年03月01日-2087年03月01日\",\n \"Angle\": 0,\n \"Other\": \"\",\n \"Number\": \"07037799\",\n \"RequestId\": \"ac3643f3-0898-4449-9999-f1c1aa98939c\"\n }\n}",
|
154
|
-
"title": "
|
148
|
+
"title": "EstateCertOCR调用"
|
155
149
|
}
|
156
150
|
],
|
157
151
|
"FinanBillOCR": [
|
158
152
|
{
|
159
153
|
"document": "金融票据整单识别示例代码",
|
160
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FinanBillOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
154
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FinanBillOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
161
155
|
"output": "{\n \"Response\": {\n \"FinanBillInfos\": [\n {\n \"Name\": \"日期\",\n \"Value\": \"2018年10月11日\"\n },\n {\n \"Name\": \"出票全称\",\n \"Value\": \"李明\"\n },\n {\n \"Name\": \"出票账号\",\n \"Value\": \"6222024301069051406\"\n },\n {\n \"Name\": \"出票开户行\",\n \"Value\": \"工商银行四平支行\"\n },\n {\n \"Name\": \"收款人全称\",\n \"Value\": \"晓艾\"\n },\n {\n \"Name\": \"收款人账号\",\n \"Value\": \"4041968823461748\"\n },\n {\n \"Name\": \"收款开户行\",\n \"Value\": \"农业银行云南路支行\"\n },\n {\n \"Name\": \"大写金额\",\n \"Value\": \"贰仟圓整\"\n },\n {\n \"Name\": \"小写金额\",\n \"Value\": \"¥200000\"\n },\n {\n \"Name\": \"票据种类\",\n \"Value\": \"汇票\"\n },\n {\n \"Name\": \"票据张数\",\n \"Value\": \"1\"\n },\n {\n \"Name\": \"票据号码\",\n \"Value\": \"48000102\"\n }\n ],\n \"RequestId\": \"67ddf640-322a-48e9-8f23-1a868908fc54\"\n }\n}",
|
162
156
|
"title": "金融票据整单识别示例代码"
|
163
157
|
}
|
@@ -165,7 +159,7 @@
|
|
165
159
|
"FinanBillSliceOCR": [
|
166
160
|
{
|
167
161
|
"document": "金融票据切片识别示例代码",
|
168
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FinanBillSliceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
162
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FinanBillSliceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
169
163
|
"output": "{\n \"Response\": {\n \"FinanBillSliceInfos\": [\n {\n \"Name\": \"票号1\",\n \"Value\": \"31300051\"\n },\n {\n \"Name\": \"票号2\",\n \"Value\": \"46686866\"\n }\n ],\n \"RequestId\": \"f904eaa3-c868-4a89-9bd9-60afe9635c81\"\n }\n}",
|
170
164
|
"title": "金融票据切片识别示例代码"
|
171
165
|
}
|
@@ -173,7 +167,7 @@
|
|
173
167
|
"FlightInvoiceOCR": [
|
174
168
|
{
|
175
169
|
"document": "机票行程单识别",
|
176
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FlightInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
170
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FlightInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
177
171
|
"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}",
|
178
172
|
"title": "机票行程单识别示例代码"
|
179
173
|
}
|
@@ -181,25 +175,25 @@
|
|
181
175
|
"FormulaOCR": [
|
182
176
|
{
|
183
177
|
"document": "数学公式识别示例代码",
|
184
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FormulaOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
178
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FormulaOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
185
179
|
"output": "{\n \"Response\": {\n \"Angle\": 0,\n \"FormulaInfos\": [\n {\n \"DetectedText\": \"\\\\left\\\\lbrace\\\\begin{array}{l} { ( 3 - a ) x - 6 , x \\\\leq 1 0 , } \\\\\\\\ { a ^ { x - 9 } , x > 1 0 } , \\\\end{array}\\\\right. \"\n }\n ],\n \"RequestId\": \"b233cdb8-e24f-4670-89a8-aa33d3d341e1\"\n }\n}",
|
186
180
|
"title": "数学公式识别示例代码"
|
187
181
|
}
|
188
182
|
],
|
189
183
|
"GeneralAccurateOCR": [
|
190
184
|
{
|
191
|
-
"document": "
|
192
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralAccurateOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
193
|
-
"output": "{\n \"Response\": {\n \"Angle\": 359.989990234375,\n \"RequestId\": \"
|
194
|
-
"title": "
|
185
|
+
"document": "图像整体文字的检测和识别,返回文字框位置与文字内容。 [ 前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Action=GeneralAccurateOCR)",
|
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 \"Angel\": 359.989990234375,\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
|
+
"title": "GeneralAccurateOCR调用"
|
195
189
|
}
|
196
190
|
],
|
197
191
|
"GeneralBasicOCR": [
|
198
192
|
{
|
199
|
-
"document": "识别多场景、任意版面下整图文字的识别",
|
200
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralBasicOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
201
|
-
"output": "{\n \"Response\": {\n \"Angle\": 359.989990234375,\n \"Language\": \"zh\",\n \"PdfPageSize\": 0,\n \"RequestId\": \"
|
202
|
-
"title": "
|
193
|
+
"document": "识别多场景、任意版面下整图文字的识别 [ 前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Action=GeneralBasicOCR)",
|
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 \"Angel\": 359.989990234375,\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
|
+
"title": "GeneralBasicOCR调用"
|
203
197
|
}
|
204
198
|
],
|
205
199
|
"GeneralEfficientOCR": [
|
@@ -221,14 +215,14 @@
|
|
221
215
|
"GeneralHandwritingOCR": [
|
222
216
|
{
|
223
217
|
"document": "只输出手写体识别结果,过滤印刷体",
|
224
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralHandwritingOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
225
|
-
"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 \"Angel\": 0,\n \"RequestId\": \"b57e40af-a73c-4844-ae7e-344f06efb9e5\"\n }\n}",
|
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 \"Angel\": 0,\n \"Angle\": 0,\n \"RequestId\": \"b57e40af-a73c-4844-ae7e-344f06efb9e5\"\n }\n}",
|
226
220
|
"title": "传入场景only_hw"
|
227
221
|
},
|
228
222
|
{
|
229
|
-
"document": "",
|
230
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GeneralHandwritingOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
231
|
-
"output": "{\n \"Response\": {\n \"TextDetections\": [\n {\n \"DetectedText\": \"
|
223
|
+
"document": "通用手写体识别示例",
|
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 \"Angel\": 0,\n \"Angle\": 0,\n \"RequestId\": \"361e2ac6-ee7e-40d0-9463-5f05ecd4828e\"\n }\n}",
|
232
226
|
"title": "通用手写体识别示例代码"
|
233
227
|
}
|
234
228
|
],
|
@@ -250,64 +244,58 @@
|
|
250
244
|
],
|
251
245
|
"HmtResidentPermitOCR": [
|
252
246
|
{
|
253
|
-
"document": "
|
254
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: HmtResidentPermitOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
255
|
-
"output": "{\n \"Response\": {\n \"
|
256
|
-
"title": "
|
257
|
-
},
|
258
|
-
{
|
259
|
-
"document": "港澳台居住证识别示例代码2",
|
260
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: HmtResidentPermitOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\"\n}",
|
261
|
-
"output": "{\n \"Response\": {\n \"Name\": \"\",\n \"Sex\": \"\",\n \"Birth\": \"\",\n \"Address\": \"\",\n \"IdCardNo\": \"\",\n \"CardType\": 1,\n \"ValidDate\": \"2018.09.06-2023.09.06\",\n \"Authority\": \"合肥市公安局高新分局\",\n \"VisaNum\": \"0\",\n \"PassNo\": \"000\",\n \"RequestId\": \"182abb0c-b0bd-403a-ab11-3dba21ae89d0\"\n }\n}",
|
262
|
-
"title": "港澳台居住证识别示例代码2"
|
247
|
+
"document": "",
|
248
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: HmtResidentPermitOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/HmtResidentPermitOCR/HmtResidentPermitOCR2.png\",\n \"CardSide\": \"FRONT\"\n}",
|
249
|
+
"output": "{\n \"Response\": {\n \"Address\": \"合肥市高新区望江西路800号腾讯优图D7栋6号\",\n \"Authority\": \"\",\n \"Birth\": \"1985/2/1\",\n \"CardType\": 0,\n \"IdCardNo\": \"820000198502010022\",\n \"Name\": \"蓝图图\",\n \"PassNo\": \"\",\n \"PortraitImageInfo\": {\n \"ImageCoordinates\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 0,\n \"Height\": 0\n },\n \"PortraitImage\": \"\"\n },\n \"RequestId\": \"4685e626-f6ea-4ad8-a099-13933ea4bca9\",\n \"Sex\": \"女\",\n \"ValidDate\": \"\",\n \"VisaNum\": \"0\"\n }\n}",
|
250
|
+
"title": "HmtResidentPermitOCR调用"
|
263
251
|
}
|
264
252
|
],
|
265
253
|
"IDCardOCR": [
|
266
254
|
{
|
267
|
-
"document": "
|
268
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IDCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
269
|
-
"output": "{\n \"Response\": {\n \"
|
270
|
-
"title": "
|
255
|
+
"document": "临时身份证告警调用示例 [前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Version=2018-11-19&Action=IDCardOCR)",
|
256
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IDCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/IDCardOCR/IDCardOCR1.jpg\",\n \"Config\": \"{\\\"TempIdWarn\\\":true}\",\n \"CardSide\": \"FRONT\"\n}",
|
257
|
+
"output": "{\n \"Response\": {\n \"Address\": \"广东省深圳市南山区腾讯大厦\",\n \"AdvancedInfo\": \"{\\\"WarnInfos\\\":[]}\",\n \"Authority\": \"\",\n \"Birth\": \"1995/5/13\",\n \"IdNum\": \"440305199505132561\",\n \"Name\": \"刘洋\",\n \"Nation\": \"汉\",\n \"ReflectDetailInfos\": [],\n \"RequestId\": \"c762a670-c622-408a-865a-da27a9ffa53b\",\n \"Sex\": \"女\",\n \"ValidDate\": \"\"\n }\n}",
|
258
|
+
"title": "临时身份证告警调用示例"
|
271
259
|
},
|
272
260
|
{
|
273
|
-
"document": "
|
274
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IDCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
275
|
-
"output": "{\n \"Response\": {\n \"
|
276
|
-
"title": "
|
261
|
+
"document": "身份证识别(人像面)调用示例 [前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Version=2018-11-19&Action=IDCardOCR)",
|
262
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IDCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/IDCardOCR/IDCardOCR1.jpg\",\n \"CardSide\": \"FRONT\"\n}",
|
263
|
+
"output": "{\n \"Response\": {\n \"Address\": \"广东省深圳市南山区腾讯大厦\",\n \"AdvancedInfo\": \"{\\\"WarnInfos\\\":[]}\",\n \"Authority\": \"\",\n \"Birth\": \"1995/5/13\",\n \"IdNum\": \"440305199505132561\",\n \"Name\": \"刘洋\",\n \"Nation\": \"汉\",\n \"ReflectDetailInfos\": [],\n \"RequestId\": \"c762a670-c622-408a-865a-da27a9ffa53b\",\n \"Sex\": \"女\",\n \"ValidDate\": \"\"\n }\n}",
|
264
|
+
"title": "身份证识别(人像面)调用示例"
|
277
265
|
},
|
278
266
|
{
|
279
|
-
"document": "
|
280
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IDCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
281
|
-
"output": "{\n \"Response\": {\n \"
|
282
|
-
"title": "
|
267
|
+
"document": "身份证识别(国徽面)调用示例 [前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Version=2018-11-19&Action=IDCardOCR)",
|
268
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IDCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/IDCardBackOCR/IDCardBackOCR2.jpg\",\n \"CardSide\": \"BACK\"\n}",
|
269
|
+
"output": "{\n \"Response\": {\n \"Address\": \"\",\n \"AdvancedInfo\": \"{}\",\n \"Authority\": \"上海市公安局南山分局\",\n \"Birth\": \"\",\n \"IdNum\": \"\",\n \"Name\": \"\",\n \"Nation\": \"\",\n \"ReflectDetailInfos\": [],\n \"RequestId\": \"c058efd9-a469-4256-a18d-bf539fd2231b\",\n \"Sex\": \"\",\n \"ValidDate\": \"2018.08.12-2038.08.12\"\n }\n}",
|
270
|
+
"title": "身份证识别(国徽面)调用示例"
|
283
271
|
},
|
284
272
|
{
|
285
|
-
"document": "
|
286
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IDCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
287
|
-
"output": "{\n \"Response\": {\n \"Name\": \"李明\",\n \"Sex\": \"男\",\n \"Nation\": \"汉\",\n \"Birth\": \"1987/1/1\",\n \"Address\": \"北京市石景山区高新技术园腾讯大楼\",\n \"IdNum\": \"440524198701010014\",\n \"Authority\": \"\",\n \"ValidDate\": \"\",\n \"ReflectDetailInfos\": [],\n \"AdvancedInfo\": \"{\\\"IdCard\\\":\\\"/9j/
|
288
|
-
"title": "
|
273
|
+
"document": "身份证照片裁剪和人像照片裁剪调用示例 [前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Version=2018-11-19&Action=IDCardOCR)",
|
274
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: IDCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/IDCardOCR/IDCardOCR1.jpg\",\n \"Config\": \"{\\\"CropIdCard\\\":true,\\\"CropPortrait\\\":true}\",\n \"CardSide\": \"FRONT\"\n}",
|
275
|
+
"output": "{\n \"Response\": {\n \"Name\": \"李明\",\n \"Sex\": \"男\",\n \"Nation\": \"汉\",\n \"Birth\": \"1987/1/1\",\n \"Address\": \"北京市石景山区高新技术园腾讯大楼\",\n \"IdNum\": \"440524198701010014\",\n \"Authority\": \"\",\n \"ValidDate\": \"\",\n \"ReflectDetailInfos\": [],\n \"AdvancedInfo\": \"{\\\"IdCard\\\":\\\"/9j/4AAQSkZJRg.....s97n//2Q==\\\",\\\"Portrait\\\":\\\"/9j/4AAQSkZJRg.....s97n//2Q==\\\"}\",\n \"RequestId\": \"97c323da-5fd3-4fe6-b0b3-1cf10b04422c\"\n }\n}",
|
276
|
+
"title": "身份证照片裁剪和人像照片裁剪调用示例"
|
289
277
|
}
|
290
278
|
],
|
291
279
|
"ImageEnhancement": [
|
292
280
|
{
|
293
|
-
"document": "
|
294
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImageEnhancement\n<公共请求参数>\n\n{\n \"ReturnImage\": \"
|
295
|
-
"output": "{\n \"Response\": {\n \"Image\": \"/9j/
|
296
|
-
"title": "ImageEnhancement"
|
281
|
+
"document": "",
|
282
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImageEnhancement\n<公共请求参数>\n\n{\n \"ReturnImage\": \"preprocess\",\n \"TaskType\": 1,\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/tie/static/images/1-1.png\"\n}",
|
283
|
+
"output": "{\n \"Response\": {\n \"Image\": \"/9j/4AAQSkZJRg.....s97n//2Q==\",\n \"ImageTag\": \"preprocess\",\n \"RequestId\": \"dd443b91-daef-4933-838f-1970b35f0fc9\"\n }\n}",
|
284
|
+
"title": "ImageEnhancement调用"
|
297
285
|
}
|
298
286
|
],
|
299
287
|
"InstitutionOCR": [
|
300
288
|
{
|
301
|
-
"document": "
|
302
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InstitutionOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
289
|
+
"document": "",
|
290
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InstitutionOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
303
291
|
"output": "{\n \"Response\": {\n \"LegalPerson\": \"李明\",\n \"Location\": \"武汉市武昌区雄楚路123号\",\n \"Name\": \"长江交通职业技术学院\",\n \"RegId\": \"\",\n \"RequestId\": \"3824099f-bf5b-40a2-af13-11dfca689f55\",\n \"ValidDate\": \"自2015年03月30日至2020年03月30日\"\n }\n}",
|
304
|
-
"title": "
|
292
|
+
"title": "InstitutionOCR调用"
|
305
293
|
}
|
306
294
|
],
|
307
295
|
"InsuranceBillOCR": [
|
308
296
|
{
|
309
297
|
"document": "",
|
310
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InsuranceBillOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
298
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InsuranceBillOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
311
299
|
"output": "{\n \"Response\": {\n \"InsuranceBillInfos\": [\n {\n \"Name\": \"定点医疗机构名称\",\n \"Value\": \"北京南郊肿瘤医院\"\n },\n {\n \"Name\": \"No\",\n \"Value\": \"2000000000000000000\"\n },\n {\n \"Name\": \"定点医疗机构编号\",\n \"Value\": \"241560156\"\n },\n {\n \"Name\": \"公民身份号码\",\n \"Value\": \"320000195101010000\"\n },\n {\n \"Name\": \"社保卡/手册编号\",\n \"Value\": \"32100000000\"\n },\n {\n \"Name\": \"单位\",\n \"Value\": \"元(保留两位小数)\"\n },\n {\n \"Name\": \"姓名\",\n \"Value\": \"AMY\"\n },\n {\n \"Name\": \"性别\",\n \"Value\": \"男\"\n },\n {\n \"Name\": \"年龄\",\n \"Value\": \"68岁\"\n },\n {\n \"Name\": \"病案号\",\n \"Value\": \"T000000000\"\n },\n {\n \"Name\": \"费用发生时段\",\n \"Value\": \"2019-02-06至2019-02-12\"\n },\n {\n \"Name\": \"费用总额\",\n \"Value\": \"21257.17\"\n },\n {\n \"Name\": \"共计(天)\",\n \"Value\": \"6\"\n },\n {\n \"Name\": \"日均额\",\n \"Value\": \"3542.86\"\n },\n {\n \"Name\": \"床位费总额\",\n \"Value\": \"182.00\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"普通床位费[普通床位费(24)]\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"24.0000\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"7.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"168.00\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"168.00\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"二级医院住院床位费加收\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"2.0000\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"7.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"14.00\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"14.00\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"护理费总额\",\n \"Value\": \"44.00\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"一级护理\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"8.0000\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"1.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"8.00\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"8.00\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"二级护理\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"6.0000\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"6.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"36.00\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"36.00\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"诊疗费总额\",\n \"Value\": \"42.00\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"住院诊疗费(二级医院)\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"6.0000\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"7.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"42.00\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"42.00\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"药费总额\",\n \"Value\": \"4526.87\"\n },\n {\n \"Name\": \"其中西药费\",\n \"Value\": \"4526.87\"\n },\n {\n \"Name\": \"其中中成药费\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"其中中草药费\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"吸入用七氟烷\"\n },\n {\n \"Name\": \"规格\",\n \"Value\": \"1ml\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"7.5400\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"60.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"452.40\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"452.40\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"依托咪酯注射用乳剂\"\n },\n {\n \"Name\": \"规格\",\n \"Value\": \"10ml:20mg\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"43.4100\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"1.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"43.41\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"43.41\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"盐酸利多卡因注射液\"\n },\n {\n \"Name\": \"规格\",\n \"Value\": \"5ml:0.1g\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"1.5200\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"1.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"1.52\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"1.52\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"盐酸利多卡因胶浆\"\n },\n {\n \"Name\": \"规格\",\n \"Value\": \"10g:0.2g\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"7.4280\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"1.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"7.43\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"7.43\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"维生素C注射液\"\n },\n {\n \"Name\": \"规格\",\n \"Value\": \"2.5ml:1g\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"0.5700\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"8.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"4.56\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"4.56\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"地塞米松磷酸钠注射液\"\n },\n {\n \"Name\": \"规格\",\n \"Value\": \"1ml:5mg\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"0.5100\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"3.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"1.53\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"1.53\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"左甲状腺素钠片\"\n },\n {\n \"Name\": \"规格\",\n \"Value\": \"50ug\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"0.3110\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"40.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"12.43\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"12.43\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"硫酸阿托品注射液\"\n },\n {\n \"Name\": \"规格\",\n \"Value\": \"1ml:0.5mg\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"0.7500\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"1.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"0.75\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"0.75\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"盐酸氨溴索注射液\"\n },\n {\n \"Name\": \"规格\",\n \"Value\": \"2ml:15mg\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"6.2100\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"6.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"37.26\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"37.26\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"盐酸托烷司琼注射液\"\n },\n {\n \"Name\": \"规格\",\n \"Value\": \"5ml:5mg\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"97.2900\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"1.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"97.29\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"97.29\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"0.00\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"乌拉地尔注射液\"\n },\n {\n \"Name\": \"规格\",\n \"Value\": \"5ml:25mg\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"58.3000\"\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"1.00\"\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"58.30\"\n },\n {\n \"Name\": \"医保内\",\n \"Value\": \"52.47\"\n },\n {\n \"Name\": \"医保外\",\n \"Value\": \"5.83\"\n },\n {\n \"Name\": \"名称\",\n \"Value\": \"复方电解质葡萄糖MG3注射液\"\n },\n {\n \"Name\": \"规格\",\n \"Value\": \"500ml\"\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"13.2000\"\n }\n ],\n \"RequestId\": \"4ff69826-ce50-41f9-acf6-1e37d068fcb8\"\n }\n}",
|
312
300
|
"title": "保险单据识别示例代码"
|
313
301
|
}
|
@@ -315,7 +303,7 @@
|
|
315
303
|
"InvoiceGeneralOCR": [
|
316
304
|
{
|
317
305
|
"document": "通用机打发票识别",
|
318
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvoiceGeneralOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
306
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InvoiceGeneralOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
319
307
|
"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}",
|
320
308
|
"title": "通用机打发票识别示例代码"
|
321
309
|
}
|
@@ -323,7 +311,7 @@
|
|
323
311
|
"LicensePlateOCR": [
|
324
312
|
{
|
325
313
|
"document": "车牌识别",
|
326
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LicensePlateOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
314
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LicensePlateOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/vehicle/LicensePlateOCR/LicensePlateOCR1.jpg\"\n}",
|
327
315
|
"output": "{\n \"Response\": {\n \"Color\": \"蓝\",\n \"Confidence\": 99,\n \"LicensePlateInfos\": [\n {\n \"Color\": \"蓝\",\n \"Confidence\": 99,\n \"Number\": \"京AF0236\",\n \"Rect\": {\n \"Height\": 66,\n \"Width\": 135,\n \"X\": 426,\n \"Y\": 423\n }\n }\n ],\n \"Number\": \"京AF0236\",\n \"Rect\": {\n \"Height\": 66,\n \"Width\": 135,\n \"X\": 426,\n \"Y\": 423\n },\n \"RequestId\": \"5141467c-0a67-4f7c-b1c5-8147d84681a1\"\n }\n}",
|
328
316
|
"title": "车牌识别示例代码"
|
329
317
|
}
|
@@ -331,31 +319,31 @@
|
|
331
319
|
"MLIDCardOCR": [
|
332
320
|
{
|
333
321
|
"document": "",
|
334
|
-
"input": "
|
335
|
-
"output": "{\n \"Response\": {\n \"Name\": \"KAVIN ONG KHI MN\",\n \"ID\": \"710716-08-6085\",\n \"Address\": \"NO 11 PERSIARN PERAJRIT 4 TAMA PERAK 31400 IPOH ERAK\",\n \"Sex\": \"LEAKI\",\n \"Birthday\": \"\",\n \"Warn\": [],\n \"Image\": \"
|
336
|
-
"title": "
|
322
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MLIDCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
323
|
+
"output": "{\n \"Response\": {\n \"Name\": \"KAVIN ONG KHI MN\",\n \"ID\": \"710716-08-6085\",\n \"Address\": \"NO 11 PERSIARN PERAJRIT 4 TAMA PERAK 31400 IPOH ERAK\",\n \"Sex\": \"LEAKI\",\n \"Birthday\": \"\",\n \"Warn\": [],\n \"Image\": \"/9j/4AAQSkZJRg.....s97n//2Q==\",\n \"AdvancedInfo\": \"{\\\"ID\\\":{\\\"Confidence\\\":\\\"1.0000\\\"},\\\"Name\\\":{\\\"Confidence\\\":\\\"0.9996\\\"},\\\"Address\\\":{\\\"Confidence\\\":\\\"0.9997\\\"},\\\"Sex\\\":{\\\"Confidence\\\":\\\"0.9999\\\"}}\",\n \"Type\": \"MyKad\",\n \"RequestId\": \"c969da05-54e3-4d0a-a55d-b3ef90d4ebf5\"\n }\n}",
|
324
|
+
"title": "MLIDCardOCR调用"
|
337
325
|
}
|
338
326
|
],
|
339
327
|
"MLIDPassportOCR": [
|
340
328
|
{
|
341
329
|
"document": "护照识别(港澳台地区及境外护照)",
|
342
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MLIDPassportOCR\n<公共请求参数>\n\n{\n \"ImageBase64\": \"
|
343
|
-
"output": "{\n \"Response\": {\n \"AdvancedInfo\": \"{\\\"IssuingCountry\\\":{\\\"Confidence\\\":\\\"
|
330
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MLIDPassportOCR\n<公共请求参数>\n\n{\n \"ImageBase64\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/MLIDPassportOCR/MLIDPassportOCR1.png\"\n}",
|
331
|
+
"output": "{\n \"Response\": {\n \"AdvancedInfo\": \"{\\\"GivenName\\\":{\\\"Confidence\\\":\\\"1.0000\\\"},\\\"IssuingCountry\\\":{\\\"Confidence\\\":\\\"1.0000\\\"},\\\"Name\\\":{\\\"Confidence\\\":\\\"1.0000\\\"},\\\"Surname\\\":{\\\"Confidence\\\":\\\"1.0000\\\"},\\\"Type\\\":{\\\"Confidence\\\":\\\"1.0000\\\"},\\\"CodeSet\\\":{\\\"Confidence\\\":\\\"1.0000\\\"},\\\"CodeCrc\\\":{\\\"Confidence\\\":\\\"0.9995\\\"},\\\"Nationality\\\":{\\\"Confidence\\\":\\\"0.9995\\\"},\\\"ID\\\":{\\\"Confidence\\\":\\\"0.9995\\\"},\\\"Sex\\\":{\\\"Confidence\\\":\\\"0.9995\\\"},\\\"DateOfBirth\\\":{\\\"Confidence\\\":\\\"0.9995\\\"},\\\"DateOfExpiration\\\":{\\\"Confidence\\\":\\\"0.9995\\\"},\\\"PassportRecognizeInfos\\\":{\\\"IssuingCountry\\\":{\\\"Confidence\\\":\\\"1.0000\\\"},\\\"Type\\\":{\\\"Confidence\\\":\\\"0.9995\\\"},\\\"PassportID\\\":{\\\"Confidence\\\":\\\"0.9961\\\"},\\\"Surname\\\":{\\\"Confidence\\\":\\\"1.0000\\\"},\\\"GivenName\\\":{\\\"Confidence\\\":\\\"1.0000\\\"},\\\"Nationality\\\":{\\\"Confidence\\\":\\\"1.0000\\\"},\\\"DateOfBirth\\\":{\\\"Confidence\\\":\\\"1.0000\\\"},\\\"Sex\\\":{\\\"Confidence\\\":\\\"1.0000\\\"},\\\"DateOfIssuance\\\":{\\\"Confidence\\\":\\\"0.9997\\\"},\\\"DateOfExpiration\\\":{\\\"Confidence\\\":\\\"1.0000\\\"}}}\",\n \"CodeCrc\": \"4567123452USA9004117F2107268713843748<708026\",\n \"CodeSet\": \"P<USACARTER<<ESTHER<<<<<<<<<<<<<<<<<<<<<<<<<\",\n \"DateOfBirth\": \"19900411\",\n \"DateOfExpiration\": \"20210726\",\n \"GivenName\": \"ESTHER\",\n \"ID\": \"456712345\",\n \"Image\": \"\",\n \"IssuingCountry\": \"USA\",\n \"Name\": \"CARTER ESTHER\",\n \"Nationality\": \"USA\",\n \"PassportRecognizeInfos\": {\n \"DateOfBirth\": \"11 Apr 1990\",\n \"DateOfExpiration\": \"26 Jul 2021\",\n \"DateOfIssuance\": \"27 Jul 2011\",\n \"GivenName\": \"ESTHER\",\n \"IssuePlace\": \"\",\n \"IssuingAuthority\": \"\",\n \"IssuingCountry\": \"USA\",\n \"Name\": \"\",\n \"Nationality\": \"UNITED STATES OF AMERICA\",\n \"PassportID\": \"456712345\",\n \"Sex\": \"F\",\n \"Signature\": \"\",\n \"Surname\": \"CARTER\",\n \"Type\": \"P\"\n },\n \"RequestId\": \"dad946b2-1288-4df9-a0b4-6abfaba1e170\",\n \"Sex\": \"F\",\n \"Surname\": \"CARTER\",\n \"Type\": \"P\",\n \"Warn\": [\n -9108,\n -9102\n ],\n \"WarnCardInfos\": [\n -9109\n ]\n }\n}",
|
344
332
|
"title": "护照识别(港澳台地区及境外护照)示例代码[前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Action=MLIDPassportOCR)"
|
345
333
|
}
|
346
334
|
],
|
347
335
|
"MainlandPermitOCR": [
|
348
336
|
{
|
349
|
-
"document": "
|
350
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MainlandPermitOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
351
|
-
"output": "{\n \"Response\": {\n \"
|
352
|
-
"title": "
|
337
|
+
"document": "MainlandPermitOCR调用",
|
338
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MainlandPermitOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/MainlandPermitOCR/MainlandPermitOCR1.png\",\n \"RetProfile\": \"False\"\n}",
|
339
|
+
"output": "{\n \"Response\": {\n \"Birthday\": \"1986.03.02\",\n \"EnglishName\": \"LI,YOU-TU\",\n \"IssueAddress\": \"广东\",\n \"IssueAuthority\": \"公安部出入境管理局\",\n \"IssueNumber\": \"02\",\n \"MainlandTravelPermitBackInfos\": {\n \"HistoryNumber\": \"\",\n \"IDNumber\": \"\",\n \"Name\": \"\",\n \"Type\": \"台湾居民来往大陆通行证\"\n },\n \"Name\": \"李优图\",\n \"Nationality\": \"\",\n \"Number\": \"08320271\",\n \"Profile\": \"\",\n \"RequestId\": \"bd8fb0bc-6558-48b5-b057-2b04edacf225\",\n \"Sex\": \"男\",\n \"Type\": \"台湾居民来往大陆通行证\",\n \"ValidDate\": \"2016.02.03-2021.02.02\"\n }\n}",
|
340
|
+
"title": "MainlandPermitOCR调用"
|
353
341
|
}
|
354
342
|
],
|
355
343
|
"MixedInvoiceDetect": [
|
356
344
|
{
|
357
345
|
"document": "混贴票据分类",
|
358
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MixedInvoiceDetect\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
346
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MixedInvoiceDetect\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\",\n \"ReturnImage\": \"False\"\n}",
|
359
347
|
"output": "{\n \"Response\": {\n \"InvoiceDetectInfos\": [\n {\n \"Angle\": 0,\n \"Type\": 3,\n \"Rect\": {\n \"X\": 19,\n \"Y\": 43,\n \"Width\": 1340,\n \"Height\": 852\n },\n \"Image\": null\n },\n {\n \"Angle\": 0,\n \"Type\": 13,\n \"Rect\": {\n \"X\": 20,\n \"Y\": 891,\n \"Width\": 479,\n \"Height\": 597\n },\n \"Image\": null\n },\n {\n \"Angle\": 0,\n \"Type\": 2,\n \"Rect\": {\n \"X\": 520,\n \"Y\": 904,\n \"Width\": 455,\n \"Height\": 286\n },\n \"Image\": null\n }\n ],\n \"RequestId\": \"c8cedc79-d03b-463d-8b95-b807b4ca5135\"\n }\n}",
|
360
348
|
"title": "混贴票据分类示例代码"
|
361
349
|
}
|
@@ -363,31 +351,31 @@
|
|
363
351
|
"MixedInvoiceOCR": [
|
364
352
|
{
|
365
353
|
"document": "混贴票据识别示例代码(识别全部类型)",
|
366
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MixedInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
354
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MixedInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
367
355
|
"output": "{\n \"Response\": {\n \"MixedInvoiceItems\": [\n {\n \"Rect\": {\n \"X\": -19,\n \"Y\": 34,\n \"Width\": 1399,\n \"Height\": 845\n },\n \"Angle\": 0,\n \"Type\": 3,\n \"Code\": \"OK\",\n \"Page\": 1,\n \"SingleInvoiceInfos\": [\n {\n \"Name\": \"销售方识别号\",\n \"Value\": \"440300094040109\",\n \"Row\": -1\n },\n {\n \"Name\": \"销售方名称\",\n \"Value\": \"深圳市游戏科技有限公司\",\n \"Row\": -1\n },\n {\n \"Name\": \"购买方识别号\",\n \"Value\": \"440300708461136\",\n \"Row\": -1\n },\n {\n \"Name\": \"购买方名称\",\n \"Value\": \"深圳市腾讯计算机系统有限公司\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票名称\",\n \"Value\": \"深圳增值税专用发票\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票代码\",\n \"Value\": \"4403152130\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票号码\",\n \"Value\": \"No14998456\",\n \"Row\": -1\n },\n {\n \"Name\": \"打印发票代码\",\n \"Value\": \"4403152130\",\n \"Row\": -1\n },\n {\n \"Name\": \"打印发票号码\",\n \"Value\": \"No14998456\",\n \"Row\": -1\n },\n {\n \"Name\": \"开票日期\",\n \"Value\": \"2016年04月11日\",\n \"Row\": -1\n },\n {\n \"Name\": \"密码区1\",\n \"Value\": \"*7-0<84019---5+68315-99->/51\",\n \"Row\": -1\n },\n {\n \"Name\": \"密码区2\",\n \"Value\": \">814<1/7922/<-23/908+>7474+3\",\n \"Row\": -1\n },\n {\n \"Name\": \"购买方地址、电话\",\n \"Value\": \"深圳市南山区高新区高新南一路飞亚达大厦5-10楼0755-86013388\",\n \"Row\": -1\n },\n {\n \"Name\": \"密码区3\",\n \"Value\": \"78312-072<3<729-+4<6*315-094\",\n \"Row\": -1\n },\n {\n \"Name\": \"密码区4\",\n \"Value\": \"->/5>18493/1-60*6-43/90<--78\",\n \"Row\": -1\n },\n {\n \"Name\": \"购买方开户行及账号\",\n \"Value\": \"招商银行深圳分行振兴支行817282299619961\",\n \"Row\": -1\n },\n {\n \"Name\": \"货物或应税劳务、服务名称\",\n \"Value\": \"技术服务费\",\n \"Row\": 0\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"778.44\",\n \"Row\": 0\n },\n {\n \"Name\": \"税率\",\n \"Value\": \"6%\",\n \"Row\": 0\n },\n {\n \"Name\": \"税额\",\n \"Value\": \"46.71\",\n \"Row\": 0\n },\n {\n \"Name\": \"合计金额\",\n \"Value\": \"¥778.44\",\n \"Row\": -1\n },\n {\n \"Name\": \"合计税额\",\n \"Value\": \"46.71\",\n \"Row\": -1\n },\n {\n \"Name\": \"价税合计(大写)\",\n \"Value\": \"捌佰贰拾伍圆壹角伍分\",\n \"Row\": -1\n },\n {\n \"Name\": \"小写金额\",\n \"Value\": \"¥825.15\",\n \"Row\": -1\n },\n {\n \"Name\": \"销售方地址、电话\",\n \"Value\": \"深圳市南山区高新南一道3号赋安科技大楼A座301室0755-86315454\",\n \"Row\": -1\n },\n {\n \"Name\": \"销售方开户行及账号\",\n \"Value\": \"浦发行深圳科技园支行79210154740015474\",\n \"Row\": -1\n },\n {\n \"Name\": \"收款人\",\n \"Value\": \"李明\",\n \"Row\": -1\n },\n {\n \"Name\": \"复核\",\n \"Value\": \"晓艾\",\n \"Row\": -1\n },\n {\n \"Name\": \"开票人\",\n \"Value\": \"张三\",\n \"Row\": -1\n },\n {\n \"Name\": \"是否有公司印章\",\n \"Value\": \"1\",\n \"Row\": -1\n },\n {\n \"Name\": \"联次\",\n \"Value\": \"三\",\n \"Row\": -1\n },\n {\n \"Name\": \"省\",\n \"Value\": \"广东省\",\n \"Row\": -1\n },\n {\n \"Name\": \"市\",\n \"Value\": \"深圳市\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票消费类型\",\n \"Value\": \"服务\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票类型\",\n \"Value\": \"增值税专用发票\",\n \"Row\": -1\n },\n {\n \"Name\": \"机器编号\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"校验码\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"备注\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"单位\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"规格型号\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"是否代开\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"成品油标志\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"服务类型\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"通行费标志\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"车船税\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"车牌号\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"类型\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"通行日期起\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"通行日期止\",\n \"Value\": \"\",\n \"Row\": -1\n }\n ]\n }\n ],\n \"RequestId\": \"3a850dbc-2de1-4dfb-9ecd-7ae57f2fe666\"\n }\n}",
|
368
356
|
"title": "混贴票据识别示例代码(识别全部类型)"
|
369
357
|
},
|
370
358
|
{
|
371
359
|
"document": "混贴票据识别示例代码(识别指定类型)",
|
372
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MixedInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
360
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MixedInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\",\n \"Types\": [\n \"2\"\n ]\n}",
|
373
361
|
"output": "{\n \"Response\": {\n \"MixedInvoiceItems\": [\n {\n \"Rect\": {\n \"X\": -19,\n \"Y\": 34,\n \"Width\": 1399,\n \"Height\": 845\n },\n \"Angle\": 0,\n \"Type\": 3,\n \"Code\": \"OK\",\n \"Page\": 1,\n \"SingleInvoiceInfos\": [\n {\n \"Name\": \"销售方识别号\",\n \"Value\": \"440300094040109\",\n \"Row\": -1\n },\n {\n \"Name\": \"销售方名称\",\n \"Value\": \"深圳市游戏科技有限公司\",\n \"Row\": -1\n },\n {\n \"Name\": \"购买方识别号\",\n \"Value\": \"440300708461136\",\n \"Row\": -1\n },\n {\n \"Name\": \"购买方名称\",\n \"Value\": \"深圳市腾讯计算机系统有限公司\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票名称\",\n \"Value\": \"深圳增值税专用发票\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票代码\",\n \"Value\": \"4403152130\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票号码\",\n \"Value\": \"No14998456\",\n \"Row\": -1\n },\n {\n \"Name\": \"打印发票代码\",\n \"Value\": \"4403152130\",\n \"Row\": -1\n },\n {\n \"Name\": \"打印发票号码\",\n \"Value\": \"No14998456\",\n \"Row\": -1\n },\n {\n \"Name\": \"开票日期\",\n \"Value\": \"2016年04月11日\",\n \"Row\": -1\n },\n {\n \"Name\": \"密码区1\",\n \"Value\": \"*7-0<84019---5+68315-99->/51\",\n \"Row\": -1\n },\n {\n \"Name\": \"密码区2\",\n \"Value\": \">814<1/7922/<-23/908+>7474+3\",\n \"Row\": -1\n },\n {\n \"Name\": \"购买方地址、电话\",\n \"Value\": \"深圳市南山区高新区高新南一路飞亚达大厦5-10楼0755-86013388\",\n \"Row\": -1\n },\n {\n \"Name\": \"密码区3\",\n \"Value\": \"78312-072<3<729-+4<6*315-094\",\n \"Row\": -1\n },\n {\n \"Name\": \"密码区4\",\n \"Value\": \"->/5>18493/1-60*6-43/90<--78\",\n \"Row\": -1\n },\n {\n \"Name\": \"购买方开户行及账号\",\n \"Value\": \"招商银行深圳分行振兴支行817282299619961\",\n \"Row\": -1\n },\n {\n \"Name\": \"货物或应税劳务、服务名称\",\n \"Value\": \"技术服务费\",\n \"Row\": 0\n },\n {\n \"Name\": \"金额\",\n \"Value\": \"778.44\",\n \"Row\": 0\n },\n {\n \"Name\": \"税率\",\n \"Value\": \"6%\",\n \"Row\": 0\n },\n {\n \"Name\": \"税额\",\n \"Value\": \"46.71\",\n \"Row\": 0\n },\n {\n \"Name\": \"合计金额\",\n \"Value\": \"¥778.44\",\n \"Row\": -1\n },\n {\n \"Name\": \"合计税额\",\n \"Value\": \"46.71\",\n \"Row\": -1\n },\n {\n \"Name\": \"价税合计(大写)\",\n \"Value\": \"捌佰贰拾伍圆壹角伍分\",\n \"Row\": -1\n },\n {\n \"Name\": \"小写金额\",\n \"Value\": \"¥825.15\",\n \"Row\": -1\n },\n {\n \"Name\": \"销售方地址、电话\",\n \"Value\": \"深圳市南山区高新南一道3号赋安科技大楼A座301室0755-86315454\",\n \"Row\": -1\n },\n {\n \"Name\": \"销售方开户行及账号\",\n \"Value\": \"浦发行深圳科技园支行79210154740015474\",\n \"Row\": -1\n },\n {\n \"Name\": \"收款人\",\n \"Value\": \"李明\",\n \"Row\": -1\n },\n {\n \"Name\": \"复核\",\n \"Value\": \"晓艾\",\n \"Row\": -1\n },\n {\n \"Name\": \"开票人\",\n \"Value\": \"张三\",\n \"Row\": -1\n },\n {\n \"Name\": \"是否有公司印章\",\n \"Value\": \"1\",\n \"Row\": -1\n },\n {\n \"Name\": \"联次\",\n \"Value\": \"三\",\n \"Row\": -1\n },\n {\n \"Name\": \"省\",\n \"Value\": \"广东省\",\n \"Row\": -1\n },\n {\n \"Name\": \"市\",\n \"Value\": \"深圳市\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票消费类型\",\n \"Value\": \"服务\",\n \"Row\": -1\n },\n {\n \"Name\": \"发票类型\",\n \"Value\": \"增值税专用发票\",\n \"Row\": -1\n },\n {\n \"Name\": \"机器编号\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"校验码\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"单价\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"备注\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"单位\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"数量\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"规格型号\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"是否代开\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"成品油标志\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"服务类型\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"通行费标志\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"车船税\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"车牌号\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"类型\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"通行日期起\",\n \"Value\": \"\",\n \"Row\": -1\n },\n {\n \"Name\": \"通行日期止\",\n \"Value\": \"\",\n \"Row\": -1\n }\n ]\n }\n ],\n \"RequestId\": \"3a850dbc-2de1-4dfb-9ecd-7ae57f2fe666\"\n }\n}",
|
374
362
|
"title": "混贴票据识别示例代码(识别指定类型)"
|
375
363
|
}
|
376
364
|
],
|
377
365
|
"OrgCodeCertOCR": [
|
378
366
|
{
|
379
|
-
"document": "
|
380
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OrgCodeCertOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
367
|
+
"document": "",
|
368
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OrgCodeCertOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
381
369
|
"output": "{\n \"Response\": {\n \"OrgCode\": \"300000-3\",\n \"Name\": \"望江县xxx店\",\n \"Address\": \"望江县天鹅购物广场xxx铺\",\n \"ValidDate\": \"自2019年07月01日至2023年06月30日\",\n \"RequestId\": \"e7fdecd4-39a3-46a7-a565-274a2004af2e\"\n }\n}",
|
382
|
-
"title": "
|
370
|
+
"title": "OrgCodeCertOCR调用"
|
383
371
|
}
|
384
372
|
],
|
385
373
|
"PassportOCR": [
|
386
374
|
{
|
387
|
-
"document": "
|
388
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PassportOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
389
|
-
"output": "{\n \"Response\": {\n \"
|
390
|
-
"title": "
|
375
|
+
"document": "PassportOCR调用 [前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Version=2018-11-19&Action=PassportOCR)",
|
376
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PassportOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/PassportOCR/PassportOCR1.jpg\",\n \"Type\": \"CN\"\n}",
|
377
|
+
"output": "{\n \"Response\": {\n \"BirthDate\": \"19920922\",\n \"BirthPlace\": \"SHANGHAI\",\n \"CodeCrc\": \"G123456785CHN9209220M200819219203100<<<<<<60\",\n \"CodeSet\": \"POCHNZHANG<<SAN<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\",\n \"Country\": \"CHN\",\n \"ExpiryDate\": \"20200819\",\n \"FamilyName\": \"ZHANG\",\n \"FirstName\": \"SAN\",\n \"IssueDate\": \"20100820\",\n \"IssuePlace\": \"SHANGHAI\",\n \"Name\": \"张三\",\n \"Nationality\": \"CHN\",\n \"PassportNo\": \"G12345678\",\n \"PortraitImageInfo\": {\n \"ImageCoordinates\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 0,\n \"Height\": 0\n },\n \"PortraitImage\": \"\"\n },\n \"RequestId\": \"c34624ee-d868-41c3-adc4-0ca09c68c9de\",\n \"Sex\": \"M\",\n \"Signature\": \"\"\n }\n}",
|
378
|
+
"title": "PassportOCR调用"
|
391
379
|
}
|
392
380
|
],
|
393
381
|
"PermitOCR": [
|
@@ -400,32 +388,32 @@
|
|
400
388
|
],
|
401
389
|
"PropOwnerCertOCR": [
|
402
390
|
{
|
403
|
-
"document": "
|
404
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PropOwnerCertOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
391
|
+
"document": "",
|
392
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PropOwnerCertOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
405
393
|
"output": "{\n \"Response\": {\n \"Owner\": \"李明\",\n \"Possession\": \"单独所有\",\n \"RegisterTime\": \"2015-02-22\",\n \"Purpose\": \"成套住宅\",\n \"Nature\": \"商品房\",\n \"Location\": \"上海市徐汇区田林路397号腾云大厦\",\n \"RequestId\": \"67c12150-b6e4-41a0-a404-503fe83d7e85\"\n }\n}",
|
406
|
-
"title": "
|
394
|
+
"title": "PropOwnerCertOCR调用"
|
407
395
|
}
|
408
396
|
],
|
409
397
|
"QrcodeOCR": [
|
410
398
|
{
|
411
|
-
"document": "二维码和条形码识别",
|
412
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QrcodeOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
413
|
-
"output": "{\n \"Response\": {\n \"CodeResults\": [\n {\n \"
|
414
|
-
"title": "
|
399
|
+
"document": "二维码和条形码识别 [前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=ocr&Version=2018-11-19&Action=QrcodeOCR)",
|
400
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QrcodeOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/QrcodeOCR/QrcodeOCR1.jpg\"\n}",
|
401
|
+
"output": "{\n \"Response\": {\n \"CodeResults\": [\n {\n \"Position\": {\n \"LeftBottom\": {\n \"X\": 161,\n \"Y\": 640\n },\n \"LeftTop\": {\n \"X\": 161,\n \"Y\": 158\n },\n \"RightBottom\": {\n \"X\": 638,\n \"Y\": 640\n },\n \"RightTop\": {\n \"X\": 638,\n \"Y\": 158\n }\n },\n \"TypeName\": \"QR_CODE\",\n \"Url\": \"http://weixin.qq.com/r/LBNqcsHEhpz5rYUR90Y_\"\n }\n ],\n \"ImgSize\": {\n \"High\": 800,\n \"Wide\": 800\n },\n \"RequestId\": \"0cf283f2-b8f8-4d4c-b383-8f56740cc631\"\n }\n}",
|
402
|
+
"title": "QrcodeOCR调用"
|
415
403
|
}
|
416
404
|
],
|
417
405
|
"QuotaInvoiceOCR": [
|
418
406
|
{
|
419
407
|
"document": "定额发票识别",
|
420
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QuotaInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
421
|
-
"output": "{\n \"Response\": {\n \"InvoiceNum\": \"04947858\",\n \"InvoiceCode\": \"131001864304\",\n \"Rate\": \"伍元\",\n \"RateNum\": \"5.00\",\n \"InvoiceType\": \"交通\",\n \"Province\": \"
|
408
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QuotaInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
409
|
+
"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
410
|
"title": "定额发票识别示例代码"
|
423
411
|
}
|
424
412
|
],
|
425
413
|
"RecognizeContainerOCR": [
|
426
414
|
{
|
427
415
|
"document": "集装箱识别",
|
428
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeContainerOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
416
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeContainerOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
429
417
|
"output": "{\n \"Response\": {\n \"ContainerId\": \"APHU7042391\",\n \"ContainerType\": \"45G1\",\n \"GrossKG\": \"32500KG\",\n \"GrossLB\": \"71650LB\",\n \"PayloadKG\": \"28630KG\",\n \"PayloadLB\": \"63120LB\",\n \"TareKG\": \"3870KG\",\n \"TareLB\": \"8530LB\",\n \"CapacityM3\": \"76.4CUM\",\n \"CapacityFT3\": \"2700CUFT\",\n \"Warn\": [\n -9926,\n -9927\n ],\n \"RequestId\": \"45afaba3-5fb8-480e-83f9-2681f1373783\"\n }\n}",
|
430
418
|
"title": "集装箱识别示例代码"
|
431
419
|
}
|
@@ -441,16 +429,16 @@
|
|
441
429
|
"RecognizeForeignPermanentResidentIdCard": [
|
442
430
|
{
|
443
431
|
"document": "外国人永久居留身份证识别",
|
444
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeForeignPermanentResidentIdCard\n<公共请求参数>\n\n{\n \"ImageUrl\": \"
|
445
|
-
"output": "{\n \"Response\": {\n \"CnName\": \"
|
432
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeForeignPermanentResidentIdCard\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/ForeignPermanentResidentIdCard/ForeignPermanentResidentIdCard1.jpg\",\n \"ImageBase64\": \"/9j/4AAQSkZJRg.....s97n//2Q==\",\n \"EnablePdf\": true,\n \"PdfPageNumber\": 1\n}",
|
433
|
+
"output": "{\n \"Response\": {\n \"CnName\": \"吴全斌\",\n \"EnName\": \"QUANBIN,WU\",\n \"Sex\": \"男/M\",\n \"DateOfBirth\": \"1981年08月03日\",\n \"Nationality\": \"加拿大/CAN\",\n \"PeriodOfValidity\": \"自2023年09月15日至2033年09月14日\",\n \"No\": \"911124198108030024\",\n \"RequestId\": \"a39aa7d9-2e31-463e-b3c9-7894ca53c729\"\n }\n}",
|
446
434
|
"title": "外国人永久居留身份证识别"
|
447
435
|
}
|
448
436
|
],
|
449
437
|
"RecognizeGeneralInvoice": [
|
450
438
|
{
|
451
439
|
"document": "通用票据识别(高级版)识别多张票据",
|
452
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeGeneralInvoice\n<公共请求参数>\n\n{\n \"ImageUrl\": \"
|
453
|
-
"output": "{\n \"Response\": {\n \"MixedInvoiceItems\": [\n {\n \"Code\": \"OK\",\n \"Type\": 3,\n \"SubType\": \"VatSpecialInvoice\",\n \"TypeDescription\": \"增值税发票\",\n \"SubTypeDescription\": \"增值税专用发票\",\n \"ItemPolygon\": [],\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 15,\n \"Y\": 884\n },\n \"LeftTop\": {\n \"X\": 15,\n \"Y\": 31\n },\n \"RightBottom\": {\n \"X\": 1354,\n \"Y\": 884\n },\n \"RightTop\": {\n \"X\": 1354,\n \"Y\": 31\n }\n },\n \"Angle\": 270,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TollInvoice\": null,\n \"TrainTicket\": null,\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"ElectronicTrainTicketFull\": null,\n \"ElectronicFlightTicketFull\": null,\n \"VatSpecialInvoice\": {\n \"AcquisitionMark\": 0,\n \"AgentMark\": 0,\n \"BlockChainMark\": 0,\n \"Buyer\": \"深圳市腾讯计算机系统有限公司\",\n \"BuyerAddrTel\": \"深圳市南山区高新区高新南一路飞亚达大厦5-10楼0755-86013388\",\n \"BuyerBankAccount\": \"招商银行深圳分行振兴支行817282299619961\",\n \"BuyerTaxID\": \"440300708461136\",\n \"CheckCode\": \"\",\n \"Ciphertext\": \"*7-0<84019---5+68315-99->/51,>814<1/7922/<-23/908+>7474+3,78312-072<3<729-+4<6*315-094,->/5>18493/1-60*6-43/90<--78\",\n \"City\": \"深圳市\",\n \"Code\": \"4403152130\",\n \"CodeConfirm\": \"4403152130\",\n \"CompanySealContent\": \"深圳市游戏科技有限公司,040400,复票专用章,NDN\",\n \"CompanySealMark\": 1,\n \"Date\": \"2016年04月11日\",\n \"ElectronicFullMark\": 0,\n \"ElectronicFullNumber\": \"\",\n \"FormName\": \"发票联\",\n \"FormType\": \"三\",\n \"Issuer\": \"张三\",\n \"Kind\": \"服务\",\n \"MachineCode\": \"\",\n \"Number\": \"14998456\",\n \"NumberConfirm\": \"14998456\",\n \"OilMark\": 0,\n \"PretaxAmount\": \"778.44\",\n \"Province\": \"广东省\",\n \"QRCodeMark\": 0,\n \"Receiptor\": \"李明\",\n \"Remark\": \"\",\n \"Reviewer\": \"晓艾\",\n \"Seller\": \"深圳市游戏科技有限公司\",\n \"SellerAddrTel\": \"深圳市南山区高新南一道3号赋安科技大楼A座301室0755-86315454\",\n \"SellerBankAccount\": \"浦发行深圳科技园支行79210154740015474\",\n \"SellerTaxID\": \"440300094040109\",\n \"ServiceName\": \"\",\n \"SubTax\": \"\",\n \"SubTotal\": \"\",\n \"Tax\": \"46.71\",\n \"TaxSealContent\": \"\",\n \"Title\": \"深圳增值税专用发票\",\n \"Total\": \"825.15\",\n \"TotalCn\": \"捌佰贰拾伍圆壹角伍分\",\n \"TransitMark\": 0,\n \"TravelTax\": \"\",\n \"VatInvoiceItemInfos\": [\n {\n \"DateEnd\": \"\",\n \"DateStart\": \"\",\n \"LicensePlate\": \"\",\n \"Name\": \"技术服务费\",\n \"Price\": \"\",\n \"Quantity\": \"\",\n \"SerialNumber\": \"\",\n \"Specification\": \"\",\n \"Tax\": \"46.71\",\n \"TaxRate\": \"6%\",\n \"Total\": \"778.44\",\n \"Unit\": \"\",\n \"VehicleType\": \"\"\n }\n ]\n }\n },\n \"Page\": 1,\n \"CutImage\": \"\"\n },\n {\n \"Code\": \"OK\",\n \"Type\": 13,\n \"SubType\": \"TollInvoice\",\n \"TypeDescription\": \"过路过桥费发票\",\n \"SubTypeDescription\": \"过路过桥费发票\",\n \"ItemPolygon\": [],\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 29,\n \"Y\": 1480\n },\n \"LeftTop\": {\n \"X\": 29,\n \"Y\": 900\n },\n \"RightBottom\": {\n \"X\": 487,\n \"Y\": 1480\n },\n \"RightTop\": {\n \"X\": 487,\n \"Y\": 900\n }\n },\n \"Angle\": 0.0409967303276062,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TollInvoice\": {\n \"Code\": \"144031700221\",\n \"Date\": \"2018年08月07日\",\n \"Entrance\": \"前海\",\n \"Exit\": \"大铲湾\",\n \"HighwayMark\": 1,\n \"Kind\": \"交通\",\n \"Number\": \"27357827\",\n \"QRCodeMark\": 0,\n \"Time\": \"06:14:03\",\n \"Title\": \"深圳市广深沿江高速公路投资有限公司通用机打发票\",\n \"Total\": \"5.00\"\n },\n \"TrainTicket\": null,\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"VatSpecialInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\"\n },\n {\n \"Code\": \"OK\",\n \"Type\": 2,\n \"SubType\": \"TrainTicket\",\n \"TypeDescription\": \"火车票\",\n \"SubTypeDescription\": \"火车票\",\n \"ItemPolygon\": [],\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 517,\n \"Y\": 1226\n },\n \"LeftTop\": {\n \"X\": 517,\n \"Y\": 950\n },\n \"RightBottom\": {\n \"X\": 966,\n \"Y\": 1226\n },\n \"RightTop\": {\n \"X\": 966,\n \"Y\": 950\n }\n },\n \"Angle\": 0.24512287974357605,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TollInvoice\": null,\n \"TrainTicket\": {\n \"AdditionalFare\": \"\",\n \"DateGetOn\": \"2018年03月06日\",\n \"GateNumber\": \"\",\n \"HandlingFee\": \"\",\n \"Kind\": \"交通\",\n \"Name\": \"周周\",\n \"Number\": \"Z96X089517\",\n \"OriginalFare\": \"\",\n \"PickUpAddress\": \"上海自\",\n \"QRCodeMark\": 0,\n \"ReceiptNumber\": \"\",\n \"ReimburseOnlyMark\": 0,\n \"Seat\": \"新空调硬座\",\n \"SeatNumber\": \"02车016号\",\n \"SerialNumber\": \"30671300960307X089517\",\n \"StationGetOff\": \"南京\",\n \"StationGetOn\": \"上海\",\n \"TicketChange\": \"0\",\n \"TimeGetOn\": \"18:51\",\n \"Title\": \"\",\n \"Total\": \"46.50\",\n \"RefundMark\": 0,\n \"TotalCn\": \"\",\n \"TrainNumber\": \"Z196\",\n \"UserID\": \"3210231991****6666\"\n },\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"VatSpecialInvoice\": null,\n \"ElectronicTrainTicketFull\": null,\n \"ElectronicFlightTicketFull\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\"\n }\n ],\n \"RequestId\": \"b845b64b-38db-4862-8f2c-8d8b21be6e0b\",\n \"TotalPDFCount\": 1\n }\n}",
|
440
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeGeneralInvoice\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/invoice/MixedInvoiceDetect/MixedInvoiceDetect1.jpg\",\n \"EnableMultiplePage\": true\n}",
|
441
|
+
"output": "{\n \"Response\": {\n \"MixedInvoiceItems\": [\n {\n \"Code\": \"OK\",\n \"Type\": 3,\n \"SubType\": \"VatSpecialInvoice\",\n \"TypeDescription\": \"增值税发票\",\n \"SubTypeDescription\": \"增值税专用发票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 19,\n \"Y\": 888\n },\n \"LeftTop\": {\n \"X\": 19,\n \"Y\": 31\n },\n \"RightBottom\": {\n \"X\": 1347,\n \"Y\": 888\n },\n \"RightTop\": {\n \"X\": 1345,\n \"Y\": 31\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TollInvoice\": null,\n \"TrainTicket\": null,\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"VatSpecialInvoice\": {\n \"AcquisitionMark\": 0,\n \"AgentMark\": 0,\n \"BlockChainMark\": 0,\n \"Buyer\": \"深圳市腾讯计算机系统有限公司\",\n \"BuyerAddrTel\": \"深圳市南山区高新区高新南一路飞亚达大厦5-10楼0755-86013388\",\n \"BuyerBankAccount\": \"招商银行深圳分行振兴支行817282299619961\",\n \"BuyerTaxID\": \"440300708461136\",\n \"CheckCode\": \"\",\n \"Ciphertext\": \"*7-0<84019---5+68315-99->/51,>814<1/7922/<-23/908+>7474+3,78312-072<3<729-+4<6*315-094,->/5>18493/1-60*6-43/90<--78\",\n \"City\": \"深圳市\",\n \"Code\": \"4403152130\",\n \"CodeConfirm\": \"4403152130\",\n \"CompanySealContent\": \"发票专用章,深圳市游戏科技有限公司,04000,NANDN\",\n \"CompanySealMark\": 1,\n \"Date\": \"2016年04月11日\",\n \"ElectronicFullMark\": 0,\n \"ElectronicFullNumber\": \"\",\n \"FormName\": \"发票联\",\n \"FormType\": \"三\",\n \"Issuer\": \"张三\",\n \"Kind\": \"服务\",\n \"MachineCode\": \"\",\n \"Number\": \"14998456\",\n \"NumberConfirm\": \"14998456\",\n \"OilMark\": 0,\n \"PretaxAmount\": \"778.44\",\n \"Province\": \"广东省\",\n \"QRCodeMark\": 0,\n \"Receiptor\": \"李明\",\n \"Remark\": \"\",\n \"Reviewer\": \"晓艾\",\n \"Seller\": \"深圳市游戏科技有限公司\",\n \"SellerAddrTel\": \"深圳市南山区高新南一道3号赋安科技大楼A座301室0755-86315454\",\n \"SellerBankAccount\": \"浦发行深圳科技园支行79210154740015474\",\n \"SellerTaxID\": \"440300094040109\",\n \"ServiceName\": \"\",\n \"SubTax\": \"\",\n \"SubTotal\": \"\",\n \"Tax\": \"46.71\",\n \"TaxSealContent\": \"\",\n \"Title\": \"深圳增值税专用发票\",\n \"Total\": \"825.15\",\n \"TotalCn\": \"捌佰贰拾伍圆壹角伍分\",\n \"TransitMark\": 0,\n \"TravelTax\": \"\",\n \"VatInvoiceItemInfos\": [\n {\n \"DateEnd\": \"\",\n \"DateStart\": \"\",\n \"LicensePlate\": \"\",\n \"Name\": \"技术服务费\",\n \"Price\": \"\",\n \"Quantity\": \"\",\n \"SerialNumber\": \"\",\n \"Specification\": \"\",\n \"Tax\": \"46.71\",\n \"TaxRate\": \"6%\",\n \"Total\": \"778.44\",\n \"Unit\": \"\",\n \"VehicleType\": \"\"\n }\n ]\n }\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n },\n {\n \"Code\": \"OK\",\n \"Type\": 13,\n \"SubType\": \"TollInvoice\",\n \"TypeDescription\": \"过路过桥费发票\",\n \"SubTypeDescription\": \"过路过桥费发票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 26,\n \"Y\": 1469\n },\n \"LeftTop\": {\n \"X\": 26,\n \"Y\": 897\n },\n \"RightBottom\": {\n \"X\": 495,\n \"Y\": 1469\n },\n \"RightTop\": {\n \"X\": 497,\n \"Y\": 897\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TollInvoice\": {\n \"Code\": \"144031700221\",\n \"Date\": \"2018年08月07日\",\n \"Entrance\": \"前海\",\n \"Exit\": \"大铲湾\",\n \"HighwayMark\": 1,\n \"Kind\": \"交通\",\n \"Number\": \"27357827\",\n \"QRCodeMark\": 0,\n \"Time\": \"06:14:03\",\n \"Title\": \"深圳市广深沿江高速公路投资有限公司通用机打发票\",\n \"Total\": \"5.00\"\n },\n \"TrainTicket\": null,\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"VatSpecialInvoice\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n },\n {\n \"Code\": \"OK\",\n \"Type\": 2,\n \"SubType\": \"TrainTicket\",\n \"TypeDescription\": \"火车票\",\n \"SubTypeDescription\": \"火车票\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 517,\n \"Y\": 1232\n },\n \"LeftTop\": {\n \"X\": 517,\n \"Y\": 950\n },\n \"RightBottom\": {\n \"X\": 971,\n \"Y\": 1232\n },\n \"RightTop\": {\n \"X\": 971,\n \"Y\": 950\n }\n },\n \"Angle\": 0,\n \"SingleInvoiceInfos\": {\n \"AirTransport\": null,\n \"BusInvoice\": null,\n \"ElectronicFlightTicketFull\": null,\n \"ElectronicTrainTicketFull\": null,\n \"MachinePrintedInvoice\": null,\n \"MedicalHospitalizedInvoice\": null,\n \"MedicalOutpatientInvoice\": null,\n \"MotorVehicleSaleInvoice\": null,\n \"NonTaxIncomeElectronicBill\": null,\n \"NonTaxIncomeGeneralBill\": null,\n \"OtherInvoice\": null,\n \"QuotaInvoice\": null,\n \"ShippingInvoice\": null,\n \"TaxiTicket\": null,\n \"TollInvoice\": null,\n \"TrainTicket\": {\n \"AdditionalFare\": \"\",\n \"DateGetOn\": \"2018年03月06日\",\n \"GateNumber\": \"候车室6\",\n \"HandlingFee\": \"\",\n \"Kind\": \"交通\",\n \"Name\": \"周周\",\n \"Number\": \"Z96X089517\",\n \"OriginalFare\": \"\",\n \"PickUpAddress\": \"上海\",\n \"QRCodeMark\": 0,\n \"ReceiptNumber\": \"\",\n \"RefundMark\": 0,\n \"ReimburseOnlyMark\": 0,\n \"Seat\": \"新空调硬座\",\n \"SeatNumber\": \"02车016号\",\n \"SerialNumber\": \"30671300960307X089517\",\n \"StationGetOff\": \"南京\",\n \"StationGetOn\": \"上海\",\n \"TicketChange\": \"0\",\n \"TicketChangeMark\": 0,\n \"TimeGetOn\": \"18:51\",\n \"Title\": \"\",\n \"Total\": \"46.50\",\n \"TotalCn\": \"\",\n \"TrainNumber\": \"Z196\",\n \"UserID\": \"3210231991****6666\"\n },\n \"UsedCarPurchaseInvoice\": null,\n \"VatCommonInvoice\": null,\n \"VatElectronicCommonInvoice\": null,\n \"VatElectronicInvoiceBlockchain\": null,\n \"VatElectronicInvoiceFull\": null,\n \"VatElectronicInvoiceToll\": null,\n \"VatElectronicSpecialInvoice\": null,\n \"VatElectronicSpecialInvoiceFull\": null,\n \"VatInvoiceRoll\": null,\n \"VatSalesList\": null,\n \"VatSpecialInvoice\": null\n },\n \"Page\": 1,\n \"CutImage\": \"\",\n \"ItemPolygon\": []\n }\n ],\n \"RequestId\": \"c129cda9-e306-472e-817b-4e133ac5c706\",\n \"TotalPDFCount\": 1\n }\n}",
|
454
442
|
"title": "通用票据识别(高级版)"
|
455
443
|
}
|
456
444
|
],
|
@@ -465,31 +453,47 @@
|
|
465
453
|
"RecognizeHealthCodeOCR": [
|
466
454
|
{
|
467
455
|
"document": "健康码识别",
|
468
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeHealthCodeOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
456
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeHealthCodeOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
469
457
|
"output": "{\n \"Response\": {\n \"Color\": \"绿色\",\n \"IDNumber\": \"\",\n \"Name\": \"王*一\",\n \"RequestId\": \"632c1770-ef32-45e3-b4fc-2cc93ac0bad3\",\n \"SpotName\": \"\",\n \"TestingInterval\": \"48小时\",\n \"TestingResult\": \"阴性\",\n \"TestingTime\": \"2022-01-15 22:52\",\n \"Time\": \"01-08 17:05:05\",\n \"Vaccination\": \"已完成全程接种\",\n \"VaccinationTime\": \"2021-07-25\"\n }\n}",
|
470
458
|
"title": "健康码识别示例代码"
|
471
459
|
}
|
472
460
|
],
|
473
461
|
"RecognizeIndonesiaIDCardOCR": [
|
474
462
|
{
|
475
|
-
"document": "
|
476
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeIndonesiaIDCardOCR\n<公共请求参数>\n\n{\n \"ReturnHeadImage\": \"false\",\n \"ImageUrl\": \"https://
|
463
|
+
"document": "RecognizeIndonesiaIDCardOCR调用",
|
464
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeIndonesiaIDCardOCR\n<公共请求参数>\n\n{\n \"ReturnHeadImage\": \"false\",\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
477
465
|
"output": "{\n \"Response\": {\n \"Agama\": \"ATHOLIK\",\n \"Alamat\": \"BANJARSARI\",\n \"BerlakuHingga\": \"SEUMUR HIDUP\",\n \"GolDarah\": \"O\",\n \"IssuedDate\": \"15-05-2015\",\n \"JenisKelamin\": \"LAKEI AKI\",\n \"Kecamatan\": \"\",\n \"KelDesa\": \"PAKEMBINANGUN\",\n \"KewargaNegaraan\": \"INM\",\n \"NIK\": \"360000000006\",\n \"Nama\": \"\",\n \"Perkerjaan\": \"KARYAWAN SWASTA\",\n \"Photo\": \"\",\n \"RTRW\": \"00/000\",\n \"RequestId\": \"0000-0000-0000-0001\",\n \"StatusPerkawinan\": \"KAWFN\",\n \"TempatTglLahir\": \"JAKARTA 13-01-1987\",\n \"Provinsi\": \"DKI JAKARTA\",\n \"Kota\": \"DKI JAKARTA\"\n }\n}",
|
478
|
-
"title": "RecognizeIndonesiaIDCardOCR"
|
466
|
+
"title": "RecognizeIndonesiaIDCardOCR调用"
|
467
|
+
}
|
468
|
+
],
|
469
|
+
"RecognizeKoreanDrivingLicenseOCR": [
|
470
|
+
{
|
471
|
+
"document": "韩国驾驶证识别",
|
472
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeKoreanDrivingLicenseOCR\n<公共请求参数>\n\n{\n \"ReturnHeadImage\": \"false\",\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
473
|
+
"output": "{\n \"Response\": {\n \"Address\": \"주 소 전북 전주 덕진 반월 763-1 -籍 전주월드컵경기장28\",\n \"AptitudeTesDate\": \"28/02/2020~27/08/2020\",\n \"Birthday\": \"13/07/1987\",\n \"DateOfIssue\": \"28/02/2011\",\n \"ID\": \"7043EX\",\n \"LicenseNumber\": \"전북 11-006760-90\",\n \"Name\": \"HUANG BOWEN\",\n \"Number\": \"870713-5260590\",\n \"Photo\": \"\",\n \"RequestId\": \"4fd48a46-b911-4725-a0c4-f4be81866e12\",\n \"Sex\": \"未知\",\n \"Type\": \"2종보동\"\n }\n}",
|
474
|
+
"title": "韩国驾驶证识别"
|
475
|
+
}
|
476
|
+
],
|
477
|
+
"RecognizeKoreanIDCardOCR": [
|
478
|
+
{
|
479
|
+
"document": "韩国身份证识别",
|
480
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeKoreanIDCardOCR\n<公共请求参数>\n\n{\n \"ReturnHeadImage\": \"true\",\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
481
|
+
"output": "{\n \"Response\": {\n \"Address\": \"서울특별시 종로구은천로 93.1203동 1204호(봉천동, 진달래아파트101동 2301호)\",\n \"Birthday\": \"01/07/1982\",\n \"DateOfIssue\": \"01/01/8207\",\n \"ID\": \"820701-2345678\",\n \"Name\": \"홍길동 (洪吉童)\",\n \"Photo\": \"/9j/4AAQSkZJRg.....s97n//2Q==\",\n \"RequestId\": \"8b03725a-d5b3-4dfa-81b5-55214271a69a\",\n \"Sex\": \"女\"\n }\n}",
|
482
|
+
"title": "韩国身份证识别"
|
479
483
|
}
|
480
484
|
],
|
481
485
|
"RecognizeMedicalInvoiceOCR": [
|
482
486
|
{
|
483
487
|
"document": "医疗发票识别示例",
|
484
|
-
"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://
|
485
|
-
"output": "{\n \"Response\": {\n \"MedicalInvoiceInfos\": [\n {\n \"MedicalInvoiceItems\": [\n {\n \"Name\": \"单位\",\n \"Content\": \"
|
488
|
+
"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://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/invoice/RecognizeMedicalInvoiceOCR/RecognizeMedicalInvoiceOCR1.jpg\",\n \"ReturnVertex\": false,\n \"ReturnCoord\": false\n}",
|
489
|
+
"output": "{\n \"Response\": {\n \"MedicalInvoiceInfos\": [\n {\n \"MedicalInvoiceItems\": [\n {\n \"Name\": \"单位\",\n \"Content\": \"***机构\",\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}",
|
486
490
|
"title": "医疗发票识别示例"
|
487
491
|
}
|
488
492
|
],
|
489
493
|
"RecognizeOnlineTaxiItineraryOCR": [
|
490
494
|
{
|
491
495
|
"document": "网约车行程单识别示例代码",
|
492
|
-
"input": "
|
496
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeOnlineTaxiItineraryOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
493
497
|
"output": "{\n \"Response\": {\n \"OnlineTaxiItineraryInfos\": [\n {\n \"Name\": \"行程单分类\",\n \"Row\": -1,\n \"Value\": \"乐橙网约车-行程单\"\n },\n {\n \"Name\": \"申请日期\",\n \"Row\": -1,\n \"Value\": \"2020年09月04日\"\n },\n {\n \"Name\": \"行程开始日期\",\n \"Row\": -1,\n \"Value\": \"2020年09月01日\"\n },\n {\n \"Name\": \"行程结束日期\",\n \"Row\": -1,\n \"Value\": \"2020年09月01日\"\n },\n {\n \"Name\": \"手机号\",\n \"Row\": -1,\n \"Value\": \"13447844750\"\n },\n {\n \"Name\": \"车型\",\n \"Row\": 0,\n \"Value\": \"快车\"\n },\n {\n \"Name\": \"城市\",\n \"Row\": 0,\n \"Value\": \"深圳\"\n },\n {\n \"Name\": \"上车时间\",\n \"Row\": 0,\n \"Value\": \"09-0107:57周二\"\n },\n {\n \"Name\": \"起点\",\n \"Row\": 0,\n \"Value\": \"碧海湾\"\n },\n {\n \"Name\": \"终点\",\n \"Row\": 0,\n \"Value\": \"大鹏所城\"\n },\n {\n \"Name\": \"里程\",\n \"Row\": 0,\n \"Value\": \"89.6公里\"\n },\n {\n \"Name\": \"金额\",\n \"Row\": 0,\n \"Value\": \"324元\"\n }\n ],\n \"RequestId\": \"167d28e1-a0da-450c-9368-07ef35634ab6\"\n }\n}",
|
494
498
|
"title": "网约车行程单识别示例代码"
|
495
499
|
}
|
@@ -497,47 +501,47 @@
|
|
497
501
|
"RecognizePhilippinesDrivingLicenseOCR": [
|
498
502
|
{
|
499
503
|
"document": "",
|
500
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizePhilippinesDrivingLicenseOCR\n<公共请求参数>\n\n{\n \"ReturnHeadImage\": \"true\",\n \"ImageUrl\": \"https://
|
501
|
-
"output": "{\n \"Response\": {\n \"Address\": {\n \"Polygon\": [\n {\n \"X\": \"
|
502
|
-
"title": "
|
504
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizePhilippinesDrivingLicenseOCR\n<公共请求参数>\n\n{\n \"ReturnHeadImage\": \"true\",\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
505
|
+
"output": "{\n \"Response\": {\n \"Address\": {\n \"Polygon\": [\n {\n \"X\": 566,\n \"Y\": 500\n },\n {\n \"X\": 704,\n \"Y\": 500\n },\n {\n \"X\": 704,\n \"Y\": 532\n },\n {\n \"X\": 566,\n \"Y\": 532\n }\n ],\n \"Value\": \"132 LAKAS NG MAHIRAP***CITY\"\n },\n \"AgencyCode\": {\n \"Polygon\": [\n {\n \"X\": 1286,\n \"Y\": 683\n },\n {\n \"X\": 1385,\n \"Y\": 683\n },\n {\n \"X\": 1385,\n \"Y\": 725\n },\n {\n \"X\": 1286,\n \"Y\": 725\n }\n ],\n \"Value\": \"N2*\"\n },\n \"Birthday\": {\n \"Polygon\": [\n {\n \"X\": 911,\n \"Y\": 432\n },\n {\n \"X\": 1186,\n \"Y\": 432\n },\n {\n \"X\": 1186,\n \"Y\": 483\n },\n {\n \"X\": 911,\n \"Y\": 483\n }\n ],\n \"Value\": \"1992/**/22\"\n },\n \"ExpiresDate\": {\n \"Polygon\": [\n {\n \"X\": 557,\n \"Y\": 675\n },\n {\n \"X\": 1229,\n \"Y\": 679\n },\n {\n \"X\": 1228,\n \"Y\": 736\n },\n {\n \"X\": 556,\n \"Y\": 732\n }\n ],\n \"Value\": \"2024/**/22\"\n },\n \"FirstName\": {\n \"Polygon\": [\n {\n \"X\": 555,\n \"Y\": 320\n },\n {\n \"X\": 1286,\n \"Y\": 314\n },\n {\n \"X\": 1286,\n \"Y\": 373\n },\n {\n \"X\": 555,\n \"Y\": 379\n }\n ],\n \"Value\": \"GE**LD\"\n },\n \"HeadPortrait\": {\n \"Polygon\": [\n {\n \"X\": 108,\n \"Y\": 282\n },\n {\n \"X\": 536,\n \"Y\": 282\n },\n {\n \"X\": 536,\n \"Y\": 770\n },\n {\n \"X\": 108,\n \"Y\": 770\n }\n ],\n \"Value\": \"/9j/4AAQSkZJRg.....s97n//2Q==\"\n },\n \"LastName\": {\n \"Polygon\": [\n {\n \"X\": 555,\n \"Y\": 320\n },\n {\n \"X\": 1286,\n \"Y\": 314\n },\n {\n \"X\": 1286,\n \"Y\": 373\n },\n {\n \"X\": 555,\n \"Y\": 379\n }\n ],\n \"Value\": \"SA**N\"\n },\n \"LicenseNo\": {\n \"Polygon\": [\n {\n \"X\": 557,\n \"Y\": 675\n },\n {\n \"X\": 1229,\n \"Y\": 679\n },\n {\n \"X\": 1228,\n \"Y\": 736\n },\n {\n \"X\": 556,\n \"Y\": 732\n }\n ],\n \"Value\": \"N02-**-****44\"\n },\n \"MiddleName\": {\n \"Polygon\": [\n {\n \"X\": 555,\n \"Y\": 320\n },\n {\n \"X\": 1286,\n \"Y\": 314\n },\n {\n \"X\": 1286,\n \"Y\": 373\n },\n {\n \"X\": 555,\n \"Y\": 379\n }\n ],\n \"Value\": \"GO***LES\"\n },\n \"Name\": {\n \"Polygon\": [\n {\n \"X\": 555,\n \"Y\": 320\n },\n {\n \"X\": 1286,\n \"Y\": 314\n },\n {\n \"X\": 1286,\n \"Y\": 373\n },\n {\n \"X\": 555,\n \"Y\": 379\n }\n ],\n \"Value\": \"SA*****LES\"\n },\n \"Nationality\": {\n \"Polygon\": [\n {\n \"X\": 563,\n \"Y\": 438\n },\n {\n \"X\": 660,\n \"Y\": 438\n },\n {\n \"X\": 660,\n \"Y\": 479\n },\n {\n \"X\": 563,\n \"Y\": 479\n }\n ],\n \"Value\": \"PHL\"\n },\n \"RequestId\": \"f3f1b6d7-e2f1-48e1-a454-d2c8ba2e4fa0\",\n \"Sex\": {\n \"Polygon\": [\n {\n \"X\": 561,\n \"Y\": 393\n },\n {\n \"X\": 743,\n \"Y\": 397\n },\n {\n \"X\": 742,\n \"Y\": 439\n },\n {\n \"X\": 561,\n \"Y\": 434\n }\n ],\n \"Value\": \"M\"\n }\n }\n}",
|
506
|
+
"title": "菲律宾驾驶证识别调用"
|
503
507
|
}
|
504
508
|
],
|
505
509
|
"RecognizePhilippinesSssIDOCR": [
|
506
510
|
{
|
507
|
-
"document": "
|
508
|
-
"input": "https://ocr.tencentcloudapi.com/?Action=RecognizePhilippinesSssIDOCR\n&ImageUrl=https://
|
509
|
-
"output": "{\n \"Response\": {\n \"Birthday\": {\n \"Polygon\": [\n {\n \"X\": 543,\n \"Y\": 805\n },\n {\n \"X\": 754,\n \"Y\": 805\n },\n {\n \"X\": 754,\n \"Y\": 842\n },\n {\n \"X\": 543,\n \"Y\": 842\n }\n ],\n \"Value\": \"JULY 7,1980\"\n },\n \"FullName\": {\n \"Polygon\": [\n {\n \"X\":
|
510
|
-
"title": "
|
511
|
+
"document": "",
|
512
|
+
"input": "https://ocr.tencentcloudapi.com/?Action=RecognizePhilippinesSssIDOCR\n&ImageUrl=https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\n&ReturnHeadImage=false\n&<公共请求参数>",
|
513
|
+
"output": "{\n \"Response\": {\n \"Birthday\": {\n \"Polygon\": [\n {\n \"X\": 543,\n \"Y\": 805\n },\n {\n \"X\": 754,\n \"Y\": 805\n },\n {\n \"X\": 754,\n \"Y\": 842\n },\n {\n \"X\": 543,\n \"Y\": 842\n }\n ],\n \"Value\": \"JULY 7,1980\"\n },\n \"FullName\": {\n \"Polygon\": [\n {\n \"X\": 82,\n \"Y\": 55\n },\n {\n \"X\": 195,\n \"Y\": 55\n },\n {\n \"X\": 195,\n \"Y\": 67\n },\n {\n \"X\": 82,\n \"Y\": 67\n }\n ],\n \"Value\": \"PAMELAL OCAMPO\"\n },\n \"HeadPortrait\": {\n \"Polygon\": [],\n \"Value\": \"\"\n },\n \"LicenseNumber\": {\n \"Polygon\": [\n {\n \"X\": 82,\n \"Y\": 85\n },\n {\n \"X\": 187,\n \"Y\": 85\n },\n {\n \"X\": 187,\n \"Y\": 99\n },\n {\n \"X\": 82,\n \"Y\": 99\n }\n ],\n \"Value\": \"04-0751449-0\"\n },\n \"RequestId\": \"0e20a043-d3da-40e8-b576-59e33fff3b55\"\n }\n}",
|
514
|
+
"title": "RecognizePhilippinesSssIDOCR调用"
|
511
515
|
}
|
512
516
|
],
|
513
517
|
"RecognizePhilippinesTinIDOCR": [
|
514
518
|
{
|
515
519
|
"document": "",
|
516
|
-
"input": "https://ocr.tencentcloudapi.com/?Action=RecognizePhilippinesTinIDOCR\n&ImageUrl=https://
|
517
|
-
"output": "{\n \"Response\": {\n \"Address\": {\n \"Polygon\": [],\n \"Value\": \"18 A KATIPUNAN
|
518
|
-
"title": "菲律宾TinID
|
520
|
+
"input": "https://ocr.tencentcloudapi.com/?Action=RecognizePhilippinesTinIDOCR\n&ImageUrl=https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\n&ReturnHeadImage=false\n&<公共请求参数>",
|
521
|
+
"output": "{\n \"Response\": {\n \"Address\": {\n \"Polygon\": [],\n \"Value\": \"18 A KATIPUNAN ****** RIZAL \"\n },\n \"Birthday\": {\n \"Polygon\": [\n {\n \"X\": 665,\n \"Y\": 737\n },\n {\n \"X\": 997,\n \"Y\": 737\n },\n {\n \"X\": 997,\n \"Y\": 787\n },\n {\n \"X\": 665,\n \"Y\": 787\n }\n ],\n \"Value\": \"August **,1972\"\n },\n \"FullName\": {\n \"Polygon\": [],\n \"Value\": \"VER******ALBIOR\"\n },\n \"HeadPortrait\": {\n \"Polygon\": [\n {\n \"X\": 1118,\n \"Y\": 512\n },\n {\n \"X\": 1368,\n \"Y\": 512\n },\n {\n \"X\": 1368,\n \"Y\": 808\n },\n {\n \"X\": 1118,\n \"Y\": 808\n }\n ],\n \"Value\": \"/9j/4AAQSkZJRg.....s97n//2Q==\"\n },\n \"IssueDate\": {\n \"Polygon\": [\n {\n \"X\": 665,\n \"Y\": 737\n },\n {\n \"X\": 997,\n \"Y\": 737\n },\n {\n \"X\": 997,\n \"Y\": 787\n },\n {\n \"X\": 665,\n \"Y\": 787\n }\n ],\n \"Value\": \"August **,1972\"\n },\n \"LicenseNumber\": {\n \"Polygon\": [\n {\n \"X\": 505,\n \"Y\": 522\n },\n {\n \"X\": 897,\n \"Y\": 522\n },\n {\n \"X\": 897,\n \"Y\": 572\n },\n {\n \"X\": 505,\n \"Y\": 572\n }\n ],\n \"Value\": \"497-***-***-000\"\n },\n \"RequestId\": \"df40cc1c-e074-44ab-ab39-cc2c105a5cd4\"\n }\n}",
|
522
|
+
"title": "菲律宾TinID识别调用"
|
519
523
|
}
|
520
524
|
],
|
521
525
|
"RecognizePhilippinesUMIDOCR": [
|
522
526
|
{
|
523
527
|
"document": "菲律宾UMID识别",
|
524
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizePhilippinesUMIDOCR\n<公共请求参数>\n\n{\n \"ImageBase64\": \"
|
525
|
-
"output": "{\n \"Response\": {\n \"Address\": {\n \"Polygon\": [\n {\n \"X\":
|
528
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizePhilippinesUMIDOCR\n<公共请求参数>\n\n{\n \"ImageBase64\": \"/9j/4AAQSkZJRg.....s97n//2Q==\",\n \"ImageUrl\": \"\",\n \"ReturnHeadImage\": true\n}",
|
529
|
+
"output": "{\n \"Response\": {\n \"Address\": {\n \"Polygon\": [\n {\n \"X\": 299,\n \"Y\": 948\n },\n {\n \"X\": 653,\n \"Y\": 948\n },\n {\n \"X\": 654,\n \"Y\": 1007\n },\n {\n \"X\": 299,\n \"Y\": 1000\n }\n ],\n \"Value\": \"19 MOLAVE *** LAGUNA PHL ****\"\n },\n \"Birthday\": {\n \"Polygon\": [\n {\n \"X\": 443,\n \"Y\": 915\n },\n {\n \"X\": 586,\n \"Y\": 917\n },\n {\n \"X\": 587,\n \"Y\": 938\n },\n {\n \"X\": 442,\n \"Y\": 937\n }\n ],\n \"Value\": \"1996/03/26\"\n },\n \"CRN\": {\n \"Polygon\": [\n {\n \"X\": 446,\n \"Y\": 733\n },\n {\n \"X\": 649,\n \"Y\": 734\n },\n {\n \"X\": 649,\n \"Y\": 755\n },\n {\n \"X\": 446,\n \"Y\": 754\n }\n ],\n \"Value\": \"CRN-***-888***-0\"\n },\n \"GivenName\": {\n \"Polygon\": [\n {\n \"X\": 295,\n \"Y\": 832\n },\n {\n \"X\": 486,\n \"Y\": 833\n },\n {\n \"X\": 486,\n \"Y\": 855\n },\n {\n \"X\": 295,\n \"Y\": 854\n }\n ],\n \"Value\": \"ARMAI***YCE\"\n },\n \"HeadPortrait\": {\n \"Polygon\": [\n {\n \"X\": 16,\n \"Y\": 731\n },\n {\n \"X\": 233,\n \"Y\": 731\n },\n {\n \"X\": 233,\n \"Y\": 1006\n },\n {\n \"X\": 16,\n \"Y\": 1006\n }\n ],\n \"Value\": \"/9j/4AAQSkZJRg.....s97n//2Q==\"\n },\n \"MiddleName\": {\n \"Polygon\": [\n {\n \"X\": 296,\n \"Y\": 895\n },\n {\n \"X\": 400,\n \"Y\": 894\n },\n {\n \"X\": 401,\n \"Y\": 915\n },\n {\n \"X\": 296,\n \"Y\": 916\n }\n ],\n \"Value\": \"ZU**EGA\"\n },\n \"Sex\": {\n \"Polygon\": [\n {\n \"X\": 324,\n \"Y\": 915\n },\n {\n \"X\": 341,\n \"Y\": 915\n },\n {\n \"X\": 342,\n \"Y\": 936\n },\n {\n \"X\": 322,\n \"Y\": 935\n }\n ],\n \"Value\": \"F\"\n },\n \"Surname\": {\n \"Polygon\": [\n {\n \"X\": 292,\n \"Y\": 793\n },\n {\n \"X\": 415,\n \"Y\": 793\n },\n {\n \"X\": 415,\n \"Y\": 814\n },\n {\n \"X\": 292,\n \"Y\": 815\n }\n ],\n \"Value\": \"SAL**INO\"\n },\n \"RequestId\": \"61d6eff2-418e-4864-b1cf-af0b91c53efb\"\n }\n}",
|
526
530
|
"title": "菲律宾UMID识别"
|
527
531
|
}
|
528
532
|
],
|
529
533
|
"RecognizePhilippinesVoteIDOCR": [
|
530
534
|
{
|
531
|
-
"document": "
|
532
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizePhilippinesVoteIDOCR\n<公共请求参数>\n\n{\n \"ReturnHeadImage\": \"false\",\n \"ImageUrl\": \"https://
|
535
|
+
"document": "",
|
536
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizePhilippinesVoteIDOCR\n<公共请求参数>\n\n{\n \"ReturnHeadImage\": \"false\",\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
533
537
|
"output": "{\n \"Response\": {\n \"Address\": {\n \"Polygon\": [\n {\n \"X\": \"276\",\n \"Y\": \"337\"\n },\n {\n \"X\": \"351\",\n \"Y\": \"337\"\n },\n {\n \"X\": \"351\",\n \"Y\": \"357\"\n },\n {\n \"X\": \"276\",\n \"Y\": \"357\"\n }\n ],\n \"Value\": \" IPIL,ZAMBOANGA CITY\"\n },\n \"Birthday\": {\n \"Polygon\": [\n {\n \"X\": \"406\",\n \"Y\": \"257\"\n },\n {\n \"X\": \"552\",\n \"Y\": \"257\"\n },\n {\n \"X\": \"552\",\n \"Y\": \"279\"\n },\n {\n \"X\": \"406\",\n \"Y\": \"279\"\n }\n ],\n \"Value\": \"March 13,1985\"\n },\n \"Citizenship\": {\n \"Polygon\": [\n {\n \"X\": \"405\",\n \"Y\": \"311\"\n },\n {\n \"X\": \"492\",\n \"Y\": \"311\"\n },\n {\n \"X\": \"492\",\n \"Y\": \"331\"\n },\n {\n \"X\": \"404\",\n \"Y\": \"331\"\n }\n ],\n \"Value\": \"Filipino\"\n },\n \"CivilStatus\": {\n \"Polygon\": [\n {\n \"X\": \"407\",\n \"Y\": \"285\"\n },\n {\n \"X\": \"485\",\n \"Y\": \"285\"\n },\n {\n \"X\": \"485\",\n \"Y\": \"304\"\n },\n {\n \"X\": \"407\",\n \"Y\": \"304\"\n }\n ],\n \"Value\": \"Single\"\n },\n \"FirstName\": {\n \"Polygon\": [\n {\n \"X\": \"276\",\n \"Y\": \"173\"\n },\n {\n \"X\": \"344\",\n \"Y\": \"173\"\n },\n {\n \"X\": \"344\",\n \"Y\": \"195\"\n },\n {\n \"X\": \"276\",\n \"Y\": \"195\"\n }\n ],\n \"Value\": \"ROYO\"\n },\n \"HeadPortrait\": {\n \"Polygon\": [],\n \"Value\": \"\"\n },\n \"LastName\": {\n \"Polygon\": [\n {\n \"X\": \"276\",\n \"Y\": \"214\"\n },\n {\n \"X\": \"376\",\n \"Y\": \"213\"\n },\n {\n \"X\": \"376\",\n \"Y\": \"238\"\n },\n {\n \"X\": \"276\",\n \"Y\": \"239\"\n }\n ],\n \"Value\": \"TUDTUD\"\n },\n \"PrecinctNo\": {\n \"Polygon\": [\n {\n \"X\": \"459\",\n \"Y\": \"415\"\n },\n {\n \"X\": \"520\",\n \"Y\": \"415\"\n },\n {\n \"X\": \"520\",\n \"Y\": \"434\"\n },\n {\n \"X\": \"459\",\n \"Y\": \"434\"\n }\n ],\n \"Value\": \"0398B\"\n },\n \"RequestId\": \"1234-1234-1234-1234\",\n \"VIN\": {\n \"Polygon\": [\n {\n \"X\": \"253\",\n \"Y\": \"128\"\n },\n {\n \"X\": \"652\",\n \"Y\": \"128\"\n },\n {\n \"X\": \"652\",\n \"Y\": \"153\"\n },\n {\n \"X\": \"253\",\n \"Y\": \"153\"\n }\n ],\n \"Value\": \"7502-0398B-G0987ANT10000\"\n }\n }\n}",
|
534
|
-
"title": "
|
538
|
+
"title": "RecognizePhilippinesVoteIDOCR调用"
|
535
539
|
}
|
536
540
|
],
|
537
541
|
"RecognizeStoreName": [
|
538
542
|
{
|
539
543
|
"document": "门头照识别示例",
|
540
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeStoreName\n<公共请求参数>\n\n{\n \"
|
544
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeStoreName\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
541
545
|
"output": "{\n \"Response\": {\n \"Angle\": 0.988696813583374,\n \"RequestId\": \"e450a988-e6b1-4dde-810c-59ab214d39a6\",\n \"StoreInfo\": [\n {\n \"Name\": \"商店名称\",\n \"Rect\": {\n \"Height\": 263,\n \"Width\": 1132,\n \"X\": 232,\n \"Y\": 366\n },\n \"Value\": \"城市生活超市\"\n },\n {\n \"Name\": \"商店名称\",\n \"Rect\": {\n \"Height\": 69,\n \"Width\": 275,\n \"X\": 240,\n \"Y\": 557\n },\n \"Value\": \"CITY LIFE\"\n }\n ],\n \"StoreLabel\": [\n \"门头照\"\n ]\n }\n}",
|
542
546
|
"title": "门头照识别示例"
|
543
547
|
}
|
@@ -560,20 +564,28 @@
|
|
560
564
|
],
|
561
565
|
"RecognizeThaiIDCardOCR": [
|
562
566
|
{
|
563
|
-
"document": "
|
564
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeThaiIDCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
567
|
+
"document": "",
|
568
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeThaiIDCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
565
569
|
"output": "{\n \"Response\": {\n \"ID\": \"3102001968756\",\n \"ThaiName\": \"นาย ธนกฤต บุญโญปกรุณ์\",\n \"EnFirstName\": \"Mr. Thanakit\",\n \"Address\": \"Boonyopakron\",\n \"Birthday\": \"ที่อยู่21/19หมู่ที่3ต.บางคูครัดอ.บางบัวทอง\",\n \"IssueDate\": \"14ธ.ค.2509\",\n \"ExpirationDate\": \"9ธ.ค.2559\",\n \"EnLastName\": \"Boonyopakron\",\n \"PortraitImage\": \"oiuu\",\n \"RequestId\": \"98f8fcbf-933a-4e95-ac48-6f1a9308fs51\"\n }\n}",
|
566
|
-
"title": "
|
570
|
+
"title": "RecognizeThaiIDCardOCR调用"
|
567
571
|
}
|
568
572
|
],
|
569
573
|
"RecognizeTravelCardOCR": [
|
570
574
|
{
|
571
575
|
"document": "通信行程卡识别",
|
572
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeTravelCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
576
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeTravelCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
573
577
|
"output": "{\n \"Response\": {\n \"Color\": \"绿色\",\n \"ReachedCity\": [\n \"上海市\"\n ],\n \"RequestId\": \"49050856-4804-406b-821b-b3d750de3692\",\n \"RiskArea\": [],\n \"Telephone\": \"150****3634\",\n \"Time\": \"2022.07.08 11:11:39\"\n }\n}",
|
574
578
|
"title": "通信行程卡识别示例代码"
|
575
579
|
}
|
576
580
|
],
|
581
|
+
"RecognizeValidIDCardOCR": [
|
582
|
+
{
|
583
|
+
"document": "识别身份证信息",
|
584
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeValidIDCardOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/IDCardOCR/IDCardOCR1.jpg\"\n}",
|
585
|
+
"output": "{\n \"Response\": {\n \"IDCardInfo\": {\n \"Address\": {\n \"Confidence\": 89,\n \"Content\": \"广东省深圳市南山区腾讯大厦\",\n \"IsInComplete\": 0,\n \"IsReflect\": 0\n },\n \"Authority\": {\n \"Confidence\": 0,\n \"Content\": \"\",\n \"IsInComplete\": 1,\n \"IsReflect\": 0\n },\n \"Birth\": {\n \"Confidence\": 89,\n \"Content\": \"1995年5月13日\",\n \"IsInComplete\": 0,\n \"IsReflect\": 0\n },\n \"CardImage\": {\n \"Confidence\": 0,\n \"Content\": \"\",\n \"IsInComplete\": 1,\n \"IsReflect\": 0\n },\n \"IdNum\": {\n \"Confidence\": 89,\n \"Content\": \"440305199505132561\",\n \"IsInComplete\": 0,\n \"IsReflect\": 0\n },\n \"Name\": {\n \"Confidence\": 89,\n \"Content\": \"刘洋\",\n \"IsInComplete\": 0,\n \"IsReflect\": 0\n },\n \"Nation\": {\n \"Confidence\": 89,\n \"Content\": \"汉\",\n \"IsInComplete\": 0,\n \"IsReflect\": 0\n },\n \"PortraitImage\": {\n \"Confidence\": 0,\n \"Content\": \"\",\n \"IsInComplete\": 1,\n \"IsReflect\": 0\n },\n \"Sex\": {\n \"Confidence\": 89,\n \"Content\": \"女\",\n \"IsInComplete\": 0,\n \"IsReflect\": 0\n },\n \"ValidDate\": {\n \"Confidence\": 0,\n \"Content\": \"\",\n \"IsInComplete\": 1,\n \"IsReflect\": 0\n },\n \"WarnInfos\": {\n \"BorderCheck\": 0,\n \"CopyCheck\": 0,\n \"OcclusionCheck\": 0,\n \"PSCheck\": 0,\n \"ReshootCheck\": 0\n }\n },\n \"PermanentResidencePermitInfo\": null,\n \"RequestId\": \"531e2077-4fc0-4245-9114-526a752f71a8\",\n \"ResidencePermitInfo\": null,\n \"TemporaryIDCardInfo\": null,\n \"Type\": \"身份证人像面\"\n }\n}",
|
586
|
+
"title": "有效身份证件识别(鉴伪版)示例"
|
587
|
+
}
|
588
|
+
],
|
577
589
|
"ReconstructDocument": [
|
578
590
|
{
|
579
591
|
"document": "PDF文档解析",
|
@@ -584,26 +596,26 @@
|
|
584
596
|
],
|
585
597
|
"ResidenceBookletOCR": [
|
586
598
|
{
|
587
|
-
"document": "
|
588
|
-
"input": "
|
599
|
+
"document": "",
|
600
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResidenceBookletOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
589
601
|
"output": "{\n \"Response\": {\n \"Address\": \"\",\n \"BirthDate\": \"1999年09月19日\",\n \"BirthPlace\": \"上海市\",\n \"BloodType\": \"\",\n \"EducationDegree\": \"小学\",\n \"FormerName\": \"李新星\",\n \"Height\": \"\",\n \"HomePageNumber\": \"\",\n \"Household\": \"\",\n \"HouseholdNumber\": \"\",\n \"HouseholderName\": \"\",\n \"IdCardNumber\": \"310110199909192329\",\n \"IssueDate\": \"\",\n \"MaritalStatus\": \"未婚\",\n \"MoveToCityInformation\": \"\",\n \"MoveToSiteInformation\": \"\",\n \"Name\": \"李晨曦\",\n \"Nation\": \"汉\",\n \"NativePlace\": \"江苏省江阴市\",\n \"OtherAddresses\": \"\",\n \"Profession\": \"\",\n \"RegistrationDate\": \"2010年07月13日\",\n \"Relationship\": \"子\",\n \"ReligiousBelief\": \"\",\n \"RequestId\": \"037d6b99-6ca4-401a-a537-fe5e16f1d777\",\n \"ServicePlace\": \"丰镇小学\",\n \"Sex\": \"男\",\n \"Signature\": \"\",\n \"VeteranStatus\": \"\"\n }\n}",
|
590
|
-
"title": "
|
602
|
+
"title": "ResidenceBookletOCR调用"
|
591
603
|
}
|
592
604
|
],
|
593
605
|
"RideHailingDriverLicenseOCR": [
|
594
606
|
{
|
595
607
|
"document": "网约车驾驶证识别示例代码",
|
596
|
-
"input": "https://ocr.tencentcloudapi.com/?Action=RideHailingDriverLicenseOCR\
|
597
|
-
"output": "{\n \"Response\": {\n \"Name\": \"
|
608
|
+
"input": "https://ocr.tencentcloudapi.com/?Action=RideHailingDriverLicenseOCR\n&ImageUrl=https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\n&<公共请求参数>",
|
609
|
+
"output": "{\n \"Response\": {\n \"Name\": \"张**\",\n \"LicenseNumber\": \"130****13\",\n \"StartDate\": \"20190925\",\n \"EndDate\": \"20190925\",\n \"ReleaseDate\": \"20190925\",\n \"RequestId\": \"aa534793deqd1dqq948487\"\n }\n}",
|
598
610
|
"title": "网约车驾驶证识别示例代码"
|
599
611
|
}
|
600
612
|
],
|
601
613
|
"RideHailingTransportLicenseOCR": [
|
602
614
|
{
|
603
|
-
"document": "
|
604
|
-
"input": "https://ocr.tencentcloudapi.com/?Action=RideHailingTransportLicenseOCR\
|
605
|
-
"output": "{\n \"Response\": {\n \"
|
606
|
-
"title": "
|
615
|
+
"document": "",
|
616
|
+
"input": "https://ocr.tencentcloudapi.com/?Action=RideHailingTransportLicenseOCR\n&ImageUrl=https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\n&<公共请求参数>",
|
617
|
+
"output": "{\n \"Response\": {\n \"EndDate\": \"2031年05月31日\",\n \"OperationLicenseNumber\": \"川交运管许可字88888888\",\n \"ReleaseDate\": \"20年月05日28\",\n \"RequestId\": \"6d930f3a-46fd-43b2-8557-cd685cd618e2\",\n \"StartDate\": \"2024年07月23日\",\n \"VehicleNumber\": \"腾讯牌AAA8888AAAAA8\",\n \"VehicleOwner\": \"腾讯云有限公司\"\n }\n}",
|
618
|
+
"title": "RideHailingTransportLicenseOCR调用"
|
607
619
|
}
|
608
620
|
],
|
609
621
|
"SealOCR": [
|
@@ -617,7 +629,7 @@
|
|
617
629
|
"ShipInvoiceOCR": [
|
618
630
|
{
|
619
631
|
"document": "轮船票识别",
|
620
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ShipInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
632
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ShipInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
621
633
|
"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}",
|
622
634
|
"title": "轮船票识别示例代码"
|
623
635
|
}
|
@@ -625,19 +637,27 @@
|
|
625
637
|
"SmartStructuralOCR": [
|
626
638
|
{
|
627
639
|
"document": "",
|
628
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SmartStructuralOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/document/SmartStructuralOCR/
|
629
|
-
"output": "{\n \"Response\": {\n \"Angle\": 0,\n \"
|
640
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SmartStructuralOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/document/SmartStructuralOCR/SmartStructuralPro1.png\",\n \"ItemNames\": [\n \"号码\"\n ]\n}",
|
641
|
+
"output": "{\n \"Response\": {\n \"Angle\": 0,\n \"StructuralItems\": [\n {\n \"Name\": \"号码\",\n \"Value\": \"176***101\",\n \"Confidence\": 0,\n \"ItemCoord\": {\n \"X\": 0,\n \"Y\": 0,\n \"Width\": 0,\n \"Height\": 0\n },\n \"Row\": 0\n }\n ],\n \"RequestId\": \"af25f0c0-5c34-4359-98dd-25da408f5947\"\n }\n}",
|
630
642
|
"title": "智能结构化识别"
|
631
643
|
}
|
632
644
|
],
|
633
645
|
"SmartStructuralOCRV2": [
|
634
646
|
{
|
635
647
|
"document": "智能结构化识别新接口",
|
636
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SmartStructuralOCRV2\n<公共请求参数>\n\n{\n \"ImageUrl\": \"
|
637
|
-
"output": "{\n \"Response\": {\n \"Angle\": 0,\n \"StructuralList\": [\n {\n \"Groups\": [\n {\n \"Lines\": [\n {\n \"Key\": {\n \"AutoName\": \"
|
648
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SmartStructuralOCRV2\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/document/SmartStructuralOCR/SmartStructuralPro1.png\",\n \"ImageBase64\": \"/9j/4AAQSkZJRg.....s97n//2Q==\",\n \"IsPdf\": true,\n \"PdfPageNumber\": 1,\n \"ItemNames\": [\n \"姓名\"\n ],\n \"ReturnFullText\": false,\n \"ConfigId\": \"General\"\n}",
|
649
|
+
"output": "{\n \"Response\": {\n \"Angle\": 0,\n \"StructuralList\": [\n {\n \"Groups\": [\n {\n \"Lines\": [\n {\n \"Key\": {\n \"AutoName\": \"号码\",\n \"ConfigName\": \"number\"\n },\n \"Value\": {\n \"AutoContent\": \"176***101\",\n \"Coord\": {\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 }\n }\n ]\n }\n ]\n }\n ],\n \"WordList\": [\n {\n \"DetectedText\": \"ORD0****9\",\n \"Coord\": {}\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
638
650
|
"title": "智能结构化识别V2"
|
639
651
|
}
|
640
652
|
],
|
653
|
+
"SmartStructuralPro": [
|
654
|
+
{
|
655
|
+
"document": "智能结构化高级版识别",
|
656
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SmartStructuralPro\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/document/SmartStructuralOCR/SmartStructuralPro1.png\",\n \"ImageBase64\": \"/9j/4AAQSkZJRg.....s97n//2Q==\",\n \"PdfPageNumber\": 1,\n \"ItemNames\": [\n \"姓名\"\n ],\n \"ReturnFullText\": false,\n \"ConfigId\": \"General\"\n}",
|
657
|
+
"output": "{\n \"Response\": {\n \"Angle\": 0,\n \"StructuralList\": [\n {\n \"Groups\": [\n {\n \"Lines\": [\n {\n \"Key\": {\n \"AutoName\": \"号码\",\n \"ConfigName\": \"number\"\n },\n \"Value\": {\n \"AutoContent\": \"176***101\",\n \"Coord\": {\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 }\n }\n ]\n }\n ]\n }\n ],\n \"WordList\": [\n {\n \"DetectedText\": \"ORD0****9\",\n \"Coord\": {}\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
658
|
+
"title": "智能结构化高级版识别"
|
659
|
+
}
|
660
|
+
],
|
641
661
|
"TableOCR": [
|
642
662
|
{
|
643
663
|
"document": "表格识别示例代码",
|
@@ -649,7 +669,7 @@
|
|
649
669
|
"TaxiInvoiceOCR": [
|
650
670
|
{
|
651
671
|
"document": "出租车发票识别",
|
652
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TaxiInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
672
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TaxiInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
653
673
|
"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}",
|
654
674
|
"title": "出租车发票识别示例代码"
|
655
675
|
}
|
@@ -665,7 +685,7 @@
|
|
665
685
|
"TollInvoiceOCR": [
|
666
686
|
{
|
667
687
|
"document": "过路过桥费发票识别",
|
668
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TollInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
688
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TollInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
669
689
|
"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}",
|
670
690
|
"title": "过路过桥费发票识别示例代码"
|
671
691
|
}
|
@@ -673,7 +693,7 @@
|
|
673
693
|
"TrainTicketOCR": [
|
674
694
|
{
|
675
695
|
"document": "火车票识别",
|
676
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TrainTicketOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
696
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TrainTicketOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
677
697
|
"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}",
|
678
698
|
"title": "火车票识别示例代码"
|
679
699
|
}
|
@@ -681,7 +701,7 @@
|
|
681
701
|
"VatInvoiceOCR": [
|
682
702
|
{
|
683
703
|
"document": "增值税发票识别",
|
684
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VatInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
704
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VatInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
685
705
|
"output": "{\n \"Response\": {\n \"Angle\": 0.06036967411637306,\n \"Items\": [\n {\n \"AmountWithoutTax\": \"87.28\",\n \"LineNo\": \"1\",\n \"Name\": \"客运服务费\",\n \"Quantity\": \"1\",\n \"Spec\": \"无\",\n \"TaxAmount\": \"2.62\",\n \"TaxClassifyCode\": \"\",\n \"TaxRate\": \"3%\",\n \"Unit\": \"次\",\n \"UnitPrice\": \"87.28\",\n \"VehicleType\": \"\",\n \"VehicleBrand\": \"\",\n \"DeparturePlace\": \"\",\n \"ArrivalPlace\": \"\",\n \"TransportItemsName\": \"\",\n \"ConstructionPlace\": \"\",\n \"ConstructionName\": \"\"\n }\n ],\n \"PdfPageSize\": 0,\n \"RequestId\": \"3132733e-deea-4883-ac4e-c7d11ce01445\",\n \"VatInvoiceInfos\": [\n {\n \"Name\": \"销售方识别号\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 374,\n \"Y\": 847\n },\n \"LeftTop\": {\n \"X\": 374,\n \"Y\": 824\n },\n \"RightBottom\": {\n \"X\": 614,\n \"Y\": 847\n },\n \"RightTop\": {\n \"X\": 614,\n \"Y\": 824\n }\n },\n \"Value\": \"911201103409033300\"\n },\n {\n \"Name\": \"销售方名称\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 374,\n \"Y\": 813\n },\n \"LeftTop\": {\n \"X\": 374,\n \"Y\": 788\n },\n \"RightBottom\": {\n \"X\": 618,\n \"Y\": 813\n },\n \"RightTop\": {\n \"X\": 618,\n \"Y\": 788\n }\n },\n \"Value\": \"深圳腾讯游戏有限公司\"\n },\n {\n \"Name\": \"购买方识别号\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 378,\n \"Y\": 294\n },\n \"LeftTop\": {\n \"X\": 378,\n \"Y\": 268\n },\n \"RightBottom\": {\n \"X\": 653,\n \"Y\": 294\n },\n \"RightTop\": {\n \"X\": 653,\n \"Y\": 268\n }\n },\n \"Value\": \"91440300MA55UJ6L44\"\n },\n {\n \"Name\": \"购买方名称\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 375,\n \"Y\": 256\n },\n \"LeftTop\": {\n \"X\": 375,\n \"Y\": 230\n },\n \"RightBottom\": {\n \"X\": 572,\n \"Y\": 256\n },\n \"RightTop\": {\n \"X\": 572,\n \"Y\": 230\n }\n },\n \"Value\": \"腾讯优图有限公司\"\n },\n {\n \"Name\": \"发票名称\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 606,\n \"Y\": 114\n },\n \"LeftTop\": {\n \"X\": 606,\n \"Y\": 59\n },\n \"RightBottom\": {\n \"X\": 1186,\n \"Y\": 114\n },\n \"RightTop\": {\n \"X\": 1186,\n \"Y\": 59\n }\n },\n \"Value\": \"天津增值税电子普通发票\"\n },\n {\n \"Name\": \"发票代码\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1342,\n \"Y\": 85\n },\n \"LeftTop\": {\n \"X\": 1342,\n \"Y\": 62\n },\n \"RightBottom\": {\n \"X\": 1502,\n \"Y\": 85\n },\n \"RightTop\": {\n \"X\": 1502,\n \"Y\": 62\n }\n },\n \"Value\": \"012001100311\"\n },\n {\n \"Name\": \"发票号码\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1342,\n \"Y\": 124\n },\n \"LeftTop\": {\n \"X\": 1342,\n \"Y\": 101\n },\n \"RightBottom\": {\n \"X\": 1453,\n \"Y\": 124\n },\n \"RightTop\": {\n \"X\": 1453,\n \"Y\": 101\n }\n },\n \"Value\": \"No63591128\"\n },\n {\n \"Name\": \"开票日期\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1341,\n \"Y\": 162\n },\n \"LeftTop\": {\n \"X\": 1341,\n \"Y\": 135\n },\n \"RightBottom\": {\n \"X\": 1510,\n \"Y\": 162\n },\n \"RightTop\": {\n \"X\": 1510,\n \"Y\": 135\n }\n },\n \"Value\": \"2019年06月16日\"\n },\n {\n \"Name\": \"机器编号\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 269,\n \"Y\": 210\n },\n \"LeftTop\": {\n \"X\": 269,\n \"Y\": 186\n },\n \"RightBottom\": {\n \"X\": 432,\n \"Y\": 210\n },\n \"RightTop\": {\n \"X\": 432,\n \"Y\": 186\n }\n },\n \"Value\": \"499099606262\"\n },\n {\n \"Name\": \"校验码\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1342,\n \"Y\": 198\n },\n \"LeftTop\": {\n \"X\": 1342,\n \"Y\": 177\n },\n \"RightBottom\": {\n \"X\": 1631,\n \"Y\": 198\n },\n \"RightTop\": {\n \"X\": 1631,\n \"Y\": 177\n }\n },\n \"Value\": \"04656054380312409795\"\n },\n {\n \"Name\": \"密码区1\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1061,\n \"Y\": 260\n },\n \"LeftTop\": {\n \"X\": 1061,\n \"Y\": 233\n },\n \"RightBottom\": {\n \"X\": 1641,\n \"Y\": 260\n },\n \"RightTop\": {\n \"X\": 1641,\n \"Y\": 233\n }\n },\n \"Value\": \"033-<<>7>616<-4+*-+4/5230604\"\n },\n {\n \"Name\": \"密码区2\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1062,\n \"Y\": 297\n },\n \"LeftTop\": {\n \"X\": 1062,\n \"Y\": 270\n },\n \"RightBottom\": {\n \"X\": 1641,\n \"Y\": 297\n },\n \"RightTop\": {\n \"X\": 1641,\n \"Y\": 270\n }\n },\n \"Value\": \"*/78+740454724/0<34*9/>61856\"\n },\n {\n \"Name\": \"密码区3\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1058,\n \"Y\": 334\n },\n \"LeftTop\": {\n \"X\": 1058,\n \"Y\": 307\n },\n \"RightBottom\": {\n \"X\": 1640,\n \"Y\": 334\n },\n \"RightTop\": {\n \"X\": 1640,\n \"Y\": 307\n }\n },\n \"Value\": \"29/-0651-2*91440-47386<535<5\"\n },\n {\n \"Name\": \"密码区4\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1062,\n \"Y\": 372\n },\n \"LeftTop\": {\n \"X\": 1062,\n \"Y\": 345\n },\n \"RightBottom\": {\n \"X\": 1642,\n \"Y\": 372\n },\n \"RightTop\": {\n \"X\": 1642,\n \"Y\": 345\n }\n },\n \"Value\": \"92<<9-9+-601452319091>67>--7\"\n },\n {\n \"Name\": \"货物或应税劳务、服务名称\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 203,\n \"Y\": 466\n },\n \"LeftTop\": {\n \"X\": 203,\n \"Y\": 439\n },\n \"RightBottom\": {\n \"X\": 324,\n \"Y\": 466\n },\n \"RightTop\": {\n \"X\": 324,\n \"Y\": 439\n }\n },\n \"Value\": \"客运服务费\"\n },\n {\n \"Name\": \"规格型号\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 619,\n \"Y\": 454\n },\n \"LeftTop\": {\n \"X\": 619,\n \"Y\": 428\n },\n \"RightBottom\": {\n \"X\": 647,\n \"Y\": 454\n },\n \"RightTop\": {\n \"X\": 647,\n \"Y\": 428\n }\n },\n \"Value\": \"无\"\n },\n {\n \"Name\": \"单位\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 761,\n \"Y\": 454\n },\n \"LeftTop\": {\n \"X\": 761,\n \"Y\": 426\n },\n \"RightBottom\": {\n \"X\": 790,\n \"Y\": 454\n },\n \"RightTop\": {\n \"X\": 790,\n \"Y\": 426\n }\n },\n \"Value\": \"次\"\n },\n {\n \"Name\": \"数量\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 886,\n \"Y\": 452\n },\n \"LeftTop\": {\n \"X\": 886,\n \"Y\": 429\n },\n \"RightBottom\": {\n \"X\": 905,\n \"Y\": 452\n },\n \"RightTop\": {\n \"X\": 905,\n \"Y\": 429\n }\n },\n \"Value\": \"1\"\n },\n {\n \"Name\": \"单价\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1019,\n \"Y\": 452\n },\n \"LeftTop\": {\n \"X\": 1019,\n \"Y\": 428\n },\n \"RightBottom\": {\n \"X\": 1082,\n \"Y\": 452\n },\n \"RightTop\": {\n \"X\": 1082,\n \"Y\": 428\n }\n },\n \"Value\": \"87.28\"\n },\n {\n \"Name\": \"金额\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1194,\n \"Y\": 452\n },\n \"LeftTop\": {\n \"X\": 1194,\n \"Y\": 428\n },\n \"RightBottom\": {\n \"X\": 1257,\n \"Y\": 452\n },\n \"RightTop\": {\n \"X\": 1257,\n \"Y\": 428\n }\n },\n \"Value\": \"87.28\"\n },\n {\n \"Name\": \"税率\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1374,\n \"Y\": 451\n },\n \"LeftTop\": {\n \"X\": 1374,\n \"Y\": 427\n },\n \"RightBottom\": {\n \"X\": 1410,\n \"Y\": 451\n },\n \"RightTop\": {\n \"X\": 1410,\n \"Y\": 427\n }\n },\n \"Value\": \"3%\"\n },\n {\n \"Name\": \"税额\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1509,\n \"Y\": 451\n },\n \"LeftTop\": {\n \"X\": 1509,\n \"Y\": 428\n },\n \"RightBottom\": {\n \"X\": 1560,\n \"Y\": 451\n },\n \"RightTop\": {\n \"X\": 1560,\n \"Y\": 428\n }\n },\n \"Value\": \"2.62\"\n },\n {\n \"Name\": \"合计金额\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1252,\n \"Y\": 709\n },\n \"LeftTop\": {\n \"X\": 1252,\n \"Y\": 686\n },\n \"RightBottom\": {\n \"X\": 1335,\n \"Y\": 709\n },\n \"RightTop\": {\n \"X\": 1335,\n \"Y\": 686\n }\n },\n \"Value\": \"¥87.28\"\n },\n {\n \"Name\": \"合计税额\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1581,\n \"Y\": 709\n },\n \"LeftTop\": {\n \"X\": 1581,\n \"Y\": 685\n },\n \"RightBottom\": {\n \"X\": 1650,\n \"Y\": 709\n },\n \"RightTop\": {\n \"X\": 1650,\n \"Y\": 685\n }\n },\n \"Value\": \"2.62\"\n },\n {\n \"Name\": \"价税合计(大写)\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 573,\n \"Y\": 758\n },\n \"LeftTop\": {\n \"X\": 573,\n \"Y\": 731\n },\n \"RightBottom\": {\n \"X\": 744,\n \"Y\": 758\n },\n \"RightTop\": {\n \"X\": 744,\n \"Y\": 731\n }\n },\n \"Value\": \"捌拾玖圆玖角整\"\n },\n {\n \"Name\": \"小写金额\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1414,\n \"Y\": 756\n },\n \"LeftTop\": {\n \"X\": 1414,\n \"Y\": 734\n },\n \"RightBottom\": {\n \"X\": 1497,\n \"Y\": 756\n },\n \"RightTop\": {\n \"X\": 1497,\n \"Y\": 734\n }\n },\n \"Value\": \"¥89.90\"\n },\n {\n \"Name\": \"销售方地址、电话\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 372,\n \"Y\": 881\n },\n \"LeftTop\": {\n \"X\": 372,\n \"Y\": 862\n },\n \"RightBottom\": {\n \"X\": 722,\n \"Y\": 881\n },\n \"RightTop\": {\n \"X\": 722,\n \"Y\": 862\n }\n },\n \"Value\": \"天津经济技术开发区南港工业区综合服务区办公楼\"\n },\n {\n \"Name\": \"销售方开户行及账号\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 372,\n \"Y\": 917\n },\n \"LeftTop\": {\n \"X\": 372,\n \"Y\": 894\n },\n \"RightBottom\": {\n \"X\": 977,\n \"Y\": 917\n },\n \"RightTop\": {\n \"X\": 977,\n \"Y\": 894\n }\n },\n \"Value\": \"招商银行股份有限公司天津自由贸易试验区分行122905939910401\"\n },\n {\n \"Name\": \"收款人\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 299,\n \"Y\": 963\n },\n \"LeftTop\": {\n \"X\": 299,\n \"Y\": 937\n },\n \"RightBottom\": {\n \"X\": 350,\n \"Y\": 963\n },\n \"RightTop\": {\n \"X\": 350,\n \"Y\": 937\n }\n },\n \"Value\": \"张强\"\n },\n {\n \"Name\": \"复核\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 699,\n \"Y\": 962\n },\n \"LeftTop\": {\n \"X\": 699,\n \"Y\": 936\n },\n \"RightBottom\": {\n \"X\": 751,\n \"Y\": 962\n },\n \"RightTop\": {\n \"X\": 751,\n \"Y\": 936\n }\n },\n \"Value\": \"静静\"\n },\n {\n \"Name\": \"开票人\",\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 1082,\n \"Y\": 962\n },\n \"LeftTop\": {\n \"X\": 1082,\n \"Y\": 937\n },\n \"RightBottom\": {\n \"X\": 1132,\n \"Y\": 962\n },\n \"RightTop\": {\n \"X\": 1132,\n \"Y\": 937\n }\n },\n \"Value\": \"丽丽\"\n },\n {\n \"Name\": \"省\",\n \"Polygon\": null,\n \"Value\": \"天津市\"\n },\n {\n \"Name\": \"是否有公司印章\",\n \"Polygon\": null,\n \"Value\": \"0\"\n },\n {\n \"Name\": \"发票消费类型\",\n \"Polygon\": null,\n \"Value\": \"服务\"\n },\n {\n \"Name\": \"发票类型\",\n \"Polygon\": null,\n \"Value\": \"增值税电子普通发票\"\n },\n {\n \"Name\": \"二维码\",\n \"Polygon\": null,\n \"Value\": \"0\"\n },\n {\n \"Name\": \"成品油标志\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"购买方地址、电话\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"购买方开户行及账号\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"打印发票代码\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"打印发票号码\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"备注\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"联次\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"是否代开\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"市\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"服务类型\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"通行费标志\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"车船税\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"车牌号\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"类型\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"通行日期起\",\n \"Polygon\": null,\n \"Value\": \"\"\n },\n {\n \"Name\": \"通行日期止\",\n \"Polygon\": null,\n \"Value\": \"\"\n }\n ]\n }\n}",
|
686
706
|
"title": "增值税发票识别示例代码"
|
687
707
|
}
|
@@ -705,7 +725,7 @@
|
|
705
725
|
"VatRollInvoiceOCR": [
|
706
726
|
{
|
707
727
|
"document": "增值税发票(卷票)识别",
|
708
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VatRollInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
728
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VatRollInvoiceOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
709
729
|
"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}",
|
710
730
|
"title": "增值税发票(卷票)识别示例代码"
|
711
731
|
}
|
@@ -713,19 +733,19 @@
|
|
713
733
|
"VehicleLicenseOCR": [
|
714
734
|
{
|
715
735
|
"document": "行驶证主页正面识别示例代码1",
|
716
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VehicleLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
736
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VehicleLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/vehicle/VehicleLicenseOCR/VehicleLicenseOCR2.jpg\",\n \"CardSide\": \"FRONT\"\n}",
|
717
737
|
"output": "{\n \"Response\": {\n \"FrontInfo\": {\n \"PlateNo\": \"沪AA1234\",\n \"VehicleType\": \"小型轿车\",\n \"Owner\": \"李明\",\n \"Address\": \"上海市徐汇区田林路397号腾云大厦6F\",\n \"UseCharacter\": \"非营运\",\n \"Model\": \"别克牌SGM7151LAAA\",\n \"Vin\": \"ABCDEFGH123456789\",\n \"EngineNo\": \"8B54321\",\n \"RegisterDate\": \"2011-10-10\",\n \"IssueDate\": \"\",\n \"Seal\": \"上海市公安局交通警寨总队\"\n },\n \"BackInfo\": null,\n \"RecognizeWarnCode\": [\n -9102\n ],\n \"RecognizeWarnMsg\": [\n \"WARN_DRIVER_LICENSE_COPY_CARD\"\n ],\n \"RequestId\": \"820916b4-b391-40a8-9203-7ae87e3f1954\"\n }\n}",
|
718
738
|
"title": "行驶证主页正面识别示例代码1"
|
719
739
|
},
|
720
740
|
{
|
721
741
|
"document": "行驶证副页正面识别示例代码2",
|
722
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VehicleLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
723
|
-
"output": "{\n \"Response\": {\n \"FrontInfo\": null,\n \"BackInfo\": {\n \"PlateNo\": \"
|
742
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VehicleLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/vehicle/VehicleLicenseBackOCR/VehicleLicenseBackOCR1.jpg\",\n \"CardSide\": \"BACK\"\n}",
|
743
|
+
"output": "{\n \"Response\": {\n \"FrontInfo\": null,\n \"BackInfo\": {\n \"PlateNo\": \"粤B2177C\",\n \"FuelType\": \"汽油\",\n \"FileNo\": \"440681681182\",\n \"AllowNum\": \"5人\",\n \"TotalMass\": \"2085kg\",\n \"CurbWeight\": \"1610kg\",\n \"LoadQuality\": \"--\",\n \"ExternalSize\": \"4667×1839×1694mm\",\n \"TotalQuasiMass\": \"--\",\n \"Marks\": \"\",\n \"Record\": \"检验有效期至2019年11月粤E(01)汽油\",\n \"SubPageCode\": \"4460040587965\"\n },\n \"RecognizeWarnCode\": [\n -9102\n ],\n \"RecognizeWarnMsg\": [\n \"WARN_DRIVER_LICENSE_COPY_CARD\"\n ],\n \"RequestId\": \"e2ebfaa0-19d3-4d2b-9ed8-7c7c21eb2b74\"\n }\n}",
|
724
744
|
"title": "行驶证副页正面识别示例代码2"
|
725
745
|
},
|
726
746
|
{
|
727
747
|
"document": "行驶证副页正面识别示例代码3",
|
728
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VehicleLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
748
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: VehicleLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\",\n \"CardSide\": \"BACK\"\n}",
|
729
749
|
"output": "{\n \"Response\": {\n \"FrontInfo\": null,\n \"BackInfo\": {\n \"FuelType\": \"\",\n \"PlateNo\": \"皖AC4L50\",\n \"FileNo\": \"A00-00476807\",\n \"AllowNum\": \"5人\",\n \"TotalMass\": \"1837kg\",\n \"CurbWeight\": \"1431kg\",\n \"LoadQuality\": \"--\",\n \"ExternalSize\": \"4620×1780×1498mm\",\n \"TotalQuasiMass\": \"--\",\n \"Marks\": \"\",\n \"Record\": \"检验有效期至2015年11月皖A(4S)\",\n \"SubPageCode\": \"\"\n },\n \"RecognizeWarnCode\": [\n -9103\n ],\n \"RecognizeWarnMsg\": [\n \"WARN_DRIVER_LICENSE_SCREENED_CARD\"\n ],\n \"RequestId\": \"e2ebfaa0-19d3-4d2b-9ed8-7c7c21eb2b74\"\n }\n}",
|
730
750
|
"title": "行驶证副页正面识别示例代码3"
|
731
751
|
}
|
@@ -733,31 +753,31 @@
|
|
733
753
|
"VehicleRegCertOCR": [
|
734
754
|
{
|
735
755
|
"document": "机动车登记证书识别示例代码",
|
736
|
-
"input": "https://ocr.tencentcloudapi.com/?Action=VehicleRegCertOCR\n&ImageUrl=https://
|
737
|
-
"output": "{\n \"Response\": {\n \"VehicleRegCertInfos\": [\n {\n \"Name\": \"
|
756
|
+
"input": "https://ocr.tencentcloudapi.com/?Action=VehicleRegCertOCR\n&ImageUrl=https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/vehicle/VehicleRegCertOCR/VehicleRegCertOCR1.jpg\n&<公共请求参数>",
|
757
|
+
"output": "{\n \"Response\": {\n \"VehicleRegCertInfos\": [\n {\n \"Name\": \"编号\",\n \"Value\": \"*310005169880*\"\n },\n {\n \"Name\": \"机动车所有人1\",\n \"Value\": \"李明\"\n },\n {\n \"Name\": \"车辆识别代号/车架号\",\n \"Value\": \"LFV8\"\n },\n {\n \"Name\": \"身份证明名称1\",\n \"Value\": \"居民身份证\"\n },\n {\n \"Name\": \"号码1\",\n \"Value\": \"339001198706168418\"\n }\n ],\n \"RequestId\": \"393fa9e0-3827-4183-9fe7-68ed622028a1\"\n }\n}",
|
738
758
|
"title": "机动车登记证书识别示例代码"
|
739
759
|
}
|
740
760
|
],
|
741
761
|
"VerifyOfdVatInvoiceOCR": [
|
742
762
|
{
|
743
763
|
"document": "ofd发票识别",
|
744
|
-
"input": "https://ocr.tencentcloudapi.com/?Action=VerifyOfdVatInvoiceOCR\n&OfdFileUrl=https://
|
745
|
-
"output": "{\n \"Response\": {\n \"Buyer\": {\n \"AddrTel\": \"
|
764
|
+
"input": "https://ocr.tencentcloudapi.com/?Action=VerifyOfdVatInvoiceOCR\n&OfdFileUrl=https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\n&<公共请求参数>",
|
765
|
+
"output": "{\n \"Response\": {\n \"Buyer\": {\n \"AddrTel\": \"北京*****嘉园北门\",\n \"FinancialAccount\": \"北京****11\",\n \"Name\": \"科*****限公司\",\n \"TaxId\": \"915****002\"\n },\n \"Checker\": \"张***\",\n \"GoodsInfos\": [\n {\n \"Amount\": \"-100.00\",\n \"Item\": \"*餐饮服务*餐费\",\n \"MeasurementDimension\": \"次\",\n \"Price\": \"25\",\n \"Quantity\": \"-4\",\n \"Specification\": \"\",\n \"TaxAmount\": \"-6.00\",\n \"TaxScheme\": \"6%\"\n },\n {\n \"Amount\": \"-100.00\",\n \"Item\": \"*餐饮服务*餐费\",\n \"MeasurementDimension\": \"次\",\n \"Price\": \"25\",\n \"Quantity\": \"-4\",\n \"Specification\": \"\",\n \"TaxAmount\": \"-6.00\",\n \"TaxScheme\": \"6%\"\n },\n {\n \"Amount\": \"-100.00\",\n \"Item\": \"*餐饮服务*餐费\",\n \"MeasurementDimension\": \"次\",\n \"Price\": \"25\",\n \"Quantity\": \"-4\",\n \"Specification\": \"\",\n \"TaxAmount\": \"-6.00\",\n \"TaxScheme\": \"6%\"\n }\n ],\n \"InvoiceCheckCode\": \"1780***699\",\n \"InvoiceClerk\": \"任**\",\n \"InvoiceCode\": \"0***11\",\n \"InvoiceNumber\": \"62***8\",\n \"IssueDate\": \"2020年06月18日\",\n \"MachineNumber\": \"016****903\",\n \"Note\": \"对应正*****436\",\n \"Payee\": \"张***\",\n \"RequestId\": \"7ea56704-eb43-455a-a608-6d79f5e70b37\",\n \"Seller\": {\n \"AddrTel\": \"北京****号\",\n \"FinancialAccount\": \"建设*****711\",\n \"Name\": \"深圳*****有限公司\",\n \"TaxId\": \"915****8Y\"\n },\n \"TaxControlCode\": \"00228*****2274\",\n \"TaxExclusiveTotalAmount\": \"-300.00\",\n \"TaxInclusiveTotalAmount\": \"-318.00\",\n \"TaxTotalAmount\": \"-18.00\",\n \"Type\": \"026\",\n \"AirTicketInfo\": {\n \"PassengerName\": \"李**\",\n \"ValidIdNumber\": \"440183********372\",\n \"Endorsement\": \"BUDEQIANZHUAN不得签转/****变更退票收费\",\n \"NumberOfGPOrder\": \"\",\n \"ElectronicInvoiceAirTransportReceiptNumber\": \"2344****0553\",\n \"DetailInformationOfAirTicketTuple\": [\n {\n \"DepartureStation\": \"CAN 广州\",\n \"DestinationStation\": \"CGO 郑州\",\n \"FlightSegment\": \"1\",\n \"Carrier\": \"南航\",\n \"Flight\": \"CZ3***\",\n \"SeatClass\": \"T\",\n \"CarrierDate\": \"2023-01-30\",\n \"DepartureTime\": \"07:25\",\n \"FareBasis\": \"TCP0***\",\n \"EffectiveDate\": \"2023-01-30\",\n \"ExpirationDate\": \"2023-01-30\",\n \"FreeBaggageAllowance\": \"20K\"\n }\n ],\n \"Fare\": \"458\",\n \"FuelSurcharge\": \"70\",\n \"VatRate\": \"0.08\",\n \"VatTaxAmount\": \"47\",\n \"CivilAviationDevelopmentFund\": \"50.00\",\n \"OtherTaxes\": \"0.00\",\n \"TotalAmount\": \"600\",\n \"ElectronicTicketNum\": \"\",\n \"VerificationCode\": \"0**3\",\n \"PromptInformation\": \"\",\n \"Insurance\": \"0.00\",\n \"AgentCode\": \"CAN0***570\",\n \"IssueParty\": \"中国南****限公司\",\n \"IssueDate\": \"2023-02-07\",\n \"IssuingStatus\": \"正常\",\n \"MarkingOfDomesticOrInternational\": \"国内\",\n \"NameOfPurchaser\": \"兴*****分公司\",\n \"NameOfSeller\": \"中国****限公司\",\n \"UnifiedSocialCreditCodeOfPurchaser\": \"914***673B\"\n },\n \"RailwayTicketInfo\": {\n \"TypeOfVoucher\": \"电子发票(铁路电子客票)\",\n \"ElectronicTicketNum\": \"3067*****22\",\n \"DateOfIssue\": \"2022-03-17\",\n \"TypeOfBusiness\": \"退\",\n \"DepartureStation\": \"南京\",\n \"PhonicsOfDepartureStation\": \"Nanjing\",\n \"DestinationStation\": \"上海虹桥\",\n \"PhonicsOfDestinationStation\": \"Shanghaihongqiao\",\n \"TrainNumber\": \"D1****1\",\n \"TravelDate\": \"2022-01-20\",\n \"DepartureTime\": \"06:20\",\n \"AirConditioningCharacteristics\": \"\",\n \"SeatLevel\": \"一等座\",\n \"Carriage\": \"03车\",\n \"Seat\": \"01F号\",\n \"Fare\": \"48.00\",\n \"ElectronicInvoiceRailwayETicketNumber\": \"221******0011\",\n \"IdNumber\": \"142*****1627\",\n \"Name\": \"汪某某\",\n \"TotalAmountExcludingTax\": \"52.28\",\n \"TaxRate\": \"0.06\",\n \"TaxAmount\": \"2.72\",\n \"NameOfPurchaser\": \"铁路客票****单位\",\n \"UnifiedSocialCreditCodeOfPurchaser\": \"9111***858\",\n \"NumberOfOriginalInvoice\": \"22****0010\"\n }\n }\n}",
|
746
766
|
"title": "OFD发票识别示例代码"
|
747
767
|
}
|
748
768
|
],
|
749
769
|
"VinOCR": [
|
750
770
|
{
|
751
771
|
"document": "",
|
752
|
-
"input": "https://ocr.tencentcloudapi.com/?Action=VinOCR\n&ImageUrl=https://
|
753
|
-
"output": "{\n \"Response\": {\n \"Vin\": \"
|
772
|
+
"input": "https://ocr.tencentcloudapi.com/?Action=VinOCR\n&ImageUrl=https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/vehicle/VinOCR/VinOCR1.jpg\n&<公共请求参数>",
|
773
|
+
"output": "{\n \"Response\": {\n \"Vin\": \"LSGPC52H9GF125161\",\n \"RequestId\": \"c59d9002-6c8c-426d-b57f-a8837dee2c7c\"\n }\n}",
|
754
774
|
"title": "车辆VIN码识别示例代码"
|
755
775
|
}
|
756
776
|
],
|
757
777
|
"WaybillOCR": [
|
758
778
|
{
|
759
779
|
"document": "运单识别示例代码",
|
760
|
-
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: WaybillOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://
|
780
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: WaybillOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg\"\n}",
|
761
781
|
"output": "{\n \"Response\": {\n \"TextDetections\": {\n \"RecName\": {\n \"Text\": \"李明\"\n },\n \"RecAddr\": {\n \"Text\": \"上海市,上海市,徐汇区,古美路1528号A1幢2楼\"\n },\n \"RecNum\": {\n \"Text\": \"18812152888\"\n },\n \"SenderName\": {\n \"Text\": \"海购商品\"\n },\n \"SenderNum\": {\n \"Text\": \"021-54569595\"\n },\n \"SenderAddr\": {\n \"Text\": \"杭州市江干区12号路口跨境贸易电子商务产业园\"\n },\n \"WaybillNum\": {\n \"Text\": \"456732006925\"\n }\n },\n \"RequestId\": \"0c447696-cb8d-4686-8336-7c146e3f62cc\"\n }\n}",
|
762
782
|
"title": "运单识别示例代码"
|
763
783
|
}
|