tencentcloud-sdk-nodejs-ocr 4.1.267 → 4.1.287

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.
@@ -3,9 +3,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
3
3
  constructor(clientConfig) {
4
4
  super("ocr.tencentcloudapi.com", "2018-11-19", clientConfig);
5
5
  }
6
- async InsuranceBillOCR(req, cb) {
7
- return this.request("InsuranceBillOCR", req, cb);
8
- }
9
6
  async ImageEnhancement(req, cb) {
10
7
  return this.request("ImageEnhancement", req, cb);
11
8
  }
@@ -108,8 +105,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
108
105
  async WaybillOCR(req, cb) {
109
106
  return this.request("WaybillOCR", req, cb);
110
107
  }
111
- async FlightInvoiceOCR(req, cb) {
112
- return this.request("FlightInvoiceOCR", req, cb);
108
+ async GeneralBasicOCR(req, cb) {
109
+ return this.request("GeneralBasicOCR", req, cb);
113
110
  }
114
111
  async PermitOCR(req, cb) {
115
112
  return this.request("PermitOCR", req, cb);
@@ -126,9 +123,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
126
123
  async SmartStructuralOCR(req, cb) {
127
124
  return this.request("SmartStructuralOCR", req, cb);
128
125
  }
129
- async ExtractDocMultiPro(req, cb) {
130
- return this.request("ExtractDocMultiPro", req, cb);
131
- }
132
126
  async SubmitQuestionMarkAgentJob(req, cb) {
133
127
  return this.request("SubmitQuestionMarkAgentJob", req, cb);
134
128
  }
@@ -210,15 +204,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
210
204
  async EraseHandwrittenImageOCR(req, cb) {
211
205
  return this.request("EraseHandwrittenImageOCR", req, cb);
212
206
  }
213
- async FormulaOCR(req, cb) {
214
- return this.request("FormulaOCR", req, cb);
215
- }
216
207
  async PassportOCR(req, cb) {
217
208
  return this.request("PassportOCR", req, cb);
218
209
  }
219
- async GeneralBasicOCR(req, cb) {
220
- return this.request("GeneralBasicOCR", req, cb);
221
- }
222
210
  async GetOCRToken(req, cb) {
223
211
  return this.request("GetOCRToken", req, cb);
224
212
  }
@@ -234,9 +222,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
234
222
  async CropEnhanceImageOCR(req, cb) {
235
223
  return this.request("CropEnhanceImageOCR", req, cb);
236
224
  }
237
- async EduPaperOCR(req, cb) {
238
- return this.request("EduPaperOCR", req, cb);
239
- }
240
225
  async RideHailingTransportLicenseOCR(req, cb) {
241
226
  return this.request("RideHailingTransportLicenseOCR", req, cb);
242
227
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ocr",
3
- "version": "4.1.267",
3
+ "version": "4.1.287",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,17 +1,11 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { TableOCRRequest, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, VinOCRResponse, BankCardOCRRequest, VatInvoiceVerifyNewResponse, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, GetOCRTokenResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, MLIDCardOCRRequest, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, DriverLicenseOCRRequest, VerifyBizLicenseEnterprise3Response, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnglishOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, VerifyScenePhotoResponse, RecognizeAgentResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, VinOCRRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, CropEnhanceImageOCRResponse, GeneralAccurateOCRResponse, QrcodeOCRRequest, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, MultimodalDocParseResponse, ExtractDocAgentResponse, RecognizeStoreNameResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, MultimodalDocParseRequest, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, ExtractDocMultiResponse, TextDetectRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, RecognizeEncryptedIDCardOCRRequest, SubmitExtractDocAgentJobResponse, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, SubmitMarkEssayAgentJobRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, SubmitMarkEssayAgentJobResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, SubmitQuestionMarkAgentJobResponse, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnterpriseLicenseOCRRequest, GeneralAccurateOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, EraseHandwrittenImageOCRResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, InsuranceBillOCRResponse, VerifyBizLicenseEnterprise4Response, HandwritingEssayOCRRequest, BankSlipOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, 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, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, SubmitExtractDocAgentJobRequest, ExtractDocAgentRequest, AdvertiseOCRResponse, RecognizeAgentRequest, SmartStructuralOCRResponse, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, SubmitQuestionMarkAgentJobRequest, BusinessCardOCRRequest, RecognizeValidIDCardOCRResponse, DescribeMarkEssayAgentJobRequest, GeneralFastOCRResponse } from "./ocr_models";
2
+ 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";
3
3
  /**
4
4
  * ocr client
5
5
  * @class
6
6
  */
7
7
  export declare class Client extends TencentCloudCommon.AbstractClient {
8
8
  constructor(clientConfig: TencentCloudCommon.ClientConfig);
9
- /**
10
- * 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
11
-
12
- 默认接口请求频率限制:1次/秒。
13
- */
14
- InsuranceBillOCR(req: InsuranceBillOCRRequest, cb?: (error: string, rep: InsuranceBillOCRResponse) => void): Promise<InsuranceBillOCRResponse>;
15
9
  /**
16
10
  * 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
17
11
 
@@ -369,12 +363,64 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
369
363
  */
370
364
  WaybillOCR(req: WaybillOCRRequest, cb?: (error: string, rep: WaybillOCRResponse) => void): Promise<WaybillOCRResponse>;
371
365
  /**
372
- * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
373
- 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
366
+ * **建议您使用识别效果更好的[通用文字识别(高精度版](https://cloud.tencent.com/document/product/866/34937 ))**
367
+ 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
374
368
 
375
- 默认接口请求频率限制:5次/秒。
369
+ 适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
370
+
371
+ 产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
372
+
373
+ 通用印刷体识别不同版本的差异如下:
374
+ <table style="width:715px">
375
+ <thead>
376
+ <tr>
377
+ <th style="width:150px"></th>
378
+ <th style="width:250px">【荐】通用印刷体识别</th>
379
+ <th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
380
+ </tr>
381
+ </thead>
382
+ <tbody>
383
+ <tr>
384
+ <td> 适用场景</td>
385
+ <td>适用于所有通用场景的印刷体识别</td>
386
+ <td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
387
+ </tr>
388
+ <tr>
389
+ <td>识别准确率</td>
390
+ <td>96%</td>
391
+ <td>99%</td>
392
+ </tr>
393
+ <tr>
394
+ <td>价格</td>
395
+ <td>低</td>
396
+ <td>中</td>
397
+ </tr>
398
+ <tr>
399
+ <td>支持的语言</td>
400
+ <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
401
+ <td>中文、英文、中英文、泰语、印尼语、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语</td>
402
+ </tr>
403
+ <tr>
404
+ <td>自动语言检测</td>
405
+ <td>支持</td>
406
+ <td>中英文支持;其他语种需要调整输入参数</td>
407
+ </tr>
408
+ <tr>
409
+ <td>返回文本行坐标</td>
410
+ <td>支持</td>
411
+ <td>支持</td>
412
+ </tr>
413
+ <tr>
414
+ <td>自动旋转纠正</td>
415
+ <td>支持旋转识别,返回角度信息</td>
416
+ <td>支持旋转识别,返回角度信息</td>
417
+ </tr>
418
+ </tbody>
419
+ </table>
420
+
421
+ 默认接口请求频率限制:20次/秒。
376
422
  */
377
- FlightInvoiceOCR(req: FlightInvoiceOCRRequest, cb?: (error: string, rep: FlightInvoiceOCRResponse) => void): Promise<FlightInvoiceOCRResponse>;
423
+ GeneralBasicOCR(req: GeneralBasicOCRRequest, cb?: (error: string, rep: GeneralBasicOCRResponse) => void): Promise<GeneralBasicOCRResponse>;
378
424
  /**
379
425
  * 本接口支持对卡式港澳台通行证的识别,包括签发地点、签发机关、有效期限、性别、出生日期、英文姓名、姓名、证件号等字段。
380
426
 
@@ -405,12 +451,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
405
451
  默认接口请求频率限制:5次/秒。
406
452
  */
407
453
  SmartStructuralOCR(req: SmartStructuralOCRRequest, cb?: (error: string, rep: SmartStructuralOCRResponse) => void): Promise<SmartStructuralOCRResponse>;
408
- /**
409
- * 本接口当前仅支持复杂磅单收发货单抽取,更多强推理场景支持定制咨询。点击[立即体验](https://ocrdemo.cloud.tencent.com/?action=ExtractDocMultiPro)。
410
-
411
- 默认接口请求频率限制:5次/秒。
412
- */
413
- ExtractDocMultiPro(req: ExtractDocMultiProRequest, cb?: (error: string, rep: ExtractDocMultiProResponse) => void): Promise<ExtractDocMultiProResponse>;
414
454
  /**
415
455
  * 用于试题批改Agent提交任务。主要面向K12的试题批改产品,支持整卷/单题端到端(试卷切题+题目批改+手写坐标回显)处理,主要聚焦的场景包括试题批改(含手写答案)、试题解析(不含手写答案),其中低年级算式批改效果比线上[数学作业批改](https://cloud.tencent.com/document/product/1004)效果更好。精准输出题目、正误判定、答案对比、错误及知识点等结构化评估结果。
416
456
 
@@ -650,14 +690,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
650
690
  默认接口请求频率限制:5次/秒。
651
691
  */
652
692
  EraseHandwrittenImageOCR(req: EraseHandwrittenImageOCRRequest, cb?: (error: string, rep: EraseHandwrittenImageOCRResponse) => void): Promise<EraseHandwrittenImageOCRResponse>;
653
- /**
654
- * 接口下线
655
-
656
- 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
657
-
658
- 默认接口请求频率限制:5次/秒。
659
- */
660
- FormulaOCR(req: FormulaOCRRequest, cb?: (error: string, rep: FormulaOCRResponse) => void): Promise<FormulaOCRResponse>;
661
693
  /**
662
694
  * <b>此接口为护照识别(中国大陆地区护照)的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/37657">护照识别(多国多地区护照)</a>。</b>
663
695
 
@@ -666,65 +698,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
666
698
  默认接口请求频率限制:10次/秒。
667
699
  */
668
700
  PassportOCR(req: PassportOCRRequest, cb?: (error: string, rep: PassportOCRResponse) => void): Promise<PassportOCRResponse>;
669
- /**
670
- * **建议您使用识别效果更好的[通用文字识别(高精度版](https://cloud.tencent.com/document/product/866/34937 ))**
671
- 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
672
-
673
- 适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
674
-
675
- 产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
676
-
677
- 通用印刷体识别不同版本的差异如下:
678
- <table style="width:715px">
679
- <thead>
680
- <tr>
681
- <th style="width:150px"></th>
682
- <th style="width:250px">【荐】通用印刷体识别</th>
683
- <th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
684
- </tr>
685
- </thead>
686
- <tbody>
687
- <tr>
688
- <td> 适用场景</td>
689
- <td>适用于所有通用场景的印刷体识别</td>
690
- <td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
691
- </tr>
692
- <tr>
693
- <td>识别准确率</td>
694
- <td>96%</td>
695
- <td>99%</td>
696
- </tr>
697
- <tr>
698
- <td>价格</td>
699
- <td>低</td>
700
- <td>中</td>
701
- </tr>
702
- <tr>
703
- <td>支持的语言</td>
704
- <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
705
- <td>中文、英文、中英文、泰语、印尼语、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语</td>
706
- </tr>
707
- <tr>
708
- <td>自动语言检测</td>
709
- <td>支持</td>
710
- <td>中英文支持;其他语种需要调整输入参数</td>
711
- </tr>
712
- <tr>
713
- <td>返回文本行坐标</td>
714
- <td>支持</td>
715
- <td>支持</td>
716
- </tr>
717
- <tr>
718
- <td>自动旋转纠正</td>
719
- <td>支持旋转识别,返回角度信息</td>
720
- <td>支持旋转识别,返回角度信息</td>
721
- </tr>
722
- </tbody>
723
- </table>
724
-
725
- 默认接口请求频率限制:20次/秒。
726
- */
727
- GeneralBasicOCR(req: GeneralBasicOCRRequest, cb?: (error: string, rep: GeneralBasicOCRResponse) => void): Promise<GeneralBasicOCRResponse>;
728
701
  /**
729
702
  * 获取ocr的token值
730
703
  */
@@ -752,12 +725,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
752
725
  默认接口请求频率限制:5次/秒。
753
726
  */
754
727
  CropEnhanceImageOCR(req: CropEnhanceImageOCRRequest, cb?: (error: string, rep: CropEnhanceImageOCRResponse) => void): Promise<CropEnhanceImageOCRResponse>;
755
- /**
756
- * 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
757
-
758
- 默认接口请求频率限制:5次/秒。
759
- */
760
- EduPaperOCR(req: EduPaperOCRRequest, cb?: (error: string, rep: EduPaperOCRResponse) => void): Promise<EduPaperOCRResponse>;
761
728
  /**
762
729
  * 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
763
730
 
@@ -28,14 +28,6 @@ class Client extends TencentCloudCommon.AbstractClient {
28
28
  constructor(clientConfig) {
29
29
  super("ocr.tencentcloudapi.com", "2018-11-19", clientConfig);
30
30
  }
31
- /**
32
- * 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
33
-
34
- 默认接口请求频率限制:1次/秒。
35
- */
36
- async InsuranceBillOCR(req, cb) {
37
- return this.request("InsuranceBillOCR", req, cb);
38
- }
39
31
  /**
40
32
  * 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
41
33
 
@@ -461,13 +453,65 @@ class Client extends TencentCloudCommon.AbstractClient {
461
453
  return this.request("WaybillOCR", req, cb);
462
454
  }
463
455
  /**
464
- * <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
465
- 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
456
+ * **建议您使用识别效果更好的[通用文字识别(高精度版](https://cloud.tencent.com/document/product/866/34937 ))**
457
+ 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
466
458
 
467
- 默认接口请求频率限制:5次/秒。
459
+ 适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
460
+
461
+ 产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
462
+
463
+ 通用印刷体识别不同版本的差异如下:
464
+ <table style="width:715px">
465
+ <thead>
466
+ <tr>
467
+ <th style="width:150px"></th>
468
+ <th style="width:250px">【荐】通用印刷体识别</th>
469
+ <th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
470
+ </tr>
471
+ </thead>
472
+ <tbody>
473
+ <tr>
474
+ <td> 适用场景</td>
475
+ <td>适用于所有通用场景的印刷体识别</td>
476
+ <td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
477
+ </tr>
478
+ <tr>
479
+ <td>识别准确率</td>
480
+ <td>96%</td>
481
+ <td>99%</td>
482
+ </tr>
483
+ <tr>
484
+ <td>价格</td>
485
+ <td>低</td>
486
+ <td>中</td>
487
+ </tr>
488
+ <tr>
489
+ <td>支持的语言</td>
490
+ <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
491
+ <td>中文、英文、中英文、泰语、印尼语、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语</td>
492
+ </tr>
493
+ <tr>
494
+ <td>自动语言检测</td>
495
+ <td>支持</td>
496
+ <td>中英文支持;其他语种需要调整输入参数</td>
497
+ </tr>
498
+ <tr>
499
+ <td>返回文本行坐标</td>
500
+ <td>支持</td>
501
+ <td>支持</td>
502
+ </tr>
503
+ <tr>
504
+ <td>自动旋转纠正</td>
505
+ <td>支持旋转识别,返回角度信息</td>
506
+ <td>支持旋转识别,返回角度信息</td>
507
+ </tr>
508
+ </tbody>
509
+ </table>
510
+
511
+ 默认接口请求频率限制:20次/秒。
468
512
  */
469
- async FlightInvoiceOCR(req, cb) {
470
- return this.request("FlightInvoiceOCR", req, cb);
513
+ async GeneralBasicOCR(req, cb) {
514
+ return this.request("GeneralBasicOCR", req, cb);
471
515
  }
472
516
  /**
473
517
  * 本接口支持对卡式港澳台通行证的识别,包括签发地点、签发机关、有效期限、性别、出生日期、英文姓名、姓名、证件号等字段。
@@ -509,14 +553,6 @@ class Client extends TencentCloudCommon.AbstractClient {
509
553
  async SmartStructuralOCR(req, cb) {
510
554
  return this.request("SmartStructuralOCR", req, cb);
511
555
  }
512
- /**
513
- * 本接口当前仅支持复杂磅单收发货单抽取,更多强推理场景支持定制咨询。点击[立即体验](https://ocrdemo.cloud.tencent.com/?action=ExtractDocMultiPro)。
514
-
515
- 默认接口请求频率限制:5次/秒。
516
- */
517
- async ExtractDocMultiPro(req, cb) {
518
- return this.request("ExtractDocMultiPro", req, cb);
519
- }
520
556
  /**
521
557
  * 用于试题批改Agent提交任务。主要面向K12的试题批改产品,支持整卷/单题端到端(试卷切题+题目批改+手写坐标回显)处理,主要聚焦的场景包括试题批改(含手写答案)、试题解析(不含手写答案),其中低年级算式批改效果比线上[数学作业批改](https://cloud.tencent.com/document/product/1004)效果更好。精准输出题目、正误判定、答案对比、错误及知识点等结构化评估结果。
522
558
 
@@ -810,16 +846,6 @@ class Client extends TencentCloudCommon.AbstractClient {
810
846
  async EraseHandwrittenImageOCR(req, cb) {
811
847
  return this.request("EraseHandwrittenImageOCR", req, cb);
812
848
  }
813
- /**
814
- * 接口下线
815
-
816
- 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
817
-
818
- 默认接口请求频率限制:5次/秒。
819
- */
820
- async FormulaOCR(req, cb) {
821
- return this.request("FormulaOCR", req, cb);
822
- }
823
849
  /**
824
850
  * <b>此接口为护照识别(中国大陆地区护照)的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/37657">护照识别(多国多地区护照)</a>。</b>
825
851
 
@@ -830,67 +856,6 @@ class Client extends TencentCloudCommon.AbstractClient {
830
856
  async PassportOCR(req, cb) {
831
857
  return this.request("PassportOCR", req, cb);
832
858
  }
833
- /**
834
- * **建议您使用识别效果更好的[通用文字识别(高精度版](https://cloud.tencent.com/document/product/866/34937 ))**
835
- 本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
836
-
837
- 适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
838
-
839
- 产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
840
-
841
- 通用印刷体识别不同版本的差异如下:
842
- <table style="width:715px">
843
- <thead>
844
- <tr>
845
- <th style="width:150px"></th>
846
- <th style="width:250px">【荐】通用印刷体识别</th>
847
- <th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
848
- </tr>
849
- </thead>
850
- <tbody>
851
- <tr>
852
- <td> 适用场景</td>
853
- <td>适用于所有通用场景的印刷体识别</td>
854
- <td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
855
- </tr>
856
- <tr>
857
- <td>识别准确率</td>
858
- <td>96%</td>
859
- <td>99%</td>
860
- </tr>
861
- <tr>
862
- <td>价格</td>
863
- <td>低</td>
864
- <td>中</td>
865
- </tr>
866
- <tr>
867
- <td>支持的语言</td>
868
- <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
869
- <td>中文、英文、中英文、泰语、印尼语、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语</td>
870
- </tr>
871
- <tr>
872
- <td>自动语言检测</td>
873
- <td>支持</td>
874
- <td>中英文支持;其他语种需要调整输入参数</td>
875
- </tr>
876
- <tr>
877
- <td>返回文本行坐标</td>
878
- <td>支持</td>
879
- <td>支持</td>
880
- </tr>
881
- <tr>
882
- <td>自动旋转纠正</td>
883
- <td>支持旋转识别,返回角度信息</td>
884
- <td>支持旋转识别,返回角度信息</td>
885
- </tr>
886
- </tbody>
887
- </table>
888
-
889
- 默认接口请求频率限制:20次/秒。
890
- */
891
- async GeneralBasicOCR(req, cb) {
892
- return this.request("GeneralBasicOCR", req, cb);
893
- }
894
859
  /**
895
860
  * 获取ocr的token值
896
861
  */
@@ -928,14 +893,6 @@ class Client extends TencentCloudCommon.AbstractClient {
928
893
  async CropEnhanceImageOCR(req, cb) {
929
894
  return this.request("CropEnhanceImageOCR", req, cb);
930
895
  }
931
- /**
932
- * 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
933
-
934
- 默认接口请求频率限制:5次/秒。
935
- */
936
- async EduPaperOCR(req, cb) {
937
- return this.request("EduPaperOCR", req, cb);
938
- }
939
896
  /**
940
897
  * 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
941
898