tencentcloud-sdk-nodejs 4.1.5 → 4.1.7
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.
- package/es/common/sdk_version.js +1 -1
- package/es/services/ocr/v20181119/ocr_client.js +4 -13
- package/es/services/partners/v20180321/partners_client.js +34 -31
- package/es/services/taf/v20200210/taf_client.js +3 -0
- package/es/services/tdmq/v20200217/tdmq_client.js +0 -3
- package/es/services/tke/v20180525/tke_client.js +5 -2
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +0 -58
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +2 -0
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +4 -15
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +7 -9
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +76 -20
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +24 -24
- package/tencentcloud/services/cdwpg/v20201230/cdwpg_models.d.ts +10 -10
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +3 -3
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
- package/tencentcloud/services/cme/v20191029/cme_client.d.ts +1 -3
- package/tencentcloud/services/cme/v20191029/cme_client.js +1 -3
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +174 -176
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +16 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +0 -7
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +26 -34
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +66 -8
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +7 -3
- package/tencentcloud/services/dts/v20180330/dts_models.d.ts +0 -1
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +0 -7
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +6 -2
- package/tencentcloud/services/ecdn/v20191012/ecdn_client.js +6 -2
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -3
- package/tencentcloud/services/ess/v20201111/ess_client.js +5 -3
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +24 -11
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +5 -5
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +4 -0
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +0 -26
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +3 -2
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +23 -23
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +10 -0
- package/tencentcloud/services/iotvideo/v20191126/iotvideo_models.d.ts +10 -12
- package/tencentcloud/services/iotvideo/v20201215/iotvideo_models.d.ts +164 -159
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +184 -174
- package/tencentcloud/services/live/v20180801/live_models.d.ts +18 -14
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +1 -0
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +1 -0
- package/tencentcloud/services/lkeap/v20240522/lkeap_models.d.ts +4 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +1 -3
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +4 -6
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +25 -7
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +78 -0
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +4 -4
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +4 -4
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +147 -91
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +72 -89
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +73 -96
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +68 -194
- package/tencentcloud/services/partners/v20180321/partners_client.d.ts +39 -35
- package/tencentcloud/services/partners/v20180321/partners_client.js +57 -51
- package/tencentcloud/services/partners/v20180321/partners_models.d.ts +42 -0
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +0 -11
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +16 -0
- package/tencentcloud/services/taf/v20200210/taf_client.d.ts +5 -1
- package/tencentcloud/services/taf/v20200210/taf_client.js +6 -0
- package/tencentcloud/services/taf/v20200210/taf_models.d.ts +84 -14
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +11 -11
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +1 -7
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +11 -13
- package/tencentcloud/services/tdid/v20210519/tdid_models.d.ts +0 -5
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +1 -7
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +0 -8
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +36 -63
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +4 -0
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +7 -3
- package/tencentcloud/services/tke/v20180525/tke_client.js +9 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +231 -205
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +8 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +15 -7
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +2 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +2 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +281 -430
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +8 -5
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +8 -5
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +113 -50
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, RecognizeGeneralTextImageWarnResponse, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse,
|
|
3
|
+
import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, RecognizeGeneralTextImageWarnResponse, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, SmartStructuralProRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, ReconstructDocumentResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, ShipInvoiceOCRResponse, ReconstructDocumentRequest, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, SmartStructuralProResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RecognizeStoreNameResponse, GetOCRTokenRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, TableOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
|
|
4
4
|
/**
|
|
5
5
|
* ocr client
|
|
6
6
|
* @class
|
|
@@ -244,11 +244,71 @@ export declare class Client extends AbstractClient {
|
|
|
244
244
|
*/
|
|
245
245
|
MainlandPermitOCR(req: MainlandPermitOCRRequest, cb?: (error: string, rep: MainlandPermitOCRResponse) => void): Promise<MainlandPermitOCRResponse>;
|
|
246
246
|
/**
|
|
247
|
-
*
|
|
247
|
+
* 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
|
|
248
248
|
|
|
249
|
-
|
|
249
|
+
适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
|
|
250
|
+
|
|
251
|
+
产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
|
|
252
|
+
|
|
253
|
+
通用印刷体识别不同版本的差异如下:
|
|
254
|
+
<table style="width:715px">
|
|
255
|
+
<thead>
|
|
256
|
+
<tr>
|
|
257
|
+
<th style="width:150px"></th>
|
|
258
|
+
<th style="width:200px">【荐】通用印刷体识别</th>
|
|
259
|
+
<th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
|
260
|
+
<th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
|
|
261
|
+
</tr>
|
|
262
|
+
</thead>
|
|
263
|
+
<tbody>
|
|
264
|
+
<tr>
|
|
265
|
+
<td> 适用场景</td>
|
|
266
|
+
<td>适用于所有通用场景的印刷体识别</td>
|
|
267
|
+
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
|
268
|
+
<td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
|
|
269
|
+
</tr>
|
|
270
|
+
<tr>
|
|
271
|
+
<td>识别准确率</td>
|
|
272
|
+
<td>96%</td>
|
|
273
|
+
<td>99%</td>
|
|
274
|
+
<td>91%</td>
|
|
275
|
+
</tr>
|
|
276
|
+
<tr>
|
|
277
|
+
<td>价格</td>
|
|
278
|
+
<td>中</td>
|
|
279
|
+
<td>高</td>
|
|
280
|
+
<td>低</td>
|
|
281
|
+
</tr>
|
|
282
|
+
<tr>
|
|
283
|
+
<td>支持的语言</td>
|
|
284
|
+
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
285
|
+
<td>中文、英文、中英文</td>
|
|
286
|
+
<td>中文、英文、中英文</td>
|
|
287
|
+
</tr>
|
|
288
|
+
<tr>
|
|
289
|
+
<td>自动语言检测</td>
|
|
290
|
+
<td>支持</td>
|
|
291
|
+
<td>支持</td>
|
|
292
|
+
<td>支持</td>
|
|
293
|
+
</tr>
|
|
294
|
+
<tr>
|
|
295
|
+
<td>返回文本行坐标</td>
|
|
296
|
+
<td>支持</td>
|
|
297
|
+
<td>支持</td>
|
|
298
|
+
<td>支持</td>
|
|
299
|
+
</tr>
|
|
300
|
+
<tr>
|
|
301
|
+
<td>自动旋转纠正</td>
|
|
302
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
303
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
304
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
305
|
+
</tr>
|
|
306
|
+
</tbody>
|
|
307
|
+
</table>
|
|
308
|
+
|
|
309
|
+
默认接口请求频率限制:20次/秒。
|
|
250
310
|
*/
|
|
251
|
-
|
|
311
|
+
GeneralBasicOCR(req: GeneralBasicOCRRequest, cb?: (error: string, rep: GeneralBasicOCRResponse) => void): Promise<GeneralBasicOCRResponse>;
|
|
252
312
|
/**
|
|
253
313
|
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
|
254
314
|
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
|
@@ -412,6 +472,11 @@ export declare class Client extends AbstractClient {
|
|
|
412
472
|
<td> 海关缴款 </td>
|
|
413
473
|
<td> 19 </td>
|
|
414
474
|
</tr>
|
|
475
|
+
<tr>
|
|
476
|
+
<td> BankSlip </td>
|
|
477
|
+
<td> 银行回单 </td>
|
|
478
|
+
<td> 20 </td>
|
|
479
|
+
</tr>
|
|
415
480
|
<tr>
|
|
416
481
|
<td> OtherInvoice </td>
|
|
417
482
|
<td> 其他发票 </td>
|
|
@@ -456,12 +521,6 @@ export declare class Client extends AbstractClient {
|
|
|
456
521
|
默认接口请求频率限制:10次/秒。
|
|
457
522
|
*/
|
|
458
523
|
BizLicenseOCR(req: BizLicenseOCRRequest, cb?: (error: string, rep: BizLicenseOCRResponse) => void): Promise<BizLicenseOCRResponse>;
|
|
459
|
-
/**
|
|
460
|
-
* 智慧表单产品已下线,需要下线相关API
|
|
461
|
-
|
|
462
|
-
支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
|
|
463
|
-
*/
|
|
464
|
-
GetTaskState(req: GetTaskStateRequest, cb?: (error: string, rep: GetTaskStateResponse) => void): Promise<GetTaskStateResponse>;
|
|
465
524
|
/**
|
|
466
525
|
* 支持通用证照的有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能,支持通用证照的ps伪造检测,可以应用于各种证件信息有效性校验场景。
|
|
467
526
|
|
|
@@ -469,71 +528,11 @@ export declare class Client extends AbstractClient {
|
|
|
469
528
|
*/
|
|
470
529
|
RecognizeGeneralCardWarn(req: RecognizeGeneralCardWarnRequest, cb?: (error: string, rep: RecognizeGeneralCardWarnResponse) => void): Promise<RecognizeGeneralCardWarnResponse>;
|
|
471
530
|
/**
|
|
472
|
-
*
|
|
473
|
-
|
|
474
|
-
适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
|
|
475
|
-
|
|
476
|
-
产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
|
|
477
|
-
|
|
478
|
-
通用印刷体识别不同版本的差异如下:
|
|
479
|
-
<table style="width:715px">
|
|
480
|
-
<thead>
|
|
481
|
-
<tr>
|
|
482
|
-
<th style="width:150px"></th>
|
|
483
|
-
<th style="width:200px">【荐】通用印刷体识别</th>
|
|
484
|
-
<th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
|
485
|
-
<th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
|
|
486
|
-
</tr>
|
|
487
|
-
</thead>
|
|
488
|
-
<tbody>
|
|
489
|
-
<tr>
|
|
490
|
-
<td> 适用场景</td>
|
|
491
|
-
<td>适用于所有通用场景的印刷体识别</td>
|
|
492
|
-
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
|
493
|
-
<td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
|
|
494
|
-
</tr>
|
|
495
|
-
<tr>
|
|
496
|
-
<td>识别准确率</td>
|
|
497
|
-
<td>96%</td>
|
|
498
|
-
<td>99%</td>
|
|
499
|
-
<td>91%</td>
|
|
500
|
-
</tr>
|
|
501
|
-
<tr>
|
|
502
|
-
<td>价格</td>
|
|
503
|
-
<td>中</td>
|
|
504
|
-
<td>高</td>
|
|
505
|
-
<td>低</td>
|
|
506
|
-
</tr>
|
|
507
|
-
<tr>
|
|
508
|
-
<td>支持的语言</td>
|
|
509
|
-
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
510
|
-
<td>中文、英文、中英文</td>
|
|
511
|
-
<td>中文、英文、中英文</td>
|
|
512
|
-
</tr>
|
|
513
|
-
<tr>
|
|
514
|
-
<td>自动语言检测</td>
|
|
515
|
-
<td>支持</td>
|
|
516
|
-
<td>支持</td>
|
|
517
|
-
<td>支持</td>
|
|
518
|
-
</tr>
|
|
519
|
-
<tr>
|
|
520
|
-
<td>返回文本行坐标</td>
|
|
521
|
-
<td>支持</td>
|
|
522
|
-
<td>支持</td>
|
|
523
|
-
<td>支持</td>
|
|
524
|
-
</tr>
|
|
525
|
-
<tr>
|
|
526
|
-
<td>自动旋转纠正</td>
|
|
527
|
-
<td>支持旋转识别,返回角度信息</td>
|
|
528
|
-
<td>支持旋转识别,返回角度信息</td>
|
|
529
|
-
<td>支持旋转识别,返回角度信息</td>
|
|
530
|
-
</tr>
|
|
531
|
-
</tbody>
|
|
532
|
-
</table>
|
|
531
|
+
* 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
|
|
533
532
|
|
|
534
|
-
默认接口请求频率限制:
|
|
533
|
+
默认接口请求频率限制:5次/秒。
|
|
535
534
|
*/
|
|
536
|
-
|
|
535
|
+
FlightInvoiceOCR(req: FlightInvoiceOCRRequest, cb?: (error: string, rep: FlightInvoiceOCRResponse) => void): Promise<FlightInvoiceOCRResponse>;
|
|
537
536
|
/**
|
|
538
537
|
* 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
|
|
539
538
|
|
|
@@ -572,14 +571,6 @@ export declare class Client extends AbstractClient {
|
|
|
572
571
|
默认接口请求频率限制:10次/秒。
|
|
573
572
|
*/
|
|
574
573
|
BankCardOCR(req: BankCardOCRRequest, cb?: (error: string, rep: BankCardOCRResponse) => void): Promise<BankCardOCRResponse>;
|
|
575
|
-
/**
|
|
576
|
-
* 已上线VatInvoiceVerifyNew,VatInvoiceVerify需要下线,产品在官网已发通告
|
|
577
|
-
|
|
578
|
-
本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
|
|
579
|
-
|
|
580
|
-
默认接口请求频率限制:20次/秒。
|
|
581
|
-
*/
|
|
582
|
-
VatInvoiceVerify(req: VatInvoiceVerifyRequest, cb?: (error: string, rep: VatInvoiceVerifyResponse) => void): Promise<VatInvoiceVerifyResponse>;
|
|
583
574
|
/**
|
|
584
575
|
* 获取ocr的token值
|
|
585
576
|
*/
|
|
@@ -712,14 +703,6 @@ export declare class Client extends AbstractClient {
|
|
|
712
703
|
默认接口请求频率限制:10次/秒。
|
|
713
704
|
*/
|
|
714
705
|
RecognizeTableOCR(req: RecognizeTableOCRRequest, cb?: (error: string, rep: RecognizeTableOCRResponse) => void): Promise<RecognizeTableOCRResponse>;
|
|
715
|
-
/**
|
|
716
|
-
* 智慧表单产品已下线,需要下线相关API
|
|
717
|
-
|
|
718
|
-
本接口可创建智能表单录入任务,支持多个识别图片和PDF的URL上传,返回含有识别内容的操作页面URL。
|
|
719
|
-
|
|
720
|
-
智能表单录入产品提供高准确率的表单识别技术和人工核对工具,支持自定义字段,将识别结果自动填入到自定义条目中,并提供人工操作工具,完成整个表单识别过程。适用性强,可对票据、合同、货单等文件的识别,适用于金融、货代、保险、档案等领域。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
|
|
721
|
-
*/
|
|
722
|
-
CreateAIFormTask(req: CreateAIFormTaskRequest, cb?: (error: string, rep: CreateAIFormTaskResponse) => void): Promise<CreateAIFormTaskResponse>;
|
|
723
706
|
/**
|
|
724
707
|
* 本接口支持市面上主流版式电子运单的识别,包括收件人和寄件人的姓名、电话、地址以及运单号等字段。
|
|
725
708
|
|
|
@@ -308,12 +308,72 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
308
308
|
return this.request("MainlandPermitOCR", req, cb);
|
|
309
309
|
}
|
|
310
310
|
/**
|
|
311
|
-
*
|
|
311
|
+
* 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
|
|
312
312
|
|
|
313
|
-
|
|
313
|
+
适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
|
|
314
|
+
|
|
315
|
+
产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
|
|
316
|
+
|
|
317
|
+
通用印刷体识别不同版本的差异如下:
|
|
318
|
+
<table style="width:715px">
|
|
319
|
+
<thead>
|
|
320
|
+
<tr>
|
|
321
|
+
<th style="width:150px"></th>
|
|
322
|
+
<th style="width:200px">【荐】通用印刷体识别</th>
|
|
323
|
+
<th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
|
324
|
+
<th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
|
|
325
|
+
</tr>
|
|
326
|
+
</thead>
|
|
327
|
+
<tbody>
|
|
328
|
+
<tr>
|
|
329
|
+
<td> 适用场景</td>
|
|
330
|
+
<td>适用于所有通用场景的印刷体识别</td>
|
|
331
|
+
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
|
332
|
+
<td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
|
|
333
|
+
</tr>
|
|
334
|
+
<tr>
|
|
335
|
+
<td>识别准确率</td>
|
|
336
|
+
<td>96%</td>
|
|
337
|
+
<td>99%</td>
|
|
338
|
+
<td>91%</td>
|
|
339
|
+
</tr>
|
|
340
|
+
<tr>
|
|
341
|
+
<td>价格</td>
|
|
342
|
+
<td>中</td>
|
|
343
|
+
<td>高</td>
|
|
344
|
+
<td>低</td>
|
|
345
|
+
</tr>
|
|
346
|
+
<tr>
|
|
347
|
+
<td>支持的语言</td>
|
|
348
|
+
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
349
|
+
<td>中文、英文、中英文</td>
|
|
350
|
+
<td>中文、英文、中英文</td>
|
|
351
|
+
</tr>
|
|
352
|
+
<tr>
|
|
353
|
+
<td>自动语言检测</td>
|
|
354
|
+
<td>支持</td>
|
|
355
|
+
<td>支持</td>
|
|
356
|
+
<td>支持</td>
|
|
357
|
+
</tr>
|
|
358
|
+
<tr>
|
|
359
|
+
<td>返回文本行坐标</td>
|
|
360
|
+
<td>支持</td>
|
|
361
|
+
<td>支持</td>
|
|
362
|
+
<td>支持</td>
|
|
363
|
+
</tr>
|
|
364
|
+
<tr>
|
|
365
|
+
<td>自动旋转纠正</td>
|
|
366
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
367
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
368
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
369
|
+
</tr>
|
|
370
|
+
</tbody>
|
|
371
|
+
</table>
|
|
372
|
+
|
|
373
|
+
默认接口请求频率限制:20次/秒。
|
|
314
374
|
*/
|
|
315
|
-
async
|
|
316
|
-
return this.request("
|
|
375
|
+
async GeneralBasicOCR(req, cb) {
|
|
376
|
+
return this.request("GeneralBasicOCR", req, cb);
|
|
317
377
|
}
|
|
318
378
|
/**
|
|
319
379
|
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
|
@@ -480,6 +540,11 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
480
540
|
<td> 海关缴款 </td>
|
|
481
541
|
<td> 19 </td>
|
|
482
542
|
</tr>
|
|
543
|
+
<tr>
|
|
544
|
+
<td> BankSlip </td>
|
|
545
|
+
<td> 银行回单 </td>
|
|
546
|
+
<td> 20 </td>
|
|
547
|
+
</tr>
|
|
483
548
|
<tr>
|
|
484
549
|
<td> OtherInvoice </td>
|
|
485
550
|
<td> 其他发票 </td>
|
|
@@ -536,14 +601,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
536
601
|
async BizLicenseOCR(req, cb) {
|
|
537
602
|
return this.request("BizLicenseOCR", req, cb);
|
|
538
603
|
}
|
|
539
|
-
/**
|
|
540
|
-
* 智慧表单产品已下线,需要下线相关API
|
|
541
|
-
|
|
542
|
-
支持查询智能表单录入任务的状态。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
|
|
543
|
-
*/
|
|
544
|
-
async GetTaskState(req, cb) {
|
|
545
|
-
return this.request("GetTaskState", req, cb);
|
|
546
|
-
}
|
|
547
604
|
/**
|
|
548
605
|
* 支持通用证照的有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能,支持通用证照的ps伪造检测,可以应用于各种证件信息有效性校验场景。
|
|
549
606
|
|
|
@@ -553,72 +610,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
553
610
|
return this.request("RecognizeGeneralCardWarn", req, cb);
|
|
554
611
|
}
|
|
555
612
|
/**
|
|
556
|
-
*
|
|
557
|
-
|
|
558
|
-
适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
|
|
559
|
-
|
|
560
|
-
产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
|
|
561
|
-
|
|
562
|
-
通用印刷体识别不同版本的差异如下:
|
|
563
|
-
<table style="width:715px">
|
|
564
|
-
<thead>
|
|
565
|
-
<tr>
|
|
566
|
-
<th style="width:150px"></th>
|
|
567
|
-
<th style="width:200px">【荐】通用印刷体识别</th>
|
|
568
|
-
<th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
|
569
|
-
<th><a href="https://cloud.tencent.com/document/product/866/37831">通用印刷体识别(精简版)</a></th>
|
|
570
|
-
</tr>
|
|
571
|
-
</thead>
|
|
572
|
-
<tbody>
|
|
573
|
-
<tr>
|
|
574
|
-
<td> 适用场景</td>
|
|
575
|
-
<td>适用于所有通用场景的印刷体识别</td>
|
|
576
|
-
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
|
577
|
-
<td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
|
|
578
|
-
</tr>
|
|
579
|
-
<tr>
|
|
580
|
-
<td>识别准确率</td>
|
|
581
|
-
<td>96%</td>
|
|
582
|
-
<td>99%</td>
|
|
583
|
-
<td>91%</td>
|
|
584
|
-
</tr>
|
|
585
|
-
<tr>
|
|
586
|
-
<td>价格</td>
|
|
587
|
-
<td>中</td>
|
|
588
|
-
<td>高</td>
|
|
589
|
-
<td>低</td>
|
|
590
|
-
</tr>
|
|
591
|
-
<tr>
|
|
592
|
-
<td>支持的语言</td>
|
|
593
|
-
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
594
|
-
<td>中文、英文、中英文</td>
|
|
595
|
-
<td>中文、英文、中英文</td>
|
|
596
|
-
</tr>
|
|
597
|
-
<tr>
|
|
598
|
-
<td>自动语言检测</td>
|
|
599
|
-
<td>支持</td>
|
|
600
|
-
<td>支持</td>
|
|
601
|
-
<td>支持</td>
|
|
602
|
-
</tr>
|
|
603
|
-
<tr>
|
|
604
|
-
<td>返回文本行坐标</td>
|
|
605
|
-
<td>支持</td>
|
|
606
|
-
<td>支持</td>
|
|
607
|
-
<td>支持</td>
|
|
608
|
-
</tr>
|
|
609
|
-
<tr>
|
|
610
|
-
<td>自动旋转纠正</td>
|
|
611
|
-
<td>支持旋转识别,返回角度信息</td>
|
|
612
|
-
<td>支持旋转识别,返回角度信息</td>
|
|
613
|
-
<td>支持旋转识别,返回角度信息</td>
|
|
614
|
-
</tr>
|
|
615
|
-
</tbody>
|
|
616
|
-
</table>
|
|
613
|
+
* 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
|
|
617
614
|
|
|
618
|
-
默认接口请求频率限制:
|
|
615
|
+
默认接口请求频率限制:5次/秒。
|
|
619
616
|
*/
|
|
620
|
-
async
|
|
621
|
-
return this.request("
|
|
617
|
+
async FlightInvoiceOCR(req, cb) {
|
|
618
|
+
return this.request("FlightInvoiceOCR", req, cb);
|
|
622
619
|
}
|
|
623
620
|
/**
|
|
624
621
|
* 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
|
|
@@ -670,16 +667,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
670
667
|
async BankCardOCR(req, cb) {
|
|
671
668
|
return this.request("BankCardOCR", req, cb);
|
|
672
669
|
}
|
|
673
|
-
/**
|
|
674
|
-
* 已上线VatInvoiceVerifyNew,VatInvoiceVerify需要下线,产品在官网已发通告
|
|
675
|
-
|
|
676
|
-
本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票。
|
|
677
|
-
|
|
678
|
-
默认接口请求频率限制:20次/秒。
|
|
679
|
-
*/
|
|
680
|
-
async VatInvoiceVerify(req, cb) {
|
|
681
|
-
return this.request("VatInvoiceVerify", req, cb);
|
|
682
|
-
}
|
|
683
670
|
/**
|
|
684
671
|
* 获取ocr的token值
|
|
685
672
|
*/
|
|
@@ -842,16 +829,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
842
829
|
async RecognizeTableOCR(req, cb) {
|
|
843
830
|
return this.request("RecognizeTableOCR", req, cb);
|
|
844
831
|
}
|
|
845
|
-
/**
|
|
846
|
-
* 智慧表单产品已下线,需要下线相关API
|
|
847
|
-
|
|
848
|
-
本接口可创建智能表单录入任务,支持多个识别图片和PDF的URL上传,返回含有识别内容的操作页面URL。
|
|
849
|
-
|
|
850
|
-
智能表单录入产品提供高准确率的表单识别技术和人工核对工具,支持自定义字段,将识别结果自动填入到自定义条目中,并提供人工操作工具,完成整个表单识别过程。适用性强,可对票据、合同、货单等文件的识别,适用于金融、货代、保险、档案等领域。本产品免费公测中,您可以点击demo(超链接:https://ocr.smartform.cloud.tencent.com/)试用,如需购买请与商务团队联系。
|
|
851
|
-
*/
|
|
852
|
-
async CreateAIFormTask(req, cb) {
|
|
853
|
-
return this.request("CreateAIFormTask", req, cb);
|
|
854
|
-
}
|
|
855
832
|
/**
|
|
856
833
|
* 本接口支持市面上主流版式电子运单的识别,包括收件人和寄件人的姓名、电话、地址以及运单号等字段。
|
|
857
834
|
|