tencentcloud-sdk-nodejs 4.1.286 → 4.1.288
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/cfw/v20190904/cfw_client.js +9 -0
- package/es/services/cngw/v20230418/cngw_client.js +3 -0
- package/es/services/config/v20220802/config_client.js +8 -2
- package/es/services/dbdc/v20201029/dbdc_client.js +3 -0
- package/es/services/oceanus/v20190422/oceanus_client.js +11 -2
- package/es/services/ocr/v20181119/ocr_client.js +2 -17
- package/es/services/tcb/v20180608/tcb_client.js +3 -0
- package/es/services/tse/v20201207/tse_client.js +7 -4
- 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/billing/v20180709/billing_client.d.ts +3 -3
- package/tencentcloud/services/billing/v20180709/billing_client.js +3 -3
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +54 -65
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +69 -97
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +13 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +18 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +236 -56
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +16 -17
- package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +5 -1
- package/tencentcloud/services/cngw/v20230418/cngw_client.js +6 -0
- package/tencentcloud/services/cngw/v20230418/cngw_models.d.ts +367 -6
- package/tencentcloud/services/config/v20220802/config_client.d.ts +11 -3
- package/tencentcloud/services/config/v20220802/config_client.js +15 -3
- package/tencentcloud/services/config/v20220802/config_models.d.ts +117 -0
- package/tencentcloud/services/ctsdb/v20230202/ctsdb_models.d.ts +13 -8
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +16 -8
- package/tencentcloud/services/dbdc/v20201029/dbdc_client.d.ts +5 -1
- package/tencentcloud/services/dbdc/v20201029/dbdc_client.js +6 -0
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +62 -40
- package/tencentcloud/services/es/v20180416/es_models.d.ts +13 -9
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +6 -38
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +3 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +15 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +21 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +319 -199
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +57 -90
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +57 -100
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +425 -755
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +31 -30
- package/tencentcloud/services/rce/v20260130/rce_models.d.ts +23 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +18 -2
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +5 -1
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +6 -0
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +84 -20
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +9 -5
- package/tencentcloud/services/tse/v20201207/tse_client.js +12 -6
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +143 -43
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +4 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +23 -25
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { TableOCRRequest, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, VinOCRResponse, BankCardOCRRequest, VatInvoiceVerifyNewResponse, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, EstateCertOCRResponse,
|
|
3
|
+
import { TableOCRRequest, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, VinOCRResponse, BankCardOCRRequest, VatInvoiceVerifyNewResponse, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, EstateCertOCRResponse, GeneralHandwritingOCRResponse, MLIDPassportOCRRequest, TextDetectResponse, GetOCRTokenResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, MLIDCardOCRRequest, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, VerifyBizLicenseEnterprise3Response, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnglishOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, VerifyScenePhotoResponse, RecognizeAgentResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, RecognizeGeneralCardWarnRequest, VinOCRRequest, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, CropEnhanceImageOCRResponse, GeneralAccurateOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, MultimodalDocParseResponse, ExtractDocAgentResponse, RecognizeStoreNameResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, MultimodalDocParseRequest, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, ExtractDocMultiResponse, TextDetectRequest, RecognizeThaiIDCardOCRRequest, RecognizeEncryptedIDCardOCRRequest, SubmitExtractDocAgentJobResponse, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, SubmitMarkEssayAgentJobRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, SubmitMarkEssayAgentJobResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, SubmitQuestionMarkAgentJobResponse, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnterpriseLicenseOCRRequest, GeneralAccurateOCRRequest, RecognizeFormulaOCRRequest, VatInvoiceVerifyNewRequest, EraseHandwrittenImageOCRResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, VerifyBizLicenseEnterprise4Response, HandwritingEssayOCRRequest, BankSlipOCRResponse, QuestionSplitOCRRequest, PermitOCRResponse, PassportOCRRequest, VerifyScenePhotoRequest, DescribeQuestionMarkAgentJobRequest, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, VerifyBizLicenseEnterprise4Request, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, TrainTicketOCRRequest, GeneralEfficientOCRResponse, MLIDPassportOCRResponse, CropEnhanceImageOCRRequest, VerifyOfdVatInvoiceOCRResponse, SealOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, EraseHandwrittenImageOCRRequest, GetOCRResultResponse, MainlandPermitOCRResponse, PermitOCRRequest, EnglishOCRResponse, VerifyBizLicenseEnterprise3Request, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, QrcodeOCRRequest, SubmitExtractDocAgentJobRequest, ExtractDocAgentRequest, AdvertiseOCRResponse, RecognizeAgentRequest, SmartStructuralOCRResponse, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, SubmitQuestionMarkAgentJobRequest, BusinessCardOCRRequest, RecognizeValidIDCardOCRResponse, DescribeMarkEssayAgentJobRequest, GeneralFastOCRResponse } from "./ocr_models";
|
|
4
4
|
/**
|
|
5
5
|
* ocr client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
-
/**
|
|
11
|
-
* 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
|
|
12
|
-
|
|
13
|
-
默认接口请求频率限制:1次/秒。
|
|
14
|
-
*/
|
|
15
|
-
InsuranceBillOCR(req: InsuranceBillOCRRequest, cb?: (error: string, rep: InsuranceBillOCRResponse) => void): Promise<InsuranceBillOCRResponse>;
|
|
16
10
|
/**
|
|
17
11
|
* 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
|
|
18
12
|
|
|
@@ -370,12 +364,64 @@ export declare class Client extends AbstractClient {
|
|
|
370
364
|
*/
|
|
371
365
|
WaybillOCR(req: WaybillOCRRequest, cb?: (error: string, rep: WaybillOCRResponse) => void): Promise<WaybillOCRResponse>;
|
|
372
366
|
/**
|
|
373
|
-
*
|
|
374
|
-
|
|
367
|
+
* **建议您使用识别效果更好的[通用文字识别(高精度版](https://cloud.tencent.com/document/product/866/34937 ))**
|
|
368
|
+
本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
|
|
375
369
|
|
|
376
|
-
|
|
370
|
+
适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
|
|
371
|
+
|
|
372
|
+
产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
|
|
373
|
+
|
|
374
|
+
通用印刷体识别不同版本的差异如下:
|
|
375
|
+
<table style="width:715px">
|
|
376
|
+
<thead>
|
|
377
|
+
<tr>
|
|
378
|
+
<th style="width:150px"></th>
|
|
379
|
+
<th style="width:250px">【荐】通用印刷体识别</th>
|
|
380
|
+
<th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
|
381
|
+
</tr>
|
|
382
|
+
</thead>
|
|
383
|
+
<tbody>
|
|
384
|
+
<tr>
|
|
385
|
+
<td> 适用场景</td>
|
|
386
|
+
<td>适用于所有通用场景的印刷体识别</td>
|
|
387
|
+
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
|
388
|
+
</tr>
|
|
389
|
+
<tr>
|
|
390
|
+
<td>识别准确率</td>
|
|
391
|
+
<td>96%</td>
|
|
392
|
+
<td>99%</td>
|
|
393
|
+
</tr>
|
|
394
|
+
<tr>
|
|
395
|
+
<td>价格</td>
|
|
396
|
+
<td>低</td>
|
|
397
|
+
<td>中</td>
|
|
398
|
+
</tr>
|
|
399
|
+
<tr>
|
|
400
|
+
<td>支持的语言</td>
|
|
401
|
+
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
402
|
+
<td>中文、英文、中英文、泰语、印尼语、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语</td>
|
|
403
|
+
</tr>
|
|
404
|
+
<tr>
|
|
405
|
+
<td>自动语言检测</td>
|
|
406
|
+
<td>支持</td>
|
|
407
|
+
<td>中英文支持;其他语种需要调整输入参数</td>
|
|
408
|
+
</tr>
|
|
409
|
+
<tr>
|
|
410
|
+
<td>返回文本行坐标</td>
|
|
411
|
+
<td>支持</td>
|
|
412
|
+
<td>支持</td>
|
|
413
|
+
</tr>
|
|
414
|
+
<tr>
|
|
415
|
+
<td>自动旋转纠正</td>
|
|
416
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
417
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
418
|
+
</tr>
|
|
419
|
+
</tbody>
|
|
420
|
+
</table>
|
|
421
|
+
|
|
422
|
+
默认接口请求频率限制:20次/秒。
|
|
377
423
|
*/
|
|
378
|
-
|
|
424
|
+
GeneralBasicOCR(req: GeneralBasicOCRRequest, cb?: (error: string, rep: GeneralBasicOCRResponse) => void): Promise<GeneralBasicOCRResponse>;
|
|
379
425
|
/**
|
|
380
426
|
* 本接口支持对卡式港澳台通行证的识别,包括签发地点、签发机关、有效期限、性别、出生日期、英文姓名、姓名、证件号等字段。
|
|
381
427
|
|
|
@@ -406,12 +452,6 @@ export declare class Client extends AbstractClient {
|
|
|
406
452
|
默认接口请求频率限制:5次/秒。
|
|
407
453
|
*/
|
|
408
454
|
SmartStructuralOCR(req: SmartStructuralOCRRequest, cb?: (error: string, rep: SmartStructuralOCRResponse) => void): Promise<SmartStructuralOCRResponse>;
|
|
409
|
-
/**
|
|
410
|
-
* 本接口当前仅支持复杂磅单收发货单抽取,更多强推理场景支持定制咨询。点击[立即体验](https://ocrdemo.cloud.tencent.com/?action=ExtractDocMultiPro)。
|
|
411
|
-
|
|
412
|
-
默认接口请求频率限制:5次/秒。
|
|
413
|
-
*/
|
|
414
|
-
ExtractDocMultiPro(req: ExtractDocMultiProRequest, cb?: (error: string, rep: ExtractDocMultiProResponse) => void): Promise<ExtractDocMultiProResponse>;
|
|
415
455
|
/**
|
|
416
456
|
* 用于试题批改Agent提交任务。主要面向K12的试题批改产品,支持整卷/单题端到端(试卷切题+题目批改+手写坐标回显)处理,主要聚焦的场景包括试题批改(含手写答案)、试题解析(不含手写答案),其中低年级算式批改效果比线上[数学作业批改](https://cloud.tencent.com/document/product/1004)效果更好。精准输出题目、正误判定、答案对比、错误及知识点等结构化评估结果。
|
|
417
457
|
|
|
@@ -651,14 +691,6 @@ export declare class Client extends AbstractClient {
|
|
|
651
691
|
默认接口请求频率限制:5次/秒。
|
|
652
692
|
*/
|
|
653
693
|
EraseHandwrittenImageOCR(req: EraseHandwrittenImageOCRRequest, cb?: (error: string, rep: EraseHandwrittenImageOCRResponse) => void): Promise<EraseHandwrittenImageOCRResponse>;
|
|
654
|
-
/**
|
|
655
|
-
* 接口下线
|
|
656
|
-
|
|
657
|
-
本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
|
658
|
-
|
|
659
|
-
默认接口请求频率限制:5次/秒。
|
|
660
|
-
*/
|
|
661
|
-
FormulaOCR(req: FormulaOCRRequest, cb?: (error: string, rep: FormulaOCRResponse) => void): Promise<FormulaOCRResponse>;
|
|
662
694
|
/**
|
|
663
695
|
* <b>此接口为护照识别(中国大陆地区护照)的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/37657">护照识别(多国多地区护照)</a>。</b>
|
|
664
696
|
|
|
@@ -667,65 +699,6 @@ export declare class Client extends AbstractClient {
|
|
|
667
699
|
默认接口请求频率限制:10次/秒。
|
|
668
700
|
*/
|
|
669
701
|
PassportOCR(req: PassportOCRRequest, cb?: (error: string, rep: PassportOCRResponse) => void): Promise<PassportOCRResponse>;
|
|
670
|
-
/**
|
|
671
|
-
* **建议您使用识别效果更好的[通用文字识别(高精度版](https://cloud.tencent.com/document/product/866/34937 ))**
|
|
672
|
-
本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
|
|
673
|
-
|
|
674
|
-
适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
|
|
675
|
-
|
|
676
|
-
产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
|
|
677
|
-
|
|
678
|
-
通用印刷体识别不同版本的差异如下:
|
|
679
|
-
<table style="width:715px">
|
|
680
|
-
<thead>
|
|
681
|
-
<tr>
|
|
682
|
-
<th style="width:150px"></th>
|
|
683
|
-
<th style="width:250px">【荐】通用印刷体识别</th>
|
|
684
|
-
<th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
|
685
|
-
</tr>
|
|
686
|
-
</thead>
|
|
687
|
-
<tbody>
|
|
688
|
-
<tr>
|
|
689
|
-
<td> 适用场景</td>
|
|
690
|
-
<td>适用于所有通用场景的印刷体识别</td>
|
|
691
|
-
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
|
692
|
-
</tr>
|
|
693
|
-
<tr>
|
|
694
|
-
<td>识别准确率</td>
|
|
695
|
-
<td>96%</td>
|
|
696
|
-
<td>99%</td>
|
|
697
|
-
</tr>
|
|
698
|
-
<tr>
|
|
699
|
-
<td>价格</td>
|
|
700
|
-
<td>低</td>
|
|
701
|
-
<td>中</td>
|
|
702
|
-
</tr>
|
|
703
|
-
<tr>
|
|
704
|
-
<td>支持的语言</td>
|
|
705
|
-
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
706
|
-
<td>中文、英文、中英文、泰语、印尼语、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语</td>
|
|
707
|
-
</tr>
|
|
708
|
-
<tr>
|
|
709
|
-
<td>自动语言检测</td>
|
|
710
|
-
<td>支持</td>
|
|
711
|
-
<td>中英文支持;其他语种需要调整输入参数</td>
|
|
712
|
-
</tr>
|
|
713
|
-
<tr>
|
|
714
|
-
<td>返回文本行坐标</td>
|
|
715
|
-
<td>支持</td>
|
|
716
|
-
<td>支持</td>
|
|
717
|
-
</tr>
|
|
718
|
-
<tr>
|
|
719
|
-
<td>自动旋转纠正</td>
|
|
720
|
-
<td>支持旋转识别,返回角度信息</td>
|
|
721
|
-
<td>支持旋转识别,返回角度信息</td>
|
|
722
|
-
</tr>
|
|
723
|
-
</tbody>
|
|
724
|
-
</table>
|
|
725
|
-
|
|
726
|
-
默认接口请求频率限制:20次/秒。
|
|
727
|
-
*/
|
|
728
|
-
GeneralBasicOCR(req: GeneralBasicOCRRequest, cb?: (error: string, rep: GeneralBasicOCRResponse) => void): Promise<GeneralBasicOCRResponse>;
|
|
729
702
|
/**
|
|
730
703
|
* 获取ocr的token值
|
|
731
704
|
*/
|
|
@@ -753,12 +726,6 @@ export declare class Client extends AbstractClient {
|
|
|
753
726
|
默认接口请求频率限制:5次/秒。
|
|
754
727
|
*/
|
|
755
728
|
CropEnhanceImageOCR(req: CropEnhanceImageOCRRequest, cb?: (error: string, rep: CropEnhanceImageOCRResponse) => void): Promise<CropEnhanceImageOCRResponse>;
|
|
756
|
-
/**
|
|
757
|
-
* 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
|
|
758
|
-
|
|
759
|
-
默认接口请求频率限制:5次/秒。
|
|
760
|
-
*/
|
|
761
|
-
EduPaperOCR(req: EduPaperOCRRequest, cb?: (error: string, rep: EduPaperOCRResponse) => void): Promise<EduPaperOCRResponse>;
|
|
762
729
|
/**
|
|
763
730
|
* 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
|
|
764
731
|
|
|
@@ -27,14 +27,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("ocr.tencentcloudapi.com", "2018-11-19", clientConfig);
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
|
|
32
|
-
|
|
33
|
-
默认接口请求频率限制:1次/秒。
|
|
34
|
-
*/
|
|
35
|
-
async InsuranceBillOCR(req, cb) {
|
|
36
|
-
return this.request("InsuranceBillOCR", req, cb);
|
|
37
|
-
}
|
|
38
30
|
/**
|
|
39
31
|
* 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
|
|
40
32
|
|
|
@@ -460,13 +452,65 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
460
452
|
return this.request("WaybillOCR", req, cb);
|
|
461
453
|
}
|
|
462
454
|
/**
|
|
463
|
-
*
|
|
464
|
-
|
|
455
|
+
* **建议您使用识别效果更好的[通用文字识别(高精度版](https://cloud.tencent.com/document/product/866/34937 ))**
|
|
456
|
+
本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
|
|
465
457
|
|
|
466
|
-
|
|
458
|
+
适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
|
|
459
|
+
|
|
460
|
+
产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
|
|
461
|
+
|
|
462
|
+
通用印刷体识别不同版本的差异如下:
|
|
463
|
+
<table style="width:715px">
|
|
464
|
+
<thead>
|
|
465
|
+
<tr>
|
|
466
|
+
<th style="width:150px"></th>
|
|
467
|
+
<th style="width:250px">【荐】通用印刷体识别</th>
|
|
468
|
+
<th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
|
469
|
+
</tr>
|
|
470
|
+
</thead>
|
|
471
|
+
<tbody>
|
|
472
|
+
<tr>
|
|
473
|
+
<td> 适用场景</td>
|
|
474
|
+
<td>适用于所有通用场景的印刷体识别</td>
|
|
475
|
+
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
|
476
|
+
</tr>
|
|
477
|
+
<tr>
|
|
478
|
+
<td>识别准确率</td>
|
|
479
|
+
<td>96%</td>
|
|
480
|
+
<td>99%</td>
|
|
481
|
+
</tr>
|
|
482
|
+
<tr>
|
|
483
|
+
<td>价格</td>
|
|
484
|
+
<td>低</td>
|
|
485
|
+
<td>中</td>
|
|
486
|
+
</tr>
|
|
487
|
+
<tr>
|
|
488
|
+
<td>支持的语言</td>
|
|
489
|
+
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
490
|
+
<td>中文、英文、中英文、泰语、印尼语、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语</td>
|
|
491
|
+
</tr>
|
|
492
|
+
<tr>
|
|
493
|
+
<td>自动语言检测</td>
|
|
494
|
+
<td>支持</td>
|
|
495
|
+
<td>中英文支持;其他语种需要调整输入参数</td>
|
|
496
|
+
</tr>
|
|
497
|
+
<tr>
|
|
498
|
+
<td>返回文本行坐标</td>
|
|
499
|
+
<td>支持</td>
|
|
500
|
+
<td>支持</td>
|
|
501
|
+
</tr>
|
|
502
|
+
<tr>
|
|
503
|
+
<td>自动旋转纠正</td>
|
|
504
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
505
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
506
|
+
</tr>
|
|
507
|
+
</tbody>
|
|
508
|
+
</table>
|
|
509
|
+
|
|
510
|
+
默认接口请求频率限制:20次/秒。
|
|
467
511
|
*/
|
|
468
|
-
async
|
|
469
|
-
return this.request("
|
|
512
|
+
async GeneralBasicOCR(req, cb) {
|
|
513
|
+
return this.request("GeneralBasicOCR", req, cb);
|
|
470
514
|
}
|
|
471
515
|
/**
|
|
472
516
|
* 本接口支持对卡式港澳台通行证的识别,包括签发地点、签发机关、有效期限、性别、出生日期、英文姓名、姓名、证件号等字段。
|
|
@@ -508,14 +552,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
508
552
|
async SmartStructuralOCR(req, cb) {
|
|
509
553
|
return this.request("SmartStructuralOCR", req, cb);
|
|
510
554
|
}
|
|
511
|
-
/**
|
|
512
|
-
* 本接口当前仅支持复杂磅单收发货单抽取,更多强推理场景支持定制咨询。点击[立即体验](https://ocrdemo.cloud.tencent.com/?action=ExtractDocMultiPro)。
|
|
513
|
-
|
|
514
|
-
默认接口请求频率限制:5次/秒。
|
|
515
|
-
*/
|
|
516
|
-
async ExtractDocMultiPro(req, cb) {
|
|
517
|
-
return this.request("ExtractDocMultiPro", req, cb);
|
|
518
|
-
}
|
|
519
555
|
/**
|
|
520
556
|
* 用于试题批改Agent提交任务。主要面向K12的试题批改产品,支持整卷/单题端到端(试卷切题+题目批改+手写坐标回显)处理,主要聚焦的场景包括试题批改(含手写答案)、试题解析(不含手写答案),其中低年级算式批改效果比线上[数学作业批改](https://cloud.tencent.com/document/product/1004)效果更好。精准输出题目、正误判定、答案对比、错误及知识点等结构化评估结果。
|
|
521
557
|
|
|
@@ -809,16 +845,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
809
845
|
async EraseHandwrittenImageOCR(req, cb) {
|
|
810
846
|
return this.request("EraseHandwrittenImageOCR", req, cb);
|
|
811
847
|
}
|
|
812
|
-
/**
|
|
813
|
-
* 接口下线
|
|
814
|
-
|
|
815
|
-
本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
|
816
|
-
|
|
817
|
-
默认接口请求频率限制:5次/秒。
|
|
818
|
-
*/
|
|
819
|
-
async FormulaOCR(req, cb) {
|
|
820
|
-
return this.request("FormulaOCR", req, cb);
|
|
821
|
-
}
|
|
822
848
|
/**
|
|
823
849
|
* <b>此接口为护照识别(中国大陆地区护照)的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/37657">护照识别(多国多地区护照)</a>。</b>
|
|
824
850
|
|
|
@@ -829,67 +855,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
829
855
|
async PassportOCR(req, cb) {
|
|
830
856
|
return this.request("PassportOCR", req, cb);
|
|
831
857
|
}
|
|
832
|
-
/**
|
|
833
|
-
* **建议您使用识别效果更好的[通用文字识别(高精度版](https://cloud.tencent.com/document/product/866/34937 ))**
|
|
834
|
-
本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
|
|
835
|
-
|
|
836
|
-
适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
|
|
837
|
-
|
|
838
|
-
产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
|
|
839
|
-
|
|
840
|
-
通用印刷体识别不同版本的差异如下:
|
|
841
|
-
<table style="width:715px">
|
|
842
|
-
<thead>
|
|
843
|
-
<tr>
|
|
844
|
-
<th style="width:150px"></th>
|
|
845
|
-
<th style="width:250px">【荐】通用印刷体识别</th>
|
|
846
|
-
<th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
|
847
|
-
</tr>
|
|
848
|
-
</thead>
|
|
849
|
-
<tbody>
|
|
850
|
-
<tr>
|
|
851
|
-
<td> 适用场景</td>
|
|
852
|
-
<td>适用于所有通用场景的印刷体识别</td>
|
|
853
|
-
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
|
854
|
-
</tr>
|
|
855
|
-
<tr>
|
|
856
|
-
<td>识别准确率</td>
|
|
857
|
-
<td>96%</td>
|
|
858
|
-
<td>99%</td>
|
|
859
|
-
</tr>
|
|
860
|
-
<tr>
|
|
861
|
-
<td>价格</td>
|
|
862
|
-
<td>低</td>
|
|
863
|
-
<td>中</td>
|
|
864
|
-
</tr>
|
|
865
|
-
<tr>
|
|
866
|
-
<td>支持的语言</td>
|
|
867
|
-
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
868
|
-
<td>中文、英文、中英文、泰语、印尼语、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语</td>
|
|
869
|
-
</tr>
|
|
870
|
-
<tr>
|
|
871
|
-
<td>自动语言检测</td>
|
|
872
|
-
<td>支持</td>
|
|
873
|
-
<td>中英文支持;其他语种需要调整输入参数</td>
|
|
874
|
-
</tr>
|
|
875
|
-
<tr>
|
|
876
|
-
<td>返回文本行坐标</td>
|
|
877
|
-
<td>支持</td>
|
|
878
|
-
<td>支持</td>
|
|
879
|
-
</tr>
|
|
880
|
-
<tr>
|
|
881
|
-
<td>自动旋转纠正</td>
|
|
882
|
-
<td>支持旋转识别,返回角度信息</td>
|
|
883
|
-
<td>支持旋转识别,返回角度信息</td>
|
|
884
|
-
</tr>
|
|
885
|
-
</tbody>
|
|
886
|
-
</table>
|
|
887
|
-
|
|
888
|
-
默认接口请求频率限制:20次/秒。
|
|
889
|
-
*/
|
|
890
|
-
async GeneralBasicOCR(req, cb) {
|
|
891
|
-
return this.request("GeneralBasicOCR", req, cb);
|
|
892
|
-
}
|
|
893
858
|
/**
|
|
894
859
|
* 获取ocr的token值
|
|
895
860
|
*/
|
|
@@ -927,14 +892,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
927
892
|
async CropEnhanceImageOCR(req, cb) {
|
|
928
893
|
return this.request("CropEnhanceImageOCR", req, cb);
|
|
929
894
|
}
|
|
930
|
-
/**
|
|
931
|
-
* 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
|
|
932
|
-
|
|
933
|
-
默认接口请求频率限制:5次/秒。
|
|
934
|
-
*/
|
|
935
|
-
async EduPaperOCR(req, cb) {
|
|
936
|
-
return this.request("EduPaperOCR", req, cb);
|
|
937
|
-
}
|
|
938
895
|
/**
|
|
939
896
|
* 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
|
|
940
897
|
|