tencentcloud-sdk-nodejs-ocr 4.1.209 → 4.1.210
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/package.json
CHANGED
|
@@ -262,8 +262,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
262
262
|
*/
|
|
263
263
|
FlightInvoiceOCR(req: FlightInvoiceOCRRequest, cb?: (error: string, rep: FlightInvoiceOCRResponse) => void): Promise<FlightInvoiceOCRResponse>;
|
|
264
264
|
/**
|
|
265
|
-
|
|
266
|
-
|
|
265
|
+
* 图像切边矫正增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度,可以作为所有识别场景的图像预处理原子能力,从而提升识别效果。
|
|
266
|
+
|
|
267
|
+
默认接口请求频率限制:5次/秒。
|
|
268
|
+
*/
|
|
267
269
|
CropEnhanceImageOCR(req: CropEnhanceImageOCRRequest, cb?: (error: string, rep: CropEnhanceImageOCRResponse) => void): Promise<CropEnhanceImageOCRResponse>;
|
|
268
270
|
/**
|
|
269
271
|
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票等常用标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
|
@@ -624,8 +626,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
624
626
|
*/
|
|
625
627
|
BankCardOCR(req: BankCardOCRRequest, cb?: (error: string, rep: BankCardOCRResponse) => void): Promise<BankCardOCRResponse>;
|
|
626
628
|
/**
|
|
627
|
-
|
|
628
|
-
|
|
629
|
+
* 本功能可自动清除试卷图片中的手写与批改痕迹,并输出洁净的空白试卷。也可以配合集成图像切边矫正技术,能自动定位、拉平试卷区域,从而在最优预处理基础上实现更佳的擦除效果。
|
|
630
|
+
|
|
631
|
+
默认接口请求频率限制:5次/秒。
|
|
632
|
+
*/
|
|
629
633
|
EraseHandwrittenImageOCR(req: EraseHandwrittenImageOCRRequest, cb?: (error: string, rep: EraseHandwrittenImageOCRResponse) => void): Promise<EraseHandwrittenImageOCRResponse>;
|
|
630
634
|
/**
|
|
631
635
|
* 获取ocr的token值
|
|
@@ -758,8 +762,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
758
762
|
*/
|
|
759
763
|
RecognizeTableOCR(req: RecognizeTableOCRRequest, cb?: (error: string, rep: RecognizeTableOCRResponse) => void): Promise<RecognizeTableOCRResponse>;
|
|
760
764
|
/**
|
|
761
|
-
|
|
762
|
-
|
|
765
|
+
* 模型参数更小,速度更快。推荐场景:实时性要求高(30s以内)并且样本输入输出token2000以内,建议用实时模型。【备注:1.固定价格不限抽取字段数,2.自适应价格抽取字段大于10记两次费用,小于等于10记一次费用】
|
|
766
|
+
|
|
767
|
+
默认接口请求频率限制:5次/秒。
|
|
768
|
+
*/
|
|
763
769
|
ExtractDocAgent(req: ExtractDocAgentRequest, cb?: (error: string, rep: ExtractDocAgentResponse) => void): Promise<ExtractDocAgentResponse>;
|
|
764
770
|
/**
|
|
765
771
|
* 本接口支持市面上主流版式电子运单的识别,包括收件人和寄件人的姓名、电话、地址以及运单号等字段。
|
|
@@ -334,8 +334,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
334
334
|
return this.request("FlightInvoiceOCR", req, cb);
|
|
335
335
|
}
|
|
336
336
|
/**
|
|
337
|
-
|
|
338
|
-
|
|
337
|
+
* 图像切边矫正增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度,可以作为所有识别场景的图像预处理原子能力,从而提升识别效果。
|
|
338
|
+
|
|
339
|
+
默认接口请求频率限制:5次/秒。
|
|
340
|
+
*/
|
|
339
341
|
async CropEnhanceImageOCR(req, cb) {
|
|
340
342
|
return this.request("CropEnhanceImageOCR", req, cb);
|
|
341
343
|
}
|
|
@@ -728,8 +730,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
728
730
|
return this.request("BankCardOCR", req, cb);
|
|
729
731
|
}
|
|
730
732
|
/**
|
|
731
|
-
|
|
732
|
-
|
|
733
|
+
* 本功能可自动清除试卷图片中的手写与批改痕迹,并输出洁净的空白试卷。也可以配合集成图像切边矫正技术,能自动定位、拉平试卷区域,从而在最优预处理基础上实现更佳的擦除效果。
|
|
734
|
+
|
|
735
|
+
默认接口请求频率限制:5次/秒。
|
|
736
|
+
*/
|
|
733
737
|
async EraseHandwrittenImageOCR(req, cb) {
|
|
734
738
|
return this.request("EraseHandwrittenImageOCR", req, cb);
|
|
735
739
|
}
|
|
@@ -890,8 +894,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
890
894
|
return this.request("RecognizeTableOCR", req, cb);
|
|
891
895
|
}
|
|
892
896
|
/**
|
|
893
|
-
|
|
894
|
-
|
|
897
|
+
* 模型参数更小,速度更快。推荐场景:实时性要求高(30s以内)并且样本输入输出token2000以内,建议用实时模型。【备注:1.固定价格不限抽取字段数,2.自适应价格抽取字段大于10记两次费用,小于等于10记一次费用】
|
|
898
|
+
|
|
899
|
+
默认接口请求频率限制:5次/秒。
|
|
900
|
+
*/
|
|
895
901
|
async ExtractDocAgent(req, cb) {
|
|
896
902
|
return this.request("ExtractDocAgent", req, cb);
|
|
897
903
|
}
|