tencentcloud-sdk-nodejs-ocr 4.0.563 → 4.0.564
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/CHANGELOG.md +183 -0
- package/SERVICE_CHANGELOG.md +255 -86
- package/package.json +1 -1
- package/products.md +22 -21
- package/src/services/ocr/v20181119/ocr_client.ts +42 -20
- package/src/services/ocr/v20181119/ocr_models.ts +18 -18
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +42 -20
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +42 -20
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +18 -18
@@ -28,8 +28,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
28
28
|
super("ocr.tencentcloudapi.com", "2018-11-19", clientConfig);
|
29
29
|
}
|
30
30
|
/**
|
31
|
-
|
32
|
-
|
31
|
+
* 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
|
32
|
+
|
33
|
+
默认接口请求频率限制:1次/秒。
|
34
|
+
*/
|
33
35
|
async InsuranceBillOCR(req, cb) {
|
34
36
|
return this.request("InsuranceBillOCR", req, cb);
|
35
37
|
}
|
@@ -42,8 +44,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
42
44
|
return this.request("VerifyBasicBizLicense", req, cb);
|
43
45
|
}
|
44
46
|
/**
|
45
|
-
|
46
|
-
|
47
|
+
* 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
|
48
|
+
|
49
|
+
默认接口请求频率限制:10次/秒。
|
50
|
+
*/
|
47
51
|
async ImageEnhancement(req, cb) {
|
48
52
|
return this.request("ImageEnhancement", req, cb);
|
49
53
|
}
|
@@ -56,14 +60,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
56
60
|
return this.request("QueryBarCode", req, cb);
|
57
61
|
}
|
58
62
|
/**
|
59
|
-
|
60
|
-
|
63
|
+
* 本接口支持智能化识别各类企业登记证书、许可证书、企业执照、三证合一类证书,结构化输出统一社会信用代码、公司名称、法定代表人、公司地址、注册资金、企业类型、经营范围等关键字段。
|
64
|
+
|
65
|
+
默认接口请求频率限制:5次/秒。
|
66
|
+
*/
|
61
67
|
async EnterpriseLicenseOCR(req, cb) {
|
62
68
|
return this.request("EnterpriseLicenseOCR", req, cb);
|
63
69
|
}
|
64
70
|
/**
|
65
|
-
|
66
|
-
|
71
|
+
* 本接口支持名片各字段的自动定位与识别,包含姓名、电话、手机号、邮箱、公司、部门、职位、网址、地址、QQ、微信、MSN等。
|
72
|
+
|
73
|
+
默认接口请求频率限制:10次/秒。
|
74
|
+
*/
|
67
75
|
async BusinessCardOCR(req, cb) {
|
68
76
|
return this.request("BusinessCardOCR", req, cb);
|
69
77
|
}
|
@@ -527,8 +535,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
527
535
|
return this.request("RideHailingDriverLicenseOCR", req, cb);
|
528
536
|
}
|
529
537
|
/**
|
530
|
-
|
531
|
-
|
538
|
+
* 港澳台居住证OCR支持港澳台居住证正反面全字段内容检测识别功能,包括姓名、性别、出生日期、地址、身份证ID、签发机关、有效期限、签发次数、通行证号码关键字段识别。可以应用于港澳台居住证信息有效性校验场景,例如银行开户、用户注册等场景。
|
539
|
+
|
540
|
+
默认接口请求频率限制:20次/秒。
|
541
|
+
*/
|
532
542
|
async HmtResidentPermitOCR(req, cb) {
|
533
543
|
return this.request("HmtResidentPermitOCR", req, cb);
|
534
544
|
}
|
@@ -541,8 +551,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
541
551
|
return this.request("SmartStructuralOCR", req, cb);
|
542
552
|
}
|
543
553
|
/**
|
544
|
-
|
545
|
-
|
554
|
+
* 本接口支持作业算式题目的自动识别和判分,目前覆盖 K12 学力范围内的 11 种题型,包括加减乘除四则、加减乘除已知结果求运算因子、判断大小、约等于估算、带余数除法、分数四则运算、单位换算、竖式加减法、竖式乘除法、脱式计算和解方程,平均识别精度达到93%以上。
|
555
|
+
|
556
|
+
默认接口请求频率限制:10次/秒。
|
557
|
+
*/
|
546
558
|
async ArithmeticOCR(req, cb) {
|
547
559
|
return this.request("ArithmeticOCR", req, cb);
|
548
560
|
}
|
@@ -557,6 +569,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
557
569
|
/**
|
558
570
|
* 本接口支持不动产权证关键字段的识别,包括使用期限、面积、用途、权利性质、权利类型、坐落、共有情况、权利人、权利其他状况等。
|
559
571
|
|
572
|
+
默认接口请求频率限制:5次/秒。
|
560
573
|
|
561
574
|
|
562
575
|
*/
|
@@ -566,6 +579,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
566
579
|
/**
|
567
580
|
* 支持身份证、护照、名片、银行卡、行驶证、驾驶证、港澳台通行证、户口本、港澳台来往内地通行证、港澳台居住证、不动产证、营业执照的智能分类。
|
568
581
|
|
582
|
+
默认接口请求频率限制:20次/秒。
|
569
583
|
*/
|
570
584
|
async ClassifyDetectOCR(req, cb) {
|
571
585
|
return this.request("ClassifyDetectOCR", req, cb);
|
@@ -691,8 +705,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
691
705
|
return this.request("RecognizeTravelCardOCR", req, cb);
|
692
706
|
}
|
693
707
|
/**
|
694
|
-
|
695
|
-
|
708
|
+
* 本接口支持事业单位法人证书关键字段识别,包括注册号、有效期、住所、名称、法定代表人等。
|
709
|
+
|
710
|
+
默认接口请求频率限制:5次/秒。
|
711
|
+
*/
|
696
712
|
async InstitutionOCR(req, cb) {
|
697
713
|
return this.request("InstitutionOCR", req, cb);
|
698
714
|
}
|
@@ -747,8 +763,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
747
763
|
return this.request("MainlandPermitOCR", req, cb);
|
748
764
|
}
|
749
765
|
/**
|
750
|
-
|
751
|
-
|
766
|
+
* 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
767
|
+
|
768
|
+
默认接口请求频率限制:5次/秒。
|
769
|
+
*/
|
752
770
|
async FormulaOCR(req, cb) {
|
753
771
|
return this.request("FormulaOCR", req, cb);
|
754
772
|
}
|
@@ -769,8 +787,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
769
787
|
return this.request("VerifyBizLicense", req, cb);
|
770
788
|
}
|
771
789
|
/**
|
772
|
-
|
773
|
-
|
790
|
+
* 本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
|
791
|
+
|
792
|
+
默认接口请求频率限制:5次/秒。
|
793
|
+
*/
|
774
794
|
async FinanBillOCR(req, cb) {
|
775
795
|
return this.request("FinanBillOCR", req, cb);
|
776
796
|
}
|
@@ -809,8 +829,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
809
829
|
return this.request("RecognizeHealthCodeOCR", req, cb);
|
810
830
|
}
|
811
831
|
/**
|
812
|
-
|
813
|
-
|
832
|
+
* 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
|
833
|
+
|
834
|
+
默认接口请求频率限制:5次/秒。
|
835
|
+
*/
|
814
836
|
async EduPaperOCR(req, cb) {
|
815
837
|
return this.request("EduPaperOCR", req, cb);
|
816
838
|
}
|
@@ -74,15 +74,15 @@ export interface BusinessCardOCRResponse {
|
|
74
74
|
/**
|
75
75
|
* 名片识别结果,具体内容请点击左侧链接。
|
76
76
|
*/
|
77
|
-
BusinessCardInfos
|
77
|
+
BusinessCardInfos: Array<BusinessCardInfo>;
|
78
78
|
/**
|
79
79
|
* 返回图像预处理后的图片,图像预处理未开启时返回内容为空。
|
80
80
|
*/
|
81
|
-
RetImageBase64
|
81
|
+
RetImageBase64: string;
|
82
82
|
/**
|
83
83
|
* 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
84
84
|
*/
|
85
|
-
Angle
|
85
|
+
Angle: number;
|
86
86
|
/**
|
87
87
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
88
88
|
*/
|
@@ -293,51 +293,51 @@ export interface EstateCertOCRResponse {
|
|
293
293
|
/**
|
294
294
|
* 权利人
|
295
295
|
*/
|
296
|
-
Obligee
|
296
|
+
Obligee: string;
|
297
297
|
/**
|
298
298
|
* 共有情况
|
299
299
|
*/
|
300
|
-
Ownership
|
300
|
+
Ownership: string;
|
301
301
|
/**
|
302
302
|
* 坐落
|
303
303
|
*/
|
304
|
-
Location
|
304
|
+
Location: string;
|
305
305
|
/**
|
306
306
|
* 不动产单元号
|
307
307
|
*/
|
308
|
-
Unit
|
308
|
+
Unit: string;
|
309
309
|
/**
|
310
310
|
* 权利类型
|
311
311
|
*/
|
312
|
-
Type
|
312
|
+
Type: string;
|
313
313
|
/**
|
314
314
|
* 权利性质
|
315
315
|
*/
|
316
|
-
Property
|
316
|
+
Property: string;
|
317
317
|
/**
|
318
318
|
* 用途
|
319
319
|
*/
|
320
|
-
Usage
|
320
|
+
Usage: string;
|
321
321
|
/**
|
322
322
|
* 面积
|
323
323
|
*/
|
324
|
-
Area
|
324
|
+
Area: string;
|
325
325
|
/**
|
326
326
|
* 使用期限
|
327
327
|
*/
|
328
|
-
Term
|
328
|
+
Term: string;
|
329
329
|
/**
|
330
330
|
* 权利其他状况,多行会用换行符\n连接。
|
331
331
|
*/
|
332
|
-
Other
|
332
|
+
Other: string;
|
333
333
|
/**
|
334
334
|
* 图片旋转角度
|
335
335
|
*/
|
336
|
-
Angle
|
336
|
+
Angle: number;
|
337
337
|
/**
|
338
338
|
* 不动产权号
|
339
339
|
*/
|
340
|
-
Number
|
340
|
+
Number: string;
|
341
341
|
/**
|
342
342
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
343
343
|
*/
|
@@ -1858,11 +1858,11 @@ export interface FormulaOCRResponse {
|
|
1858
1858
|
/**
|
1859
1859
|
* 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负
|
1860
1860
|
*/
|
1861
|
-
Angle
|
1861
|
+
Angle?: number;
|
1862
1862
|
/**
|
1863
1863
|
* 检测到的文本信息,具体内容请点击左侧链接。
|
1864
1864
|
*/
|
1865
|
-
FormulaInfos
|
1865
|
+
FormulaInfos?: Array<TextFormula>;
|
1866
1866
|
/**
|
1867
1867
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1868
1868
|
*/
|
@@ -4521,7 +4521,7 @@ export interface FinanBillOCRResponse {
|
|
4521
4521
|
/**
|
4522
4522
|
* 金融票据整单识别结果,具体内容请点击左侧链接。
|
4523
4523
|
*/
|
4524
|
-
FinanBillInfos
|
4524
|
+
FinanBillInfos?: Array<FinanBillInfo>;
|
4525
4525
|
/**
|
4526
4526
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4527
4527
|
*/
|