tccli-intl-en 3.0.1265.1__py2.py3-none-any.whl → 3.1.1.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/argument.py +1 -1
- tccli/services/__init__.py +5 -1
- tccli/services/advisor/advisor_client.py +10 -4
- tccli/services/aiart/aiart_client.py +5 -2
- tccli/services/ams/ams_client.py +20 -8
- tccli/services/antiddos/antiddos_client.py +350 -140
- tccli/services/apigateway/apigateway_client.py +465 -186
- tccli/services/apm/apm_client.py +835 -68
- tccli/services/apm/v20210622/api.json +3936 -1145
- tccli/services/apm/v20210622/examples.json +133 -23
- tccli/services/asr/asr_client.py +10 -4
- tccli/services/autoscaling/autoscaling_client.py +290 -116
- tccli/services/autoscaling/v20180419/api.json +1 -1
- tccli/services/batch/batch_client.py +140 -56
- tccli/services/bi/bi_client.py +120 -48
- tccli/services/billing/billing_client.py +210 -84
- tccli/services/cam/cam_client.py +405 -162
- tccli/services/captcha/captcha_client.py +5 -2
- tccli/services/car/car_client.py +165 -66
- tccli/services/cbs/cbs_client.py +190 -76
- tccli/services/ccc/ccc_client.py +515 -146
- tccli/services/ccc/v20200210/api.json +511 -27
- tccli/services/ccc/v20200210/examples.json +24 -0
- tccli/services/cdb/cdb_client.py +665 -266
- tccli/services/cdc/cdc_client.py +100 -40
- tccli/services/cdn/cdn_client.py +220 -88
- tccli/services/cdwdoris/cdwdoris_client.py +385 -154
- tccli/services/cdwpg/cdwpg_client.py +120 -48
- tccli/services/cdz/cdz_client.py +5 -2
- tccli/services/cfg/cfg_client.py +80 -32
- tccli/services/cfs/cfs_client.py +195 -78
- tccli/services/cfw/cfw_client.py +330 -132
- tccli/services/chdfs/chdfs_client.py +145 -58
- tccli/services/ciam/ciam_client.py +80 -32
- tccli/services/ckafka/ckafka_client.py +629 -131
- tccli/services/ckafka/v20190819/api.json +2749 -1470
- tccli/services/ckafka/v20190819/examples.json +209 -155
- tccli/services/clb/clb_client.py +415 -166
- tccli/services/clb/v20180317/api.json +1022 -647
- tccli/services/clb/v20180317/examples.json +19 -19
- tccli/services/cloudaudit/cloudaudit_client.py +90 -36
- tccli/services/cls/cls_client.py +434 -173
- tccli/services/cmq/cmq_client.py +10 -4
- tccli/services/config/config_client.py +30 -12
- tccli/services/controlcenter/controlcenter_client.py +5 -2
- tccli/services/csip/csip_client.py +170 -68
- tccli/services/ctsdb/ctsdb_client.py +10 -4
- tccli/services/cvm/cvm_client.py +420 -168
- tccli/services/cvm/v20170312/api.json +280 -174
- tccli/services/cvm/v20170312/examples.json +116 -116
- tccli/services/cwp/cwp_client.py +2325 -930
- tccli/services/cynosdb/cynosdb_client.py +1887 -577
- tccli/services/cynosdb/v20190107/api.json +11763 -7697
- tccli/services/cynosdb/v20190107/examples.json +132 -4
- tccli/services/dataintegration/dataintegration_client.py +5 -2
- tccli/services/dayu/dayu_client.py +515 -206
- tccli/services/dbbrain/dbbrain_client.py +210 -84
- tccli/services/dc/dc_client.py +90 -36
- tccli/services/dcdb/dcdb_client.py +310 -124
- tccli/services/dlc/dlc_client.py +808 -216
- tccli/services/dlc/v20210125/api.json +534 -13
- tccli/services/dlc/v20210125/examples.json +40 -0
- tccli/services/dms/dms_client.py +10 -4
- tccli/services/dnspod/dnspod_client.py +200 -80
- tccli/services/domain/domain_client.py +120 -48
- tccli/services/dts/dts_client.py +415 -166
- tccli/services/eb/eb_client.py +130 -52
- tccli/services/ecdn/ecdn_client.py +75 -30
- tccli/services/ecm/ecm_client.py +620 -248
- tccli/services/eiam/eiam_client.py +200 -80
- tccli/services/emr/emr_client.py +385 -154
- tccli/services/es/es_client.py +105 -42
- tccli/services/facefusion/facefusion_client.py +15 -6
- tccli/services/faceid/faceid_client.py +95 -38
- tccli/services/faceid/v20180301/examples.json +2 -2
- tccli/services/gaap/gaap_client.py +440 -176
- tccli/services/gme/gme_client.py +50 -20
- tccli/services/gpm/gpm_client.py +90 -36
- tccli/services/gse/gse_client.py +110 -44
- tccli/services/gwlb/gwlb_client.py +90 -36
- tccli/services/iai/iai_client.py +145 -58
- tccli/services/iap/iap_client.py +30 -12
- tccli/services/ims/ims_client.py +5 -2
- tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +210 -84
- tccli/services/iotcloud/iotcloud_client.py +100 -40
- tccli/services/ip/ip_client.py +30 -12
- tccli/services/kms/kms_client.py +340 -136
- tccli/services/lcic/lcic_client.py +265 -106
- tccli/services/lighthouse/lighthouse_client.py +370 -148
- tccli/services/live/live_client.py +600 -240
- tccli/services/lke/lke_client.py +450 -180
- tccli/services/lkeap/lkeap_client.py +142 -12
- tccli/services/lkeap/v20240522/api.json +263 -0
- tccli/services/lkeap/v20240522/examples.json +35 -1
- tccli/services/mariadb/mariadb_client.py +250 -100
- tccli/services/mdc/mdc_client.py +90 -36
- tccli/services/mdl/mdl_client.py +165 -66
- tccli/services/mdl/v20200326/api.json +186 -12
- tccli/services/mdl/v20200326/examples.json +16 -16
- tccli/services/mdp/mdp_client.py +416 -124
- tccli/services/mdp/v20200527/api.json +146 -14
- tccli/services/mdp/v20200527/examples.json +95 -79
- tccli/services/message/__init__.py +4 -0
- tccli/services/message/message_client.py +210 -0
- tccli/services/message/v20181225/api.json +72 -0
- tccli/services/message/v20181225/examples.json +13 -0
- tccli/services/mongodb/mongodb_client.py +369 -58
- tccli/services/mongodb/v20190725/api.json +811 -226
- tccli/services/mongodb/v20190725/examples.json +54 -22
- tccli/services/monitor/monitor_client.py +1008 -296
- tccli/services/monitor/v20180724/api.json +657 -8
- tccli/services/monitor/v20180724/examples.json +152 -4
- tccli/services/mps/mps_client.py +684 -184
- tccli/services/mps/v20190612/api.json +1656 -222
- tccli/services/mps/v20190612/examples.json +60 -10
- tccli/services/msp/msp_client.py +35 -14
- tccli/services/ocr/ocr_client.py +246 -76
- tccli/services/ocr/v20181119/api.json +119 -10
- tccli/services/ocr/v20181119/examples.json +8 -0
- tccli/services/omics/omics_client.py +100 -40
- tccli/services/organization/organization_client.py +580 -232
- tccli/services/postgres/postgres_client.py +455 -182
- tccli/services/privatedns/privatedns_client.py +155 -62
- tccli/services/pts/pts_client.py +240 -96
- tccli/services/quota/quota_client.py +229 -2
- tccli/services/quota/v20241204/api.json +451 -2
- tccli/services/quota/v20241204/examples.json +42 -3
- tccli/services/rce/rce_client.py +5 -2
- tccli/services/redis/redis_client.py +545 -218
- tccli/services/redis/v20180412/api.json +225 -113
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/region/region_client.py +15 -6
- tccli/services/rum/rum_client.py +300 -120
- tccli/services/scf/scf_client.py +210 -84
- tccli/services/ses/ses_client.py +145 -58
- tccli/services/sms/sms_client.py +90 -36
- tccli/services/sqlserver/sqlserver_client.py +695 -278
- tccli/services/ssl/ssl_client.py +190 -76
- tccli/services/ssm/ssm_client.py +120 -48
- tccli/services/sts/sts_client.py +25 -10
- tccli/services/tag/tag_client.py +150 -60
- tccli/services/tat/tat_client.py +95 -38
- tccli/services/tbaas/tbaas_client.py +20 -8
- tccli/services/tcaplusdb/tcaplusdb_client.py +260 -104
- tccli/services/tchd/tchd_client.py +5 -2
- tccli/services/tcmpp/tcmpp_client.py +520 -208
- tccli/services/tcr/tcr_client.py +380 -152
- tccli/services/tcsas/tcsas_client.py +295 -118
- tccli/services/tcsas/v20250106/api.json +101 -61
- tccli/services/tcsas/v20250106/examples.json +2 -2
- tccli/services/tcss/tcss_client.py +1650 -660
- tccli/services/tdid/tdid_client.py +240 -96
- tccli/services/tdmq/tdmq_client.py +470 -188
- tccli/services/tem/tem_client.py +280 -112
- tccli/services/teo/teo_client.py +1365 -483
- tccli/services/teo/v20220901/api.json +354 -39
- tccli/services/teo/v20220901/examples.json +24 -0
- tccli/services/tione/tione_client.py +5 -2
- tccli/services/tiw/tiw_client.py +255 -102
- tccli/services/tke/tke_client.py +690 -276
- tccli/services/tms/tms_client.py +5 -2
- tccli/services/tmt/tmt_client.py +5 -2
- tccli/services/trabbit/trabbit_client.py +145 -58
- tccli/services/trro/trro_client.py +95 -38
- tccli/services/trtc/trtc_client.py +255 -102
- tccli/services/trtc/v20190722/api.json +11 -11
- tccli/services/trtc/v20190722/examples.json +7 -7
- tccli/services/tts/tts_client.py +5 -2
- tccli/services/vclm/vclm_client.py +10 -4
- tccli/services/vm/vm_client.py +20 -8
- tccli/services/vod/vod_client.py +895 -358
- tccli/services/vpc/v20170312/api.json +970 -75
- tccli/services/vpc/v20170312/examples.json +106 -10
- tccli/services/vpc/vpc_client.py +2159 -644
- tccli/services/waf/waf_client.py +535 -214
- tccli/services/wedata/v20250806/api.json +13644 -0
- tccli/services/wedata/v20250806/examples.json +621 -0
- tccli/services/wedata/wedata_client.py +6067 -1263
- tccli/services/yunjing/yunjing_client.py +355 -142
- {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.1.1.1.dist-info}/METADATA +4 -7
- {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.1.1.1.dist-info}/RECORD +186 -180
- {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.1.1.1.dist-info}/WHEEL +1 -1
- {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.1.1.1.dist-info}/entry_points.txt +0 -1
- {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.1.1.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1265.1.dist-info → tccli_intl_en-3.1.1.1.dist-info}/top_level.txt +0 -0
|
@@ -119,6 +119,13 @@
|
|
|
119
119
|
"output": "RecognizeBrazilRNMOCRResponse",
|
|
120
120
|
"status": "online"
|
|
121
121
|
},
|
|
122
|
+
"RecognizeDetectCardCoords": {
|
|
123
|
+
"document": "This API is used to recognize the coordinates of four corners of cards.",
|
|
124
|
+
"input": "RecognizeDetectCardCoordsRequest",
|
|
125
|
+
"name": "Four-Corner coordinate detection and recognition",
|
|
126
|
+
"output": "RecognizeDetectCardCoordsResponse",
|
|
127
|
+
"status": "online"
|
|
128
|
+
},
|
|
122
129
|
"RecognizeGeneralInvoice": {
|
|
123
130
|
"document": "This API is used to recognize various types of invoices or tickets in an image or PDF file. You can also specify a type. 14 types of standard expense reimbursement invoices are supported, including value-added tax (VAT) invoice (special, general, roll, blockchain, and toll), fully digitalized electronic invoice (special and general), non-tax revenue invoice (general receipt and general payment voucher), quota invoice, general machine-printed invoice, car sales invoice (motor vehicle sales invoice and used car invoice), train ticket, taxi receipt, itinerary/receipt of e-ticket for air transportation, bus ticket, ship ticket, toll receipt, and medical invoice (inpatient and outpatient). This API can also be used for intelligent recognition of other types of invoices. To try now, click [here](https://intl.cloud.tencent.com/product/ocr?from_cn_redirect=1).\n\nA maximum of 5 requests can be initiated per second for this API.\n\n\nThe invoice/ticket subtype (SubType), subtype description (TypeDescription), and parent type (Type) can be returned, as described below:\n<table style=\"width:715px\">\n <thead>\n <tr>\n <th style=\"width:200px\">SubType</th>\n <th style=\"width:200px\">TypeDescription</th>\n <th >Type</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td> VatSpecialInvoice</td>\n <td> Special VAT invoice </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatCommonInvoice</td>\n <td> General VAT invoice </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicCommonInvoice </td>\n <td> Electronic general VAT invoice </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicSpecialInvoice </td>\n <td> Electronic special VAT invoice </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceBlockchain</td>\n <td> Blockchain electronic invoice </td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceToll</td>\n <td> Electronic general VAT invoice (toll)</td>\n <td> 3 </td>\n </tr>\n <tr>\n <td> VatElectronicSpecialInvoiceFull</td>\n <td> Electronic invoice (special)</td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> VatElectronicInvoiceFull</td>\n <td> Electronic invoice (general) </td>\n <td> 16 </td>\n </tr>\n <tr>\n <td> MotorVehicleSaleInvoice </td>\n <td> Motor vehicle sales invoice </td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> UsedCarPurchaseInvoice </td>\n <td> Used car invoice </td>\n <td> 12 </td>\n </tr>\n <tr>\n <td> VatInvoiceRoll </td>\n <td> General VAT invoice (roll) </td>\n <td> 11 </td>\n </tr>\n <tr>\n <td> TaxiTicket </td>\n <td> Taxi receipt </td>\n <td> 0 </td>\n </tr>\n <tr>\n <td> QuotaInvoice </td>\n <td> Quota invoice </td>\n <td> 1 </td>\n </tr>\n <tr>\n <td> TrainTicket </td>\n <td> Train ticket </td>\n <td> 2 </td>\n </tr>\n <tr>\n <td> AirTransport </td>\n <td> Itinerary/Receipt of e-ticket for air transportation </td>\n <td> 5 </td>\n </tr>\n <tr>\n <td> MachinePrintedInvoice </td>\n <td> General machine-printed invoice </td>\n <td> 8 </td>\n </tr>\n <tr>\n <td> BusInvoice </td>\n <td> Bus ticket </td>\n <td> 9 </td>\n </tr>\n <tr>\n <td> ShippingInvoice </td>\n <td> Ship ticket </td>\n <td> 10 </td>\n </tr>\n <tr>\n <td> NonTaxIncomeGeneralBill </td>\n <td> General receipt for non-tax revenue </td>\n <td> 15 </td>\n </tr>\n <tr>\n <td> NonTaxIncomeElectronicBill </td>\n <td> General payment voucher for non-tax revenue (electronic) </td>\n <td> 15 </td>\n </tr>\n <tr>\n <td> TollInvoice </td>\n <td> Toll receipt </td>\n <td> 13 </td>\n </tr>\n <tr>\n <td> OtherInvoice </td>\n <td> Other </td>\n <td> -1 </td>\n </tr>\n </tbody>\n </table>",
|
|
124
131
|
"input": "RecognizeGeneralInvoiceRequest",
|
|
@@ -1626,6 +1633,32 @@
|
|
|
1626
1633
|
],
|
|
1627
1634
|
"usage": "out"
|
|
1628
1635
|
},
|
|
1636
|
+
"CoordsItem": {
|
|
1637
|
+
"document": "Detected coordinate recognition information.",
|
|
1638
|
+
"members": [
|
|
1639
|
+
{
|
|
1640
|
+
"disabled": false,
|
|
1641
|
+
"document": "Coordinates of four points in the image.",
|
|
1642
|
+
"example": "无",
|
|
1643
|
+
"member": "Polygon",
|
|
1644
|
+
"name": "Polygon",
|
|
1645
|
+
"output_required": false,
|
|
1646
|
+
"type": "object",
|
|
1647
|
+
"value_allowed_null": false
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
"disabled": false,
|
|
1651
|
+
"document": "Coordinates of two points in the image.",
|
|
1652
|
+
"example": "无",
|
|
1653
|
+
"member": "ItemCoord",
|
|
1654
|
+
"name": "Coords",
|
|
1655
|
+
"output_required": false,
|
|
1656
|
+
"type": "object",
|
|
1657
|
+
"value_allowed_null": false
|
|
1658
|
+
}
|
|
1659
|
+
],
|
|
1660
|
+
"usage": "out"
|
|
1661
|
+
},
|
|
1629
1662
|
"DetectedWordCoordPoint": {
|
|
1630
1663
|
"document": "Coordinates of a word’s four corners in a clockwise order on the input image, starting from the upper-left corner",
|
|
1631
1664
|
"members": [
|
|
@@ -2261,7 +2294,7 @@
|
|
|
2261
2294
|
"example": "false",
|
|
2262
2295
|
"member": "bool",
|
|
2263
2296
|
"name": "ReturnHeadImage",
|
|
2264
|
-
"required":
|
|
2297
|
+
"required": false,
|
|
2265
2298
|
"type": "bool"
|
|
2266
2299
|
},
|
|
2267
2300
|
{
|
|
@@ -2276,7 +2309,7 @@
|
|
|
2276
2309
|
{
|
|
2277
2310
|
"disabled": false,
|
|
2278
2311
|
"document": "Base64 string of the image\nSupported image formats: PNG, JPG, JPEG. GIF is not supported yet.\nSupported image size: The downloaded image cannot exceed 7 MB after being Base64-encoded, and it cannot take longer than 3 seconds to download the image.",
|
|
2279
|
-
"example": "
|
|
2312
|
+
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
|
2280
2313
|
"member": "string",
|
|
2281
2314
|
"name": "ImageBase64",
|
|
2282
2315
|
"required": false,
|
|
@@ -2285,7 +2318,7 @@
|
|
|
2285
2318
|
{
|
|
2286
2319
|
"disabled": false,
|
|
2287
2320
|
"document": "URL address of image. (This field is not supported outside Chinese mainland)\nSupported image formats: PNG, JPG, JPEG. GIF is currently not supported.\nSupported image size: the downloaded image cannot exceed 3 MB after being Base64-encoded. The download time of the image cannot exceed 3 seconds.\nWe recommend you store the image in Tencent Cloud, as a Tencent Cloud URL can guarantee higher download speed and stability.\nThe download speed and stability of non-Tencent Cloud URLs may be low.",
|
|
2288
|
-
"example": "https://
|
|
2321
|
+
"example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/fakeurl.jpg",
|
|
2289
2322
|
"member": "string",
|
|
2290
2323
|
"name": "ImageUrl",
|
|
2291
2324
|
"required": false,
|
|
@@ -2409,17 +2442,27 @@
|
|
|
2409
2442
|
},
|
|
2410
2443
|
{
|
|
2411
2444
|
"disabled": false,
|
|
2412
|
-
"document": "Base64-encoded
|
|
2413
|
-
"example": "
|
|
2445
|
+
"document": "Base64-encoded large primary portrait photo from the left side of the new-generation Hong Kong Identity Card.\nNote: this field may return null, indicating that no valid values can be obtained.",
|
|
2446
|
+
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
|
2414
2447
|
"member": "string",
|
|
2415
2448
|
"name": "HeadImage",
|
|
2416
2449
|
"output_required": true,
|
|
2417
2450
|
"type": "string",
|
|
2418
2451
|
"value_allowed_null": true
|
|
2419
2452
|
},
|
|
2453
|
+
{
|
|
2454
|
+
"disabled": false,
|
|
2455
|
+
"document": "Base64-encoded small secondary portrait photo from the right side of the new-generation Hong Kong Identity Card.\nNote: this field may return null, indicating that no valid values can be obtained.",
|
|
2456
|
+
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
|
2457
|
+
"member": "string",
|
|
2458
|
+
"name": "SmallHeadImage",
|
|
2459
|
+
"output_required": false,
|
|
2460
|
+
"type": "string",
|
|
2461
|
+
"value_allowed_null": true
|
|
2462
|
+
},
|
|
2420
2463
|
{
|
|
2421
2464
|
"disabled": true,
|
|
2422
|
-
"document": "
|
|
2465
|
+
"document": "This field is deprecated and will always return an empty array. Usage is not recommended.",
|
|
2423
2466
|
"example": "[-9102,-9103]",
|
|
2424
2467
|
"member": "int64",
|
|
2425
2468
|
"name": "WarningCode",
|
|
@@ -2437,6 +2480,26 @@
|
|
|
2437
2480
|
"type": "list",
|
|
2438
2481
|
"value_allowed_null": false
|
|
2439
2482
|
},
|
|
2483
|
+
{
|
|
2484
|
+
"disabled": false,
|
|
2485
|
+
"document": "Text information incorporated within the laser-perforated see-through window on the new-generation Hong Kong Identity Card.",
|
|
2486
|
+
"example": "C000000",
|
|
2487
|
+
"member": "string",
|
|
2488
|
+
"name": "WindowEmbeddedText",
|
|
2489
|
+
"output_required": false,
|
|
2490
|
+
"type": "string",
|
|
2491
|
+
"value_allowed_null": false
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
"disabled": false,
|
|
2495
|
+
"document": "Versions of the Hong Kong Identity Card: HKID-2018, HKID-2003.",
|
|
2496
|
+
"example": "HKID-2018",
|
|
2497
|
+
"member": "string",
|
|
2498
|
+
"name": "HKIDVersion",
|
|
2499
|
+
"output_required": false,
|
|
2500
|
+
"type": "string",
|
|
2501
|
+
"value_allowed_null": true
|
|
2502
|
+
},
|
|
2440
2503
|
{
|
|
2441
2504
|
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
2442
2505
|
"member": "string",
|
|
@@ -2828,7 +2891,7 @@
|
|
|
2828
2891
|
{
|
|
2829
2892
|
"disabled": false,
|
|
2830
2893
|
"document": "X-coordinate of top-left point.",
|
|
2831
|
-
"example": "",
|
|
2894
|
+
"example": "537",
|
|
2832
2895
|
"member": "int64",
|
|
2833
2896
|
"name": "X",
|
|
2834
2897
|
"required": true,
|
|
@@ -2838,7 +2901,7 @@
|
|
|
2838
2901
|
{
|
|
2839
2902
|
"disabled": false,
|
|
2840
2903
|
"document": "Y-coordinate of top-left point.",
|
|
2841
|
-
"example": "",
|
|
2904
|
+
"example": "335",
|
|
2842
2905
|
"member": "int64",
|
|
2843
2906
|
"name": "Y",
|
|
2844
2907
|
"required": true,
|
|
@@ -2848,7 +2911,7 @@
|
|
|
2848
2911
|
{
|
|
2849
2912
|
"disabled": false,
|
|
2850
2913
|
"document": "Width",
|
|
2851
|
-
"example": "",
|
|
2914
|
+
"example": "169",
|
|
2852
2915
|
"member": "int64",
|
|
2853
2916
|
"name": "Width",
|
|
2854
2917
|
"required": true,
|
|
@@ -2858,7 +2921,7 @@
|
|
|
2858
2921
|
{
|
|
2859
2922
|
"disabled": false,
|
|
2860
2923
|
"document": "Height",
|
|
2861
|
-
"example": "",
|
|
2924
|
+
"example": "63",
|
|
2862
2925
|
"member": "int64",
|
|
2863
2926
|
"name": "Height",
|
|
2864
2927
|
"required": true,
|
|
@@ -6291,6 +6354,52 @@
|
|
|
6291
6354
|
],
|
|
6292
6355
|
"type": "object"
|
|
6293
6356
|
},
|
|
6357
|
+
"RecognizeDetectCardCoordsRequest": {
|
|
6358
|
+
"document": "RecognizeDetectCardCoords request structure.",
|
|
6359
|
+
"members": [
|
|
6360
|
+
{
|
|
6361
|
+
"disabled": false,
|
|
6362
|
+
"document": "The Url of the image. supported image formats: PNG, JPG, JPEG. GIF format is not currently supported. supported image size: the downloaded image should be no more than 7M after Base64 encoding. image download time should be no more than 3 seconds. images stored in tencent cloud's urls guarantee higher download speed and stability. it is recommended to store images in tencent cloud. the speed and stability of non-tencent cloud storage urls may be impacted.",
|
|
6363
|
+
"example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/***/url.jpg",
|
|
6364
|
+
"member": "string",
|
|
6365
|
+
"name": "ImageUrl",
|
|
6366
|
+
"required": false,
|
|
6367
|
+
"type": "string"
|
|
6368
|
+
},
|
|
6369
|
+
{
|
|
6370
|
+
"disabled": false,
|
|
6371
|
+
"document": "The Base64 value of the image. supported image formats: PNG, JPG, JPEG. GIF format is not currently supported. supported image size: no more than 7M after the downloaded image is encoded in Base64. image download time is not more than 3 seconds. either ImageUrl or ImageBase64 must be provided. if both are provided, only use ImageUrl.",
|
|
6372
|
+
"example": "/9j/4AAQSkZJRg.....s97n//2Q==",
|
|
6373
|
+
"member": "string",
|
|
6374
|
+
"name": "ImageBase64",
|
|
6375
|
+
"required": false,
|
|
6376
|
+
"type": "string"
|
|
6377
|
+
}
|
|
6378
|
+
],
|
|
6379
|
+
"type": "object"
|
|
6380
|
+
},
|
|
6381
|
+
"RecognizeDetectCardCoordsResponse": {
|
|
6382
|
+
"document": "RecognizeDetectCardCoords response structure.",
|
|
6383
|
+
"members": [
|
|
6384
|
+
{
|
|
6385
|
+
"disabled": false,
|
|
6386
|
+
"document": "Detected coordinate information.",
|
|
6387
|
+
"example": "无",
|
|
6388
|
+
"member": "CoordsItem",
|
|
6389
|
+
"name": "ItemList",
|
|
6390
|
+
"output_required": true,
|
|
6391
|
+
"type": "list",
|
|
6392
|
+
"value_allowed_null": false
|
|
6393
|
+
},
|
|
6394
|
+
{
|
|
6395
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
6396
|
+
"member": "string",
|
|
6397
|
+
"name": "RequestId",
|
|
6398
|
+
"type": "string"
|
|
6399
|
+
}
|
|
6400
|
+
],
|
|
6401
|
+
"type": "object"
|
|
6402
|
+
},
|
|
6294
6403
|
"RecognizeGeneralInvoiceRequest": {
|
|
6295
6404
|
"document": "RecognizeGeneralInvoice request structure.",
|
|
6296
6405
|
"members": [
|
|
@@ -160,6 +160,14 @@
|
|
|
160
160
|
"title": "RecognizeBrazilRNMOCR"
|
|
161
161
|
}
|
|
162
162
|
],
|
|
163
|
+
"RecognizeDetectCardCoords": [
|
|
164
|
+
{
|
|
165
|
+
"document": "",
|
|
166
|
+
"input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeDetectCardCoords\n<Common request parameters>\n\n{\n \"ImageUrl\": \"https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/card/IDCardOCR/IDCardOCR1.jpg\"\n}",
|
|
167
|
+
"output": "{\n \"Response\": {\n \"ItemList\": [\n {\n \"Coords\": {\n \"Height\": 388,\n \"Width\": 607,\n \"X\": 93,\n \"Y\": 204\n },\n \"Polygon\": {\n \"LeftBottom\": {\n \"X\": 93,\n \"Y\": 592\n },\n \"LeftTop\": {\n \"X\": 95,\n \"Y\": 204\n },\n \"RightBottom\": {\n \"X\": 700,\n \"Y\": 592\n },\n \"RightTop\": {\n \"X\": 700,\n \"Y\": 204\n }\n }\n }\n ],\n \"RequestId\": \"27ca3357-3cfe-4cb2-9996-0120241211b1\"\n }\n}",
|
|
168
|
+
"title": "Four Corner Coordinate Detection and Recognition"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
163
171
|
"RecognizeGeneralInvoice": [
|
|
164
172
|
{
|
|
165
173
|
"document": "This example shows you how to recognize a general invoice or ticket (advanced).",
|