tencentcloud-sdk-nodejs-ocr 4.1.225 → 4.1.228
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import {
|
|
2
|
+
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, VinOCRResponse, BankCardOCRRequest, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, GetOCRTokenResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnglishOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, VerifyScenePhotoResponse, RecognizeAgentResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, RecognizeTravelCardOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, ExtractDocAgentResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, MLIDCardOCRRequest, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, ExtractDocMultiResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, RecognizeEncryptedIDCardOCRRequest, RecognizeHealthCodeOCRResponse, SubmitExtractDocAgentJobResponse, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, SubmitMarkEssayAgentJobRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, SubmitMarkEssayAgentJobResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, SubmitQuestionMarkAgentJobResponse, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnterpriseLicenseOCRRequest, SmartStructuralOCRResponse, GeneralAccurateOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, SubmitQuestionMarkAgentJobRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, VerifyBizLicenseEnterprise4Response, HandwritingEssayOCRRequest, BankSlipOCRResponse, RecognizeTravelCardOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, VerifyScenePhotoRequest, DescribeQuestionMarkAgentJobRequest, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, VerifyBizLicenseEnterprise4Request, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, TrainTicketOCRRequest, GeneralEfficientOCRResponse, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, GetOCRResultResponse, MainlandPermitOCRResponse, PermitOCRRequest, EnglishOCRResponse, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, SubmitExtractDocAgentJobRequest, ExtractDocAgentRequest, AdvertiseOCRResponse, RecognizeAgentRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, RecognizeStoreNameResponse, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, VatInvoiceVerifyNewResponse, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, RecognizeHealthCodeOCRRequest, BusinessCardOCRRequest, RecognizeValidIDCardOCRResponse, DescribeMarkEssayAgentJobRequest, GeneralFastOCRResponse } from "./ocr_models";
|
|
3
3
|
/**
|
|
4
4
|
* ocr client
|
|
5
5
|
* @class
|
|
@@ -7,17 +7,112 @@ import { BankSlipOCRRequest, HKIDCardOCRRequest, DescribeQuestionMarkAgentJobRes
|
|
|
7
7
|
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
8
|
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* 本接口支持病案首页、费用清单、结算单、医疗发票四种保险理赔单据的文本识别和结构化输出。
|
|
11
|
+
|
|
12
|
+
默认接口请求频率限制:1次/秒。
|
|
13
|
+
*/
|
|
14
|
+
InsuranceBillOCR(req: InsuranceBillOCRRequest, cb?: (error: string, rep: InsuranceBillOCRResponse) => void): Promise<InsuranceBillOCRResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
|
|
17
|
+
|
|
18
|
+
默认接口请求频率限制:10次/秒。
|
|
19
|
+
*/
|
|
20
|
+
ImageEnhancement(req: ImageEnhancementRequest, cb?: (error: string, rep: ImageEnhancementResponse) => void): Promise<ImageEnhancementResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* 试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置。新接入客户请注意UseNewModel选择
|
|
11
23
|
|
|
12
24
|
默认接口请求频率限制:2次/秒。
|
|
13
25
|
*/
|
|
14
|
-
|
|
26
|
+
QuestionSplitOCR(req: QuestionSplitOCRRequest, cb?: (error: string, rep: QuestionSplitOCRResponse) => void): Promise<QuestionSplitOCRResponse>;
|
|
15
27
|
/**
|
|
16
|
-
|
|
28
|
+
* 支持对输入图的内容进行判断、分类以及总结;支持用户对通用文字识别输出结构进行自定义。
|
|
29
|
+
*/
|
|
30
|
+
RecognizeAgent(req: RecognizeAgentRequest, cb?: (error: string, rep: RecognizeAgentResponse) => void): Promise<RecognizeAgentResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* 本接口支持智能化识别各类企业登记证书、许可证书、企业执照、三证合一类证书,结构化输出统一社会信用代码、公司名称、法定代表人、公司地址、注册资金、企业类型、经营范围、成立日期、有效期、开办资金、经费来源、举办单位等关键字段。
|
|
17
33
|
|
|
18
34
|
默认接口请求频率限制:5次/秒。
|
|
19
35
|
*/
|
|
20
|
-
|
|
36
|
+
EnterpriseLicenseOCR(req: EnterpriseLicenseOCRRequest, cb?: (error: string, rep: EnterpriseLicenseOCRResponse) => void): Promise<EnterpriseLicenseOCRResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* 本接口支持中英文名片各字段的自动定位与识别,包含姓名、电话、手机号、邮箱、公司、部门、职位、网址、地址、QQ、微信、MSN等。
|
|
39
|
+
|
|
40
|
+
默认接口请求频率限制:10次/秒。
|
|
41
|
+
*/
|
|
42
|
+
BusinessCardOCR(req: BusinessCardOCRRequest, cb?: (error: string, rep: BusinessCardOCRResponse) => void): Promise<BusinessCardOCRResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* 本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。
|
|
45
|
+
|
|
46
|
+
默认接口请求频率限制:20次/秒。
|
|
47
|
+
*/
|
|
48
|
+
RecognizeOnlineTaxiItineraryOCR(req: RecognizeOnlineTaxiItineraryOCRRequest, cb?: (error: string, rep: RecognizeOnlineTaxiItineraryOCRResponse) => void): Promise<RecognizeOnlineTaxiItineraryOCRResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* 本接口支持中国大陆居民二代身份证正反面所有字段的识别,包括姓名、性别、民族、出生日期、住址、公民身份证号、签发机关、有效期限,识别准确度达到99%以上。
|
|
51
|
+
|
|
52
|
+
另外,本接口还支持多种扩展能力,满足不同场景的需求。如身份证照片、人像照片的裁剪功能,同时具备7种告警功能,如下表所示。
|
|
53
|
+
|
|
54
|
+
重要提醒:本产品告警功能依托AI检测技术,不可作为审核的唯一依据,应用前请做好效果测试。
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
<table style="width:650px">
|
|
58
|
+
<thead>
|
|
59
|
+
<tr>
|
|
60
|
+
<th width="150">扩展能力</th>
|
|
61
|
+
<th width="500">能力项</th>
|
|
62
|
+
</tr>
|
|
63
|
+
</thead>
|
|
64
|
+
<tbody>
|
|
65
|
+
<tr>
|
|
66
|
+
<td rowspan="2">裁剪功能</td>
|
|
67
|
+
<td>身份证照片裁剪(去掉证件外多余的边缘、自动矫正拍摄角度)</td>
|
|
68
|
+
</tr>
|
|
69
|
+
<tr>
|
|
70
|
+
<td>人像照片裁剪(自动抠取身份证头像区域)</td>
|
|
71
|
+
</tr>
|
|
72
|
+
<tr>
|
|
73
|
+
<td rowspan="9">告警功能</td>
|
|
74
|
+
</tr>
|
|
75
|
+
<tr>
|
|
76
|
+
<td>身份证有效日期不合法告警</td>
|
|
77
|
+
</tr>
|
|
78
|
+
<tr>
|
|
79
|
+
<td>身份证边框不完整告警</td>
|
|
80
|
+
</tr>
|
|
81
|
+
<tr>
|
|
82
|
+
<td>身份证复印件告警</td>
|
|
83
|
+
</tr>
|
|
84
|
+
<tr>
|
|
85
|
+
<td>身份证翻拍告警</td>
|
|
86
|
+
</tr>
|
|
87
|
+
<tr>
|
|
88
|
+
<td>身份证框内遮挡告警</td>
|
|
89
|
+
</tr>
|
|
90
|
+
<tr>
|
|
91
|
+
<td>临时身份证告警</td>
|
|
92
|
+
</tr>
|
|
93
|
+
<tr>
|
|
94
|
+
<td>身份证疑似存在PS痕迹告警</td>
|
|
95
|
+
</tr>
|
|
96
|
+
<tr>
|
|
97
|
+
<td>图片模糊告警(可根据图片质量分数判断)</td>
|
|
98
|
+
</tr>
|
|
99
|
+
</tbody>
|
|
100
|
+
</table>
|
|
101
|
+
|
|
102
|
+
默认接口请求频率限制:20次/秒。
|
|
103
|
+
*/
|
|
104
|
+
IDCardOCR(req: IDCardOCRRequest, cb?: (error: string, rep: IDCardOCRResponse) => void): Promise<IDCardOCRResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* 本接口支持马来西亚身份证识别,识别字段包括身份证号、姓名、性别、地址;具备身份证人像照片的裁剪功能和翻拍、复印件告警功能。
|
|
107
|
+
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
|
108
|
+
*/
|
|
109
|
+
MLIDCardOCR(req: MLIDCardOCRRequest, cb?: (error: string, rep: MLIDCardOCRResponse) => void): Promise<MLIDCardOCRResponse>;
|
|
110
|
+
/**
|
|
111
|
+
* 本接口支持增值税发票的准确性核验,您可以通过输入增值税发票的关键字段提供所需的验证信息,接口返回真实的票面相关信息,包括发票代码、发票号码、开票日期、金额、消费类型、购方名称、购方税号、销方名称、销方税号等多个常用字段。支持多种发票类型核验,包括增值税专用发票、增值税普通发票(含电子普通发票、卷式发票、通行费发票)、全电发票、机动车销售统一发票、货物运输业增值税专用发票、二手车销售统一发票、通用机打电子发票(广东和浙江)。
|
|
112
|
+
|
|
113
|
+
默认接口请求频率限制:20次/秒。
|
|
114
|
+
*/
|
|
115
|
+
VatInvoiceVerifyNew(req: VatInvoiceVerifyNewRequest, cb?: (error: string, rep: VatInvoiceVerifyNewResponse) => void): Promise<VatInvoiceVerifyNewResponse>;
|
|
21
116
|
/**
|
|
22
117
|
* 本接口支持条形码和二维码的识别(包括 DataMatrix 和 PDF417)。
|
|
23
118
|
|
|
@@ -87,6 +182,12 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
87
182
|
默认接口请求频率限制:5次/秒。
|
|
88
183
|
*/
|
|
89
184
|
RecognizeContainerOCR(req: RecognizeContainerOCRRequest, cb?: (error: string, rep: RecognizeContainerOCRResponse) => void): Promise<RecognizeContainerOCRResponse>;
|
|
185
|
+
/**
|
|
186
|
+
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。
|
|
187
|
+
|
|
188
|
+
默认接口请求频率限制:2次/秒。
|
|
189
|
+
*/
|
|
190
|
+
RecognizeTableAccurateOCR(req: RecognizeTableAccurateOCRRequest, cb?: (error: string, rep: RecognizeTableAccurateOCRResponse) => void): Promise<RecognizeTableAccurateOCRResponse>;
|
|
90
191
|
/**
|
|
91
192
|
* 身份证识别(安全加密版)接口实现了数据加密传输,能够有效防止个人身份证隐私信息不被窃取泄露。
|
|
92
193
|
|
|
@@ -145,6 +246,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
145
246
|
默认接口请求频率限制:20次/秒。
|
|
146
247
|
*/
|
|
147
248
|
RecognizeEncryptedIDCardOCR(req: RecognizeEncryptedIDCardOCRRequest, cb?: (error: string, rep: RecognizeEncryptedIDCardOCRResponse) => void): Promise<RecognizeEncryptedIDCardOCRResponse>;
|
|
249
|
+
/**
|
|
250
|
+
* 本接口支持多张、多类型票据的混合检测和自动分类,返回对应票据类型。目前已支持增值税发票、增值税发票(卷票)、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票、酒店账单、客运限额发票、购物小票、完税证明共15种票据。
|
|
251
|
+
默认接口请求频率限制:5次/秒。
|
|
252
|
+
*/
|
|
253
|
+
MixedInvoiceDetect(req: MixedInvoiceDetectRequest, cb?: (error: string, rep: MixedInvoiceDetectResponse) => void): Promise<MixedInvoiceDetectResponse>;
|
|
254
|
+
/**
|
|
255
|
+
* 本接口支持图片内车辆识别代号(VIN)的检测和识别。
|
|
256
|
+
默认接口请求频率限制:10次/秒。
|
|
257
|
+
*/
|
|
258
|
+
VinOCR(req: VinOCRRequest, cb?: (error: string, rep: VinOCRResponse) => void): Promise<VinOCRResponse>;
|
|
148
259
|
/**
|
|
149
260
|
* 本接口用于识别门头照文字识别结果以及对应分类标签信息
|
|
150
261
|
默认接口请求频率限制:1次/秒
|
|
@@ -164,100 +275,113 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
164
275
|
*/
|
|
165
276
|
SubmitMarkEssayAgentJob(req: SubmitMarkEssayAgentJobRequest, cb?: (error: string, rep: SubmitMarkEssayAgentJobResponse) => void): Promise<SubmitMarkEssayAgentJobResponse>;
|
|
166
277
|
/**
|
|
167
|
-
*
|
|
278
|
+
* 用于试题批改Agent查询任务。主要面向K12的试题批改产品,支持整卷/单题端到端(试卷切题+题目批改+手写坐标回显)处理,主要聚焦的场景包括试题批改(含手写答案)、试题解析(不含手写答案),其中低年级算式批改效果比线上[数学作业批改](https://cloud.tencent.com/document/product/1004)效果更好。精准输出题目、正误判定、答案对比、错误及知识点等结构化评估结果。
|
|
168
279
|
|
|
169
|
-
|
|
280
|
+
默认接口请求并发限制:10张/分钟。
|
|
170
281
|
*/
|
|
171
|
-
|
|
282
|
+
DescribeQuestionMarkAgentJob(req: DescribeQuestionMarkAgentJobRequest, cb?: (error: string, rep: DescribeQuestionMarkAgentJobResponse) => void): Promise<DescribeQuestionMarkAgentJobResponse>;
|
|
172
283
|
/**
|
|
173
|
-
*
|
|
284
|
+
* 产品规划
|
|
174
285
|
|
|
175
|
-
|
|
286
|
+
本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
|
|
176
287
|
|
|
177
|
-
默认接口请求频率限制:
|
|
288
|
+
默认接口请求频率限制:20次/秒。
|
|
178
289
|
*/
|
|
179
|
-
|
|
290
|
+
RecognizeTravelCardOCR(req: RecognizeTravelCardOCRRequest, cb?: (error: string, rep: RecognizeTravelCardOCRResponse) => void): Promise<RecognizeTravelCardOCRResponse>;
|
|
180
291
|
/**
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
292
|
+
* 本接口支持图片中整体文字的检测和识别,返回文字框位置与文字内容。相比通用印刷体识别接口,识别速度更快。
|
|
293
|
+
|
|
294
|
+
默认接口请求频率限制:10次/秒。
|
|
295
|
+
*/
|
|
296
|
+
GeneralFastOCR(req: GeneralFastOCRRequest, cb?: (error: string, rep: GeneralFastOCRResponse) => void): Promise<GeneralFastOCRResponse>;
|
|
184
297
|
/**
|
|
185
|
-
*
|
|
186
|
-
|
|
298
|
+
* 本接口支持二代身份证、临时身份证、港澳台居住证、外国人永久居留证,字段内容识别功能,包括姓名、性别、民族、出生、出生日期、住址、公民身份号码、签发机关、有效期限、国籍、通行证号码、持证人持有号码;支持返回证件类型;支持翻拍、复印、边框不完整、遮挡、字段级反光和字段级完整性告警;支持卡片主体框裁剪和头像裁剪。
|
|
299
|
+
|
|
300
|
+
重要提醒:本产品告警功能依托AI检测技术,不可作为审核的唯一依据,应用前请做好效果测试。
|
|
187
301
|
|
|
188
302
|
默认接口请求频率限制:5次/秒。
|
|
189
303
|
*/
|
|
190
|
-
|
|
304
|
+
RecognizeValidIDCardOCR(req: RecognizeValidIDCardOCRRequest, cb?: (error: string, rep: RecognizeValidIDCardOCRResponse) => void): Promise<RecognizeValidIDCardOCRResponse>;
|
|
191
305
|
/**
|
|
192
|
-
*
|
|
306
|
+
* 本接口支持快速精准识别营业执照上的字段,包括统一社会信用代码、公司名称、主体类型、法定代表人、注册资本、组成形式、成立日期、营业期限和经营范围等字段。
|
|
193
307
|
|
|
194
|
-
默认接口请求频率限制:
|
|
308
|
+
默认接口请求频率限制:10次/秒。
|
|
195
309
|
*/
|
|
196
|
-
|
|
310
|
+
BizLicenseOCR(req: BizLicenseOCRRequest, cb?: (error: string, rep: BizLicenseOCRResponse) => void): Promise<BizLicenseOCRResponse>;
|
|
197
311
|
/**
|
|
198
|
-
*
|
|
312
|
+
* <b>此接口为通用手写体识别的旧版本服务,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/34937">通用印刷体识别(高精度)识别服务</a>。</b>
|
|
313
|
+
|
|
314
|
+
本接口支持图片内手写体文字的检测和识别,针对手写字体无规则、字迹潦草、模糊等特点进行了识别能力的增强。
|
|
199
315
|
|
|
200
316
|
默认接口请求频率限制:10次/秒。
|
|
201
317
|
*/
|
|
202
|
-
|
|
318
|
+
GeneralHandwritingOCR(req: GeneralHandwritingOCRRequest, cb?: (error: string, rep: GeneralHandwritingOCRResponse) => void): Promise<GeneralHandwritingOCRResponse>;
|
|
203
319
|
/**
|
|
204
|
-
*
|
|
320
|
+
* 题目识别是教育的基础OCR识别能力。可支持扫描、拍照场景的单题题目识别。接口支持印刷体文本、手写体文本及公式的OCR识别和坐标返回,此外,接口还可对题目中的配图位置进行检测并返回坐标位置。适用于智能批改等场景的题目内容识别作为检索输入。
|
|
205
321
|
|
|
206
322
|
默认接口请求频率限制:2次/秒。
|
|
207
323
|
*/
|
|
208
|
-
|
|
324
|
+
QuestionOCR(req: QuestionOCRRequest, cb?: (error: string, rep: QuestionOCRResponse) => void): Promise<QuestionOCRResponse>;
|
|
209
325
|
/**
|
|
210
|
-
*
|
|
211
|
-
|
|
326
|
+
* 本接口支持识别并提取制式卡证、票据、表单等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。点击[立即体验](https://ocrdemo.cloud.tencent.com/?action=ExtractDocBasic)。
|
|
327
|
+
|
|
328
|
+
接口别名:SmartStructuralOCRV2
|
|
212
329
|
|
|
213
330
|
默认接口请求频率限制:5次/秒。
|
|
214
331
|
*/
|
|
215
|
-
|
|
332
|
+
ExtractDocBasic(req: ExtractDocBasicRequest, cb?: (error: string, rep: ExtractDocBasicResponse) => void): Promise<ExtractDocBasicResponse>;
|
|
216
333
|
/**
|
|
217
|
-
*
|
|
334
|
+
* 本接口支持出租车发票关键字段的识别,包括发票号码、发票代码、金额、日期、上下车时间、里程、车牌号、发票类型及所属地区等字段。
|
|
218
335
|
|
|
219
|
-
默认接口请求频率限制:
|
|
336
|
+
默认接口请求频率限制:5次/秒。
|
|
220
337
|
*/
|
|
221
|
-
|
|
338
|
+
TaxiInvoiceOCR(req: TaxiInvoiceOCRRequest, cb?: (error: string, rep: TaxiInvoiceOCRResponse) => void): Promise<TaxiInvoiceOCRResponse>;
|
|
222
339
|
/**
|
|
223
|
-
*
|
|
340
|
+
* 本接口支持火车票全字段的识别,包括编号、出发站、到达站、出发时间、车次、座位号、姓名、票价、席别、身份证号、发票消费类型、序列号、加收票价、手续费、大写金额、售票站、原票价、发票类型、收据号码、是否仅供报销使用等字段的识别。
|
|
224
341
|
|
|
225
342
|
默认接口请求频率限制:5次/秒。
|
|
226
343
|
*/
|
|
227
|
-
|
|
344
|
+
TrainTicketOCR(req: TrainTicketOCRRequest, cb?: (error: string, rep: TrainTicketOCRResponse) => void): Promise<TrainTicketOCRResponse>;
|
|
228
345
|
/**
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
ClassifyStoreName(req: ClassifyStoreNameRequest, cb?: (error: string, rep: ClassifyStoreNameResponse) => void): Promise<ClassifyStoreNameResponse>;
|
|
346
|
+
* 获取ocr结果
|
|
347
|
+
*/
|
|
348
|
+
GetOCRResult(req: GetOCRResultRequest, cb?: (error: string, rep: GetOCRResultResponse) => void): Promise<GetOCRResultResponse>;
|
|
233
349
|
/**
|
|
234
|
-
*
|
|
350
|
+
* 本接口支持中国香港身份证人像面中关键字段的识别,包括中文姓名、英文姓名、姓名电码、出生日期、性别、证件符号、首次签发日期、最近领用日期、身份证号、是否是永久性居民身份证;具备人像照片裁剪等扩展功能。
|
|
235
351
|
|
|
236
352
|
默认接口请求频率限制:5次/秒。
|
|
237
353
|
*/
|
|
238
|
-
|
|
354
|
+
HKIDCardOCR(req: HKIDCardOCRRequest, cb?: (error: string, rep: HKIDCardOCRResponse) => void): Promise<HKIDCardOCRResponse>;
|
|
239
355
|
/**
|
|
240
|
-
*
|
|
356
|
+
* 提供针对特定场景(如商户门头照、车牌等)图片的PS篡改、AIGC合成、图片质量检测能力,可应用于业务流程中对特定场景图片真实性、有效性校验的场景。
|
|
241
357
|
*/
|
|
242
|
-
|
|
358
|
+
VerifyScenePhoto(req: VerifyScenePhotoRequest, cb?: (error: string, rep: VerifyScenePhotoResponse) => void): Promise<VerifyScenePhotoResponse>;
|
|
243
359
|
/**
|
|
244
|
-
*
|
|
360
|
+
* 本接口支持增值税专用发票、增值税普通发票、增值税电子专票、增值税电子普票、电子发票(普通发票)、电子发票(增值税专用发票)全字段的内容检测和识别,包括发票代码、发票号码、打印发票代码、打印发票号码、开票日期、合计金额、校验码、税率、合计税额、价税合计、购买方识别号、复核、销售方识别号、开票人、密码区1、密码区2、密码区3、密码区4、发票名称、购买方名称、销售方名称、服务名称、备注、规格型号、数量、单价、金额、税额、收款人等字段,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
|
245
361
|
|
|
246
|
-
|
|
362
|
+
默认接口请求频率限制:10次/秒。
|
|
247
363
|
*/
|
|
248
|
-
|
|
364
|
+
VatInvoiceOCR(req: VatInvoiceOCRRequest, cb?: (error: string, rep: VatInvoiceOCRResponse) => void): Promise<VatInvoiceOCRResponse>;
|
|
249
365
|
/**
|
|
250
|
-
*
|
|
366
|
+
* 模型参数更小,速度更快。推荐场景:实时性要求高(30s以内)并且样本输入输出token2000以内,建议用实时模型。【备注:1.固定价格不限抽取字段数,2.自适应价格抽取字段大于10记两次费用,小于等于10记一次费用】
|
|
251
367
|
|
|
252
368
|
默认接口请求频率限制:5次/秒。
|
|
253
369
|
*/
|
|
254
|
-
|
|
370
|
+
ExtractDocAgent(req: ExtractDocAgentRequest, cb?: (error: string, rep: ExtractDocAgentResponse) => void): Promise<ExtractDocAgentResponse>;
|
|
255
371
|
/**
|
|
256
|
-
*
|
|
372
|
+
* 支持通用证照的有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能,支持通用证照的ps伪造检测,可以应用于各种证件信息有效性校验场景。
|
|
257
373
|
|
|
258
|
-
|
|
374
|
+
重要提醒:本产品依托AI检测技术,不可作为审核的唯一依据,应用前请做好效果测试。
|
|
375
|
+
|
|
376
|
+
默认接口请求频率限制:5次/秒。
|
|
259
377
|
*/
|
|
260
|
-
|
|
378
|
+
RecognizeGeneralCardWarn(req: RecognizeGeneralCardWarnRequest, cb?: (error: string, rep: RecognizeGeneralCardWarnResponse) => void): Promise<RecognizeGeneralCardWarnResponse>;
|
|
379
|
+
/**
|
|
380
|
+
* 本接口支持市面上主流版式电子运单的识别,包括收件人和寄件人的姓名、电话、地址以及运单号等字段。
|
|
381
|
+
|
|
382
|
+
默认接口请求频率限制:10次/秒。
|
|
383
|
+
*/
|
|
384
|
+
WaybillOCR(req: WaybillOCRRequest, cb?: (error: string, rep: WaybillOCRResponse) => void): Promise<WaybillOCRResponse>;
|
|
261
385
|
/**
|
|
262
386
|
* <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
263
387
|
本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
|
|
@@ -266,232 +390,47 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
266
390
|
*/
|
|
267
391
|
FlightInvoiceOCR(req: FlightInvoiceOCRRequest, cb?: (error: string, rep: FlightInvoiceOCRResponse) => void): Promise<FlightInvoiceOCRResponse>;
|
|
268
392
|
/**
|
|
269
|
-
*
|
|
393
|
+
* 本接口支持对卡式港澳台通行证的识别,包括签发地点、签发机关、有效期限、性别、出生日期、英文姓名、姓名、证件号等字段。
|
|
394
|
+
|
|
395
|
+
默认接口请求频率限制:10次/秒。
|
|
396
|
+
*/
|
|
397
|
+
PermitOCR(req: PermitOCRRequest, cb?: (error: string, rep: PermitOCRResponse) => void): Promise<PermitOCRResponse>;
|
|
398
|
+
/**
|
|
399
|
+
* 本接口支持中英文图片/ PDF内常规表格、无线表格、多表格的检测和识别,支持日文有线表格识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。
|
|
400
|
+
|
|
401
|
+
默认接口请求频率限制:10次/秒。
|
|
402
|
+
*/
|
|
403
|
+
RecognizeTableOCR(req: RecognizeTableOCRRequest, cb?: (error: string, rep: RecognizeTableOCRResponse) => void): Promise<RecognizeTableOCRResponse>;
|
|
404
|
+
/**
|
|
405
|
+
* 本接口专为教育场景设计,可高精度识别中英文手写字符,智能分栏并按阅读顺序分割内容,自动过滤手写与印刷体混排干扰,精准返回词、行、段落及标题的文本与坐标信息。点击[立即体验](https://ocrdemo.cloud.tencent.com/)。
|
|
270
406
|
|
|
271
407
|
默认接口请求频率限制:5次/秒。
|
|
408
|
+
*/
|
|
409
|
+
HandwritingEssayOCR(req: HandwritingEssayOCRRequest, cb?: (error: string, rep: HandwritingEssayOCRResponse) => void): Promise<HandwritingEssayOCRResponse>;
|
|
410
|
+
/**
|
|
411
|
+
* 本接口通过检测图片中的文字信息特征,快速判断图片中有无文字并返回判断结果,帮助用户过滤无文字的图片。
|
|
272
412
|
|
|
413
|
+
默认接口请求频率限制:5次/秒。
|
|
414
|
+
*/
|
|
415
|
+
TextDetect(req: TextDetectRequest, cb?: (error: string, rep: TextDetectResponse) => void): Promise<TextDetectResponse>;
|
|
416
|
+
/**
|
|
417
|
+
* 本接口支持识别并提取各类证照、票据、表单、合同等结构化场景的字段信息。无需任何配置,灵活高效。适用于各类结构化信息录入场景。
|
|
273
418
|
|
|
274
|
-
|
|
275
|
-
<table style="width:715px">
|
|
276
|
-
<thead>
|
|
277
|
-
<tr>
|
|
278
|
-
<th style="width:200px">SubType 子票种英文</th>
|
|
279
|
-
<th style="width:200px">TypeDescription子票种中文</th>
|
|
280
|
-
<th >Type 所属大类票种</th>
|
|
281
|
-
</tr>
|
|
282
|
-
</thead>
|
|
283
|
-
<tbody>
|
|
284
|
-
<tr>
|
|
285
|
-
<td> VatSpecialInvoice</td>
|
|
286
|
-
<td> 增值税专用发票 </td>
|
|
287
|
-
<td> 3 </td>
|
|
288
|
-
</tr>
|
|
289
|
-
<tr>
|
|
290
|
-
<td> VatCommonInvoice</td>
|
|
291
|
-
<td> 增值税普通发票 </td>
|
|
292
|
-
<td> 3 </td>
|
|
293
|
-
</tr>
|
|
294
|
-
<tr>
|
|
295
|
-
<td> VatElectronicCommonInvoice </td>
|
|
296
|
-
<td> 增值税电子普通发票 </td>
|
|
297
|
-
<td> 3 </td>
|
|
298
|
-
</tr>
|
|
299
|
-
<tr>
|
|
300
|
-
<td> VatElectronicSpecialInvoice </td>
|
|
301
|
-
<td> 增值税电子专用发票 </td>
|
|
302
|
-
<td> 3 </td>
|
|
303
|
-
</tr>
|
|
304
|
-
<tr>
|
|
305
|
-
<td> VatElectronicInvoiceBlockchain</td>
|
|
306
|
-
<td> 区块链电子发票 </td>
|
|
307
|
-
<td> 3 </td>
|
|
308
|
-
</tr>
|
|
309
|
-
<tr>
|
|
310
|
-
<td> VatElectronicInvoiceToll</td>
|
|
311
|
-
<td> 增值税电子普通发票(通行费)</td>
|
|
312
|
-
<td> 3 </td>
|
|
313
|
-
</tr>
|
|
314
|
-
<tr>
|
|
315
|
-
<td> VatSalesList</td>
|
|
316
|
-
<td> 增值税销货清单</td>
|
|
317
|
-
<td> 3 </td>
|
|
318
|
-
</tr>
|
|
319
|
-
<tr>
|
|
320
|
-
<td> VatElectronicSpecialInvoiceFull</td>
|
|
321
|
-
<td> 电子发票(专用发票)</td>
|
|
322
|
-
<td> 16 </td>
|
|
323
|
-
</tr>
|
|
324
|
-
<tr>
|
|
325
|
-
<td> VatElectronicInvoiceFull</td>
|
|
326
|
-
<td> 电子发票(普通发票) </td>
|
|
327
|
-
<td> 16 </td>
|
|
328
|
-
</tr>
|
|
329
|
-
<tr>
|
|
330
|
-
<td> ElectronicFlightTicketFull</td>
|
|
331
|
-
<td> 电子发票(机票行程单)</td>
|
|
332
|
-
<td> 16 </td>
|
|
333
|
-
</tr>
|
|
334
|
-
<tr>
|
|
335
|
-
<td> ElectronicTrainTicketFull</td>
|
|
336
|
-
<td> 电子发票(铁路电子客票)</td>
|
|
337
|
-
<td> 16 </td>
|
|
338
|
-
</tr>
|
|
339
|
-
<tr>
|
|
340
|
-
<td> MotorVehicleSaleInvoice </td>
|
|
341
|
-
<td> 机动车销售统一发票 </td>
|
|
342
|
-
<td> 12 </td>
|
|
343
|
-
</tr>
|
|
344
|
-
<tr>
|
|
345
|
-
<td> UsedCarPurchaseInvoice </td>
|
|
346
|
-
<td> 二手车销售统一发票 </td>
|
|
347
|
-
<td> 12 </td>
|
|
348
|
-
</tr>
|
|
349
|
-
<tr>
|
|
350
|
-
<td> MotorVehicleSaleInvoiceElectronic </td>
|
|
351
|
-
<td> 机动车销售统一发票(电子)</td>
|
|
352
|
-
<td> 12 </td>
|
|
353
|
-
</tr>
|
|
354
|
-
<tr>
|
|
355
|
-
<td> UsedCarPurchaseInvoiceElectronic </td>
|
|
356
|
-
<td> 二手车销售统一发票(电子)</td>
|
|
357
|
-
<td> 12 </td>
|
|
358
|
-
</tr>
|
|
359
|
-
<tr>
|
|
360
|
-
<td> VatInvoiceRoll </td>
|
|
361
|
-
<td> 增值税普通发票(卷票) </td>
|
|
362
|
-
<td> 11 </td>
|
|
363
|
-
</tr>
|
|
364
|
-
<tr>
|
|
365
|
-
<td> TaxiTicket </td>
|
|
366
|
-
<td> 出租车发票 </td>
|
|
367
|
-
<td> 0 </td>
|
|
368
|
-
</tr>
|
|
369
|
-
<tr>
|
|
370
|
-
<td> QuotaInvoice </td>
|
|
371
|
-
<td> 定额发票 </td>
|
|
372
|
-
<td> 1 </td>
|
|
373
|
-
</tr>
|
|
374
|
-
<tr>
|
|
375
|
-
<td> TrainTicket </td>
|
|
376
|
-
<td> 火车票 </td>
|
|
377
|
-
<td> 2 </td>
|
|
378
|
-
</tr>
|
|
379
|
-
<tr>
|
|
380
|
-
<td> AirTransport </td>
|
|
381
|
-
<td> 机票行程单 </td>
|
|
382
|
-
<td> 5 </td>
|
|
383
|
-
</tr>
|
|
384
|
-
<tr>
|
|
385
|
-
<td> MachinePrintedInvoice </td>
|
|
386
|
-
<td> 通用机打发票 </td>
|
|
387
|
-
<td> 8 </td>
|
|
388
|
-
</tr>
|
|
389
|
-
<tr>
|
|
390
|
-
<td> BusInvoice </td>
|
|
391
|
-
<td> 汽车票 </td>
|
|
392
|
-
<td> 9 </td>
|
|
393
|
-
</tr>
|
|
394
|
-
<tr>
|
|
395
|
-
<td> ShippingInvoice </td>
|
|
396
|
-
<td> 轮船票 </td>
|
|
397
|
-
<td> 10 </td>
|
|
398
|
-
</tr>
|
|
399
|
-
<tr>
|
|
400
|
-
<td> NonTaxIncomeGeneralBill </td>
|
|
401
|
-
<td> 非税收入通用票据 </td>
|
|
402
|
-
<td> 15 </td>
|
|
403
|
-
</tr>
|
|
404
|
-
<tr>
|
|
405
|
-
<td> NonTaxIncomeElectronicBill </td>
|
|
406
|
-
<td> 非税收入一般缴款书(电子) </td>
|
|
407
|
-
<td> 15 </td>
|
|
408
|
-
</tr>
|
|
409
|
-
<tr>
|
|
410
|
-
<td> TollInvoice </td>
|
|
411
|
-
<td> 过路过桥费发票 </td>
|
|
412
|
-
<td> 13 </td>
|
|
413
|
-
</tr>
|
|
414
|
-
<tr>
|
|
415
|
-
<td> MedicalOutpatientInvoice </td>
|
|
416
|
-
<td> 医疗门诊收费票据(电子) </td>
|
|
417
|
-
<td> 17 </td>
|
|
418
|
-
</tr>
|
|
419
|
-
<tr>
|
|
420
|
-
<td> MedicalHospitalizedInvoice </td>
|
|
421
|
-
<td> 医疗住院收费票据(电子) </td>
|
|
422
|
-
<td> 17 </td>
|
|
423
|
-
</tr>
|
|
424
|
-
<tr>
|
|
425
|
-
<td> TaxPayment </td>
|
|
426
|
-
<td> 完税凭证 </td>
|
|
427
|
-
<td> 18 </td>
|
|
428
|
-
</tr>
|
|
429
|
-
<tr>
|
|
430
|
-
<td> CustomsPaymentReceipt </td>
|
|
431
|
-
<td> 海关缴款 </td>
|
|
432
|
-
<td> 19 </td>
|
|
433
|
-
</tr>
|
|
434
|
-
<tr>
|
|
435
|
-
<td> BankSlip </td>
|
|
436
|
-
<td> 银行回单 </td>
|
|
437
|
-
<td> 20 </td>
|
|
438
|
-
</tr>
|
|
439
|
-
<tr>
|
|
440
|
-
<td> OnlineTaxiItinerary </td>
|
|
441
|
-
<td> 网约车行程单 </td>
|
|
442
|
-
<td> 21 </td>
|
|
443
|
-
</tr>
|
|
444
|
-
<tr>
|
|
445
|
-
<td> CustomsDeclaration </td>
|
|
446
|
-
<td> 海关进/出口货物报关单 </td>
|
|
447
|
-
<td> 22 </td>
|
|
448
|
-
</tr>
|
|
449
|
-
<tr>
|
|
450
|
-
<td> OverseasInvoice </td>
|
|
451
|
-
<td> 海外发票 </td>
|
|
452
|
-
<td> 23 </td>
|
|
453
|
-
</tr>
|
|
454
|
-
<tr>
|
|
455
|
-
<td> ShoppingReceipt </td>
|
|
456
|
-
<td> 购物小票 </td>
|
|
457
|
-
<td> 24 </td>
|
|
458
|
-
</tr>
|
|
459
|
-
<tr>
|
|
460
|
-
<td> SaleInventory </td>
|
|
461
|
-
<td> 销货清单 </td>
|
|
462
|
-
<td> 25 </td>
|
|
463
|
-
</tr>
|
|
464
|
-
<tr>
|
|
465
|
-
<td> ElectronicTollSummary </td>
|
|
466
|
-
<td> 通行费电子票据汇总单 </td>
|
|
467
|
-
<td> 26 </td>
|
|
468
|
-
</tr>
|
|
469
|
-
<tr>
|
|
470
|
-
<td> OtherInvoice </td>
|
|
471
|
-
<td> 其他发票 </td>
|
|
472
|
-
<td> -1 </td>
|
|
473
|
-
</tr>
|
|
474
|
-
</tbody>
|
|
475
|
-
</table>
|
|
419
|
+
默认接口请求频率限制:5次/秒。
|
|
476
420
|
*/
|
|
477
|
-
|
|
421
|
+
SmartStructuralOCR(req: SmartStructuralOCRRequest, cb?: (error: string, rep: SmartStructuralOCRResponse) => void): Promise<SmartStructuralOCRResponse>;
|
|
478
422
|
/**
|
|
479
|
-
*
|
|
423
|
+
* 本接口当前仅支持复杂磅单收发货单抽取,更多强推理场景支持定制咨询。点击[立即体验](https://ocrdemo.cloud.tencent.com/?action=ExtractDocMultiPro)。
|
|
480
424
|
|
|
481
|
-
默认接口请求频率限制:
|
|
425
|
+
默认接口请求频率限制:5次/秒。
|
|
482
426
|
*/
|
|
483
|
-
|
|
427
|
+
ExtractDocMultiPro(req: ExtractDocMultiProRequest, cb?: (error: string, rep: ExtractDocMultiProResponse) => void): Promise<ExtractDocMultiProResponse>;
|
|
484
428
|
/**
|
|
485
|
-
*
|
|
429
|
+
* 用于试题批改Agent提交任务。主要面向K12的试题批改产品,支持整卷/单题端到端(试卷切题+题目批改+手写坐标回显)处理,主要聚焦的场景包括试题批改(含手写答案)、试题解析(不含手写答案),其中低年级算式批改效果比线上[数学作业批改](https://cloud.tencent.com/document/product/1004)效果更好。精准输出题目、正误判定、答案对比、错误及知识点等结构化评估结果。
|
|
486
430
|
|
|
487
|
-
|
|
488
|
-
*/
|
|
489
|
-
VatInvoiceVerifyNew(req: VatInvoiceVerifyNewRequest, cb?: (error: string, rep: VatInvoiceVerifyNewResponse) => void): Promise<VatInvoiceVerifyNewResponse>;
|
|
490
|
-
/**
|
|
491
|
-
* 本接口支持图片内车辆识别代号(VIN)的检测和识别。
|
|
492
|
-
默认接口请求频率限制:10次/秒。
|
|
431
|
+
默认接口请求并发限制:10张/分钟。
|
|
493
432
|
*/
|
|
494
|
-
|
|
433
|
+
SubmitQuestionMarkAgentJob(req: SubmitQuestionMarkAgentJobRequest, cb?: (error: string, rep: SubmitQuestionMarkAgentJobResponse) => void): Promise<SubmitQuestionMarkAgentJobResponse>;
|
|
495
434
|
/**
|
|
496
435
|
* 本接口支持行驶证主页和副页所有字段的自动定位与识别。
|
|
497
436
|
|
|
@@ -505,44 +444,107 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
505
444
|
*/
|
|
506
445
|
VehicleLicenseOCR(req: VehicleLicenseOCRRequest, cb?: (error: string, rep: VehicleLicenseOCRResponse) => void): Promise<VehicleLicenseOCRResponse>;
|
|
507
446
|
/**
|
|
508
|
-
*
|
|
447
|
+
* <b>此接口为表格识别的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/49525">新版表格识别</a>。</b>
|
|
448
|
+
|
|
449
|
+
本接口支持图片内表格文档的检测和识别,返回每个单元格的文字内容,支持将识别结果保存为 Excel 格式。
|
|
509
450
|
|
|
510
451
|
默认接口请求频率限制:10次/秒。
|
|
511
452
|
*/
|
|
512
|
-
|
|
453
|
+
TableOCR(req: TableOCRRequest, cb?: (error: string, rep: TableOCRResponse) => void): Promise<TableOCRResponse>;
|
|
513
454
|
/**
|
|
514
|
-
*
|
|
455
|
+
* 本接口支持网约车驾驶证关键字段的识别,包括姓名、证号、起始日期、截止日期、发证日期。
|
|
515
456
|
|
|
516
|
-
|
|
457
|
+
默认接口请求频率限制:5次/秒。
|
|
458
|
+
*/
|
|
459
|
+
RideHailingDriverLicenseOCR(req: RideHailingDriverLicenseOCRRequest, cb?: (error: string, rep: RideHailingDriverLicenseOCRResponse) => void): Promise<RideHailingDriverLicenseOCRResponse>;
|
|
460
|
+
/**
|
|
461
|
+
* 港澳台居住证OCR支持港澳台居住证正反面全字段内容检测识别功能,包括姓名、性别、出生日期、地址、身份证号、签发机关、有效期限、签发次数、通行证号码关键字段识别。可以应用于港澳台居住证信息识别场景,例如银行开户、用户注册等。
|
|
462
|
+
|
|
463
|
+
默认接口请求频率限制:20次/秒。
|
|
464
|
+
*/
|
|
465
|
+
HmtResidentPermitOCR(req: HmtResidentPermitOCRRequest, cb?: (error: string, rep: HmtResidentPermitOCRResponse) => void): Promise<HmtResidentPermitOCRResponse>;
|
|
466
|
+
/**
|
|
467
|
+
* 用于作文批改Agent查询任务。基于业界领先的千亿参数多模态大模型技术,提供中英文手写作文的精准批改端到端服务。核心功能涵盖错别字智能识别、好词好句点评、错句纠错,并能够在原文中定位至具体段落与字符位置,同时提供详细的修改建议与优化内容。此能力是作业批改场景中的核心模块。
|
|
468
|
+
|
|
469
|
+
默认接口请求并发限制:2次/分钟。
|
|
470
|
+
*/
|
|
471
|
+
DescribeMarkEssayAgentJob(req: DescribeMarkEssayAgentJobRequest, cb?: (error: string, rep: DescribeMarkEssayAgentJobResponse) => void): Promise<DescribeMarkEssayAgentJobResponse>;
|
|
472
|
+
/**
|
|
473
|
+
* 本接口支持作业算式题目的自动识别和判分,目前覆盖 K12 学力范围内的 11 种题型,包括加减乘除四则、加减乘除已知结果求运算因子、判断大小、约等于估算、带余数除法、分数四则运算、单位换算、竖式加减法、竖式乘除法、脱式计算和解方程,平均识别精度达到93%以上。
|
|
474
|
+
|
|
475
|
+
默认接口请求频率限制:10次/秒。
|
|
476
|
+
*/
|
|
477
|
+
ArithmeticOCR(req: ArithmeticOCRRequest, cb?: (error: string, rep: ArithmeticOCRResponse) => void): Promise<ArithmeticOCRResponse>;
|
|
478
|
+
/**
|
|
479
|
+
* 本接口支持对中国大陆机动车车牌的自动定位和识别,返回地域编号和车牌号码与车牌颜色信息。
|
|
480
|
+
|
|
481
|
+
默认接口请求频率限制:10次/秒。
|
|
482
|
+
*/
|
|
483
|
+
LicensePlateOCR(req: LicensePlateOCRRequest, cb?: (error: string, rep: LicensePlateOCRResponse) => void): Promise<LicensePlateOCRResponse>;
|
|
484
|
+
/**
|
|
485
|
+
* 本接口支持不动产权证关键字段的识别,包括使用期限、面积、用途、权利性质、权利类型、坐落、共有情况、权利人、权利其他状况等。
|
|
517
486
|
|
|
518
487
|
默认接口请求频率限制:5次/秒。
|
|
519
488
|
*/
|
|
520
|
-
|
|
489
|
+
EstateCertOCR(req: EstateCertOCRRequest, cb?: (error: string, rep: EstateCertOCRResponse) => void): Promise<EstateCertOCRResponse>;
|
|
521
490
|
/**
|
|
522
|
-
*
|
|
523
|
-
本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
|
|
491
|
+
* 支持身份证、护照、名片、银行卡、行驶证、驾驶证、港澳台通行证、户口本、港澳台来往内地通行证、港澳台居住证、不动产证、营业执照的智能分类。
|
|
524
492
|
|
|
525
|
-
|
|
493
|
+
默认接口请求频率限制:20次/秒。
|
|
494
|
+
*/
|
|
495
|
+
ClassifyDetectOCR(req: ClassifyDetectOCRRequest, cb?: (error: string, rep: ClassifyDetectOCRResponse) => void): Promise<ClassifyDetectOCRResponse>;
|
|
496
|
+
/**
|
|
497
|
+
* 本接口支持识别并提取场景复杂、版式多等结构化场景的字段信息。重点场景包括:金融、医疗、交通、出行、保险。点击[立即体验](https://ocrdemo.cloud.tencent.com/?action=ExtractDocMulti)。
|
|
526
498
|
|
|
527
|
-
|
|
499
|
+
接口别名:SmartStructuralPro
|
|
500
|
+
|
|
501
|
+
默认接口请求频率限制:5次/秒。
|
|
502
|
+
*/
|
|
503
|
+
ExtractDocMulti(req: ExtractDocMultiRequest, cb?: (error: string, rep: ExtractDocMultiResponse) => void): Promise<ExtractDocMultiResponse>;
|
|
504
|
+
/**
|
|
505
|
+
* 本接口支持各类印章主体内容、印章其他内容及形状识别,支持单图多印章识别,包括发票章、财务章等,适用于公文票据等场景。
|
|
506
|
+
|
|
507
|
+
默认接口请求频率限制:5次/秒。
|
|
508
|
+
*/
|
|
509
|
+
SealOCR(req: SealOCRRequest, cb?: (error: string, rep: SealOCRResponse) => void): Promise<SealOCRResponse>;
|
|
510
|
+
/**
|
|
511
|
+
* 本接口用于识别门头照分类标签信息
|
|
512
|
+
默认接口请求频率限制:1次/秒
|
|
513
|
+
*/
|
|
514
|
+
ClassifyStoreName(req: ClassifyStoreNameRequest, cb?: (error: string, rep: ClassifyStoreNameResponse) => void): Promise<ClassifyStoreNameResponse>;
|
|
515
|
+
/**
|
|
516
|
+
* 本接口支持银行回单全字段的识别,包括付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。
|
|
517
|
+
|
|
518
|
+
默认接口请求频率限制:10次/秒。
|
|
519
|
+
*/
|
|
520
|
+
BankSlipOCR(req: BankSlipOCRRequest, cb?: (error: string, rep: BankSlipOCRResponse) => void): Promise<BankSlipOCRResponse>;
|
|
521
|
+
/**
|
|
522
|
+
* 本接口支持图像整体文字的检测和识别。支持中文、英文、中英文、数字和特殊字符号的识别,并返回文字框位置和文字内容。
|
|
523
|
+
|
|
524
|
+
适用于快速文本识别场景。
|
|
525
|
+
|
|
526
|
+
产品优势:与通用印刷体识别接口相比,精简版虽然在准确率和召回率上有一定损失,但价格更加优惠。
|
|
528
527
|
|
|
529
528
|
通用印刷体识别不同版本的差异如下:
|
|
530
529
|
<table style="width:715px">
|
|
531
530
|
<thead>
|
|
532
531
|
<tr>
|
|
533
532
|
<th style="width:150px"></th>
|
|
534
|
-
<th
|
|
535
|
-
<th ><a href="https://cloud.tencent.com/document/product/866/
|
|
533
|
+
<th >通用印刷体识别(精简版)</th>
|
|
534
|
+
<th style="width:200px"><a href="https://cloud.tencent.com/document/product/866/33526">【荐】通用印刷体识别</a></th>
|
|
535
|
+
<th><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
|
536
536
|
</tr>
|
|
537
537
|
</thead>
|
|
538
538
|
<tbody>
|
|
539
539
|
<tr>
|
|
540
540
|
<td> 适用场景</td>
|
|
541
|
+
<td>适用于快速文本识别场景,准召率有一定损失,价格更优惠</td>
|
|
541
542
|
<td>适用于所有通用场景的印刷体识别</td>
|
|
542
543
|
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
|
543
544
|
</tr>
|
|
544
545
|
<tr>
|
|
545
546
|
<td>识别准确率</td>
|
|
547
|
+
<td>91%</td>
|
|
546
548
|
<td>96%</td>
|
|
547
549
|
<td>99%</td>
|
|
548
550
|
</tr>
|
|
@@ -550,73 +552,78 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
550
552
|
<td>价格</td>
|
|
551
553
|
<td>低</td>
|
|
552
554
|
<td>中</td>
|
|
555
|
+
<td>高</td>
|
|
553
556
|
</tr>
|
|
554
557
|
<tr>
|
|
555
558
|
<td>支持的语言</td>
|
|
559
|
+
<td>中文、英文、中英文</td>
|
|
556
560
|
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
557
|
-
<td
|
|
561
|
+
<td>中文、英文、中英文</td>
|
|
558
562
|
</tr>
|
|
559
563
|
<tr>
|
|
560
564
|
<td>自动语言检测</td>
|
|
561
565
|
<td>支持</td>
|
|
562
|
-
<td
|
|
566
|
+
<td>支持</td>
|
|
567
|
+
<td>支持</td>
|
|
563
568
|
</tr>
|
|
564
569
|
<tr>
|
|
565
570
|
<td>返回文本行坐标</td>
|
|
566
571
|
<td>支持</td>
|
|
567
572
|
<td>支持</td>
|
|
573
|
+
<td>支持</td>
|
|
568
574
|
</tr>
|
|
569
575
|
<tr>
|
|
570
576
|
<td>自动旋转纠正</td>
|
|
571
577
|
<td>支持旋转识别,返回角度信息</td>
|
|
572
578
|
<td>支持旋转识别,返回角度信息</td>
|
|
579
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
573
580
|
</tr>
|
|
574
581
|
</tbody>
|
|
575
582
|
</table>
|
|
576
583
|
|
|
577
|
-
默认接口请求频率限制:
|
|
584
|
+
默认接口请求频率限制:10次/秒。
|
|
578
585
|
*/
|
|
579
|
-
|
|
586
|
+
GeneralEfficientOCR(req: GeneralEfficientOCRRequest, cb?: (error: string, rep: GeneralEfficientOCRResponse) => void): Promise<GeneralEfficientOCRResponse>;
|
|
580
587
|
/**
|
|
581
|
-
*
|
|
582
|
-
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
|
588
|
+
* 支持广告商品图片内文字的检测和识别,返回文本框位置与文字内容。支持中英文、横排、竖排以及倾斜场景文字识别,支持90度、180度、270度翻转以及倾斜场景文字识别,具有较高召回率和准确率。
|
|
583
589
|
|
|
584
|
-
默认接口请求频率限制:
|
|
590
|
+
默认接口请求频率限制:20次/秒。
|
|
585
591
|
*/
|
|
586
|
-
|
|
592
|
+
AdvertiseOCR(req: AdvertiseOCRRequest, cb?: (error: string, rep: AdvertiseOCRResponse) => void): Promise<AdvertiseOCRResponse>;
|
|
587
593
|
/**
|
|
588
|
-
|
|
589
|
-
|
|
594
|
+
* 模型参数更大,速度更慢。推荐场景:可以接受异步(超过30s返回),样本输入输出token大于2000,长文本类文档建议用异步模型。需要 SubmitExtractDocAgentJob(提交任务)、DescribeExtractDocAgentJob(查询任务)两个接口配套使用,计费发生在提交任务后。【备注:1.固定价格不限抽取字段数,2.自适应价格抽取字段大于10记两次费用,小于等于10记一次费用】
|
|
595
|
+
*/
|
|
596
|
+
DescribeExtractDocAgentJob(req: DescribeExtractDocAgentJobRequest, cb?: (error: string, rep: DescribeExtractDocAgentJobResponse) => void): Promise<DescribeExtractDocAgentJobResponse>;
|
|
597
|
+
/**
|
|
598
|
+
* 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
|
|
590
599
|
|
|
591
600
|
默认接口请求频率限制:5次/秒。
|
|
592
601
|
*/
|
|
593
|
-
|
|
602
|
+
VehicleRegCertOCR(req: VehicleRegCertOCRRequest, cb?: (error: string, rep: VehicleRegCertOCRResponse) => void): Promise<VehicleRegCertOCRResponse>;
|
|
594
603
|
/**
|
|
595
|
-
*
|
|
604
|
+
* 试卷切题(仅检测)可将整页练习册、试卷或教辅中的题目进行自动切题,返回试题边框的坐标位置。新客户请注意UseNewMode的选择。
|
|
596
605
|
|
|
597
|
-
默认接口请求频率限制:
|
|
606
|
+
默认接口请求频率限制:2次/秒。
|
|
598
607
|
*/
|
|
599
|
-
|
|
608
|
+
QuestionSplitLayoutOCR(req: QuestionSplitLayoutOCRRequest, cb?: (error: string, rep: QuestionSplitLayoutOCRResponse) => void): Promise<QuestionSplitLayoutOCRResponse>;
|
|
600
609
|
/**
|
|
601
|
-
*
|
|
602
|
-
|
|
603
|
-
本接口支持图片内表格文档的检测和识别,返回每个单元格的文字内容,支持将识别结果保存为 Excel 格式。
|
|
610
|
+
* 医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
|
|
604
611
|
|
|
605
|
-
默认接口请求频率限制:
|
|
612
|
+
默认接口请求频率限制:5次/秒。
|
|
606
613
|
*/
|
|
607
|
-
|
|
614
|
+
RecognizeMedicalInvoiceOCR(req: RecognizeMedicalInvoiceOCRRequest, cb?: (error: string, rep: RecognizeMedicalInvoiceOCRResponse) => void): Promise<RecognizeMedicalInvoiceOCRResponse>;
|
|
608
615
|
/**
|
|
609
|
-
*
|
|
616
|
+
* 本接口支持图像英文文字的检测和识别,返回文字框位置与文字内容。支持多场景、任意版面下的英文、字母、数字和常见字符的识别,同时覆盖英文印刷体和英文手写体识别。
|
|
610
617
|
|
|
611
618
|
默认接口请求频率限制:10次/秒。
|
|
612
619
|
*/
|
|
613
|
-
|
|
620
|
+
EnglishOCR(req: EnglishOCRRequest, cb?: (error: string, rep: EnglishOCRResponse) => void): Promise<EnglishOCRResponse>;
|
|
614
621
|
/**
|
|
615
|
-
*
|
|
622
|
+
* 本接口支持居民户口簿户主页及成员页关键字段的识别,包括姓名、户别、地址、籍贯、身份证号码等。
|
|
616
623
|
|
|
617
624
|
默认接口请求频率限制:5次/秒。
|
|
618
625
|
*/
|
|
619
|
-
|
|
626
|
+
ResidenceBookletOCR(req: ResidenceBookletOCRRequest, cb?: (error: string, rep: ResidenceBookletOCRResponse) => void): Promise<ResidenceBookletOCRResponse>;
|
|
620
627
|
/**
|
|
621
628
|
* 本接口支持对中国大陆主流银行卡正反面关键字段的检测与识别,包括卡号、卡类型、卡名字、银行信息、有效期。支持竖排异形卡识别、多角度旋转图片识别。支持对复印件、翻拍件、边框遮挡的银行卡进行告警,可应用于各种银行卡信息有效性校验场景,如金融行业身份认证、第三方支付绑卡等场景。
|
|
622
629
|
|
|
@@ -624,440 +631,370 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
624
631
|
*/
|
|
625
632
|
BankCardOCR(req: BankCardOCRRequest, cb?: (error: string, rep: BankCardOCRResponse) => void): Promise<BankCardOCRResponse>;
|
|
626
633
|
/**
|
|
627
|
-
|
|
628
|
-
*/
|
|
629
|
-
GetOCRToken(req: GetOCRTokenRequest, cb?: (error: string, rep: GetOCRTokenResponse) => void): Promise<GetOCRTokenResponse>;
|
|
630
|
-
/**
|
|
631
|
-
* 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
|
|
634
|
+
* 本接口支持机动车销售统一发票和二手车销售统一发票的识别,包括发票号码、发票代码、合计金额、合计税额等二十多个字段。
|
|
632
635
|
|
|
633
636
|
默认接口请求频率限制:5次/秒。
|
|
634
637
|
*/
|
|
635
|
-
|
|
638
|
+
CarInvoiceOCR(req: CarInvoiceOCRRequest, cb?: (error: string, rep: CarInvoiceOCRResponse) => void): Promise<CarInvoiceOCRResponse>;
|
|
636
639
|
/**
|
|
637
|
-
|
|
640
|
+
* 本接口支持驾驶证主页和副页所有字段的自动定位与识别,重点字段的识别准确度达到99%以上。
|
|
641
|
+
|
|
642
|
+
驾驶证主页:包括证号、姓名、性别、国籍、住址、出生日期、初次领证日期、准驾车型、有效期限、发证单位
|
|
643
|
+
|
|
644
|
+
驾驶证副页:包括证号、姓名、档案编号、记录。
|
|
645
|
+
|
|
646
|
+
另外,本接口还支持复印件、翻拍告警功能。同时支持识别交管12123 APP发放的电子驾驶证正页。
|
|
647
|
+
|
|
648
|
+
电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。
|
|
649
|
+
|
|
650
|
+
默认接口请求频率限制:10次/秒。
|
|
651
|
+
*/
|
|
652
|
+
DriverLicenseOCR(req: DriverLicenseOCRRequest, cb?: (error: string, rep: DriverLicenseOCRResponse) => void): Promise<DriverLicenseOCRResponse>;
|
|
653
|
+
/**
|
|
654
|
+
* 智能识别并结构化港澳台通行证及来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
|
|
655
|
+
|
|
656
|
+
默认接口请求频率限制:20次/秒。
|
|
657
|
+
*/
|
|
658
|
+
MainlandPermitOCR(req: MainlandPermitOCRRequest, cb?: (error: string, rep: MainlandPermitOCRResponse) => void): Promise<MainlandPermitOCRResponse>;
|
|
659
|
+
/**
|
|
660
|
+
* 模型参数更大,速度更慢。推荐场景:可以接受异步(超过30s返回),样本输入输出token大于2000,长文本类文档建议用异步模型。需要 SubmitExtractDocAgentJob(提交任务)、DescribeExtractDocAgentJob(查询任务)两个接口配套使用,计费发生在提交任务后。【备注:1.固定价格不限抽取字段数,2.自适应价格抽取字段大于10记两次费用,小于等于10记一次费用】
|
|
638
661
|
*/
|
|
639
|
-
|
|
662
|
+
SubmitExtractDocAgentJob(req: SubmitExtractDocAgentJobRequest, cb?: (error: string, rep: SubmitExtractDocAgentJobResponse) => void): Promise<SubmitExtractDocAgentJobResponse>;
|
|
640
663
|
/**
|
|
641
|
-
*
|
|
664
|
+
* 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
|
642
665
|
|
|
643
666
|
默认接口请求频率限制:5次/秒。
|
|
644
667
|
*/
|
|
645
|
-
|
|
668
|
+
FormulaOCR(req: FormulaOCRRequest, cb?: (error: string, rep: FormulaOCRResponse) => void): Promise<FormulaOCRResponse>;
|
|
646
669
|
/**
|
|
647
|
-
*
|
|
670
|
+
* <b>此接口为护照识别(中国大陆地区护照)的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/37657">护照识别(多国多地区护照)</a>。</b>
|
|
671
|
+
|
|
672
|
+
本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
|
|
648
673
|
|
|
649
674
|
默认接口请求频率限制:10次/秒。
|
|
650
675
|
*/
|
|
651
|
-
|
|
676
|
+
PassportOCR(req: PassportOCRRequest, cb?: (error: string, rep: PassportOCRResponse) => void): Promise<PassportOCRResponse>;
|
|
652
677
|
/**
|
|
653
|
-
*
|
|
654
|
-
|
|
655
|
-
另外,本接口还支持多种扩展能力,满足不同场景的需求。如身份证照片、人像照片的裁剪功能,同时具备7种告警功能,如下表所示。
|
|
678
|
+
* **建议您使用识别效果更好的[通用文字识别(高精度版](https://cloud.tencent.com/document/product/866/34937 ))**
|
|
679
|
+
本接口支持图像整体文字的检测和识别。可以识别中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语,阿拉伯语20种语言,且各种语言均支持与英文混合的文字识别。
|
|
656
680
|
|
|
657
|
-
|
|
681
|
+
适用于印刷文档识别、网络图片识别、广告图文字识别、街景店招牌识别、菜单识别、视频标题识别、头像文字识别等场景。
|
|
658
682
|
|
|
683
|
+
产品优势:支持自动识别语言类型,可返回文本框坐标信息,对于倾斜文本支持自动旋转纠正。
|
|
659
684
|
|
|
660
|
-
|
|
685
|
+
通用印刷体识别不同版本的差异如下:
|
|
686
|
+
<table style="width:715px">
|
|
661
687
|
<thead>
|
|
662
688
|
<tr>
|
|
663
|
-
|
|
664
|
-
<th
|
|
689
|
+
<th style="width:150px"></th>
|
|
690
|
+
<th style="width:250px">【荐】通用印刷体识别</th>
|
|
691
|
+
<th ><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
|
665
692
|
</tr>
|
|
666
693
|
</thead>
|
|
667
694
|
<tbody>
|
|
668
695
|
<tr>
|
|
669
|
-
<td
|
|
670
|
-
<td
|
|
696
|
+
<td> 适用场景</td>
|
|
697
|
+
<td>适用于所有通用场景的印刷体识别</td>
|
|
698
|
+
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
|
671
699
|
</tr>
|
|
672
700
|
<tr>
|
|
673
|
-
<td
|
|
701
|
+
<td>识别准确率</td>
|
|
702
|
+
<td>96%</td>
|
|
703
|
+
<td>99%</td>
|
|
674
704
|
</tr>
|
|
675
705
|
<tr>
|
|
676
|
-
<td
|
|
706
|
+
<td>价格</td>
|
|
707
|
+
<td>低</td>
|
|
708
|
+
<td>中</td>
|
|
677
709
|
</tr>
|
|
678
710
|
<tr>
|
|
679
|
-
|
|
711
|
+
<td>支持的语言</td>
|
|
712
|
+
<td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
713
|
+
<td>中文、英文、中英文、泰语、印尼语、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语</td>
|
|
680
714
|
</tr>
|
|
681
715
|
<tr>
|
|
682
|
-
|
|
716
|
+
<td>自动语言检测</td>
|
|
717
|
+
<td>支持</td>
|
|
718
|
+
<td>中英文支持;其他语种需要调整输入参数</td>
|
|
683
719
|
</tr>
|
|
684
720
|
<tr>
|
|
685
|
-
<td
|
|
721
|
+
<td>返回文本行坐标</td>
|
|
722
|
+
<td>支持</td>
|
|
723
|
+
<td>支持</td>
|
|
686
724
|
</tr>
|
|
687
725
|
<tr>
|
|
688
|
-
<td
|
|
689
|
-
|
|
690
|
-
<
|
|
691
|
-
<td>身份证框内遮挡告警</td>
|
|
692
|
-
</tr>
|
|
693
|
-
<tr>
|
|
694
|
-
<td>临时身份证告警</td>
|
|
695
|
-
</tr>
|
|
696
|
-
<tr>
|
|
697
|
-
<td>身份证疑似存在PS痕迹告警</td>
|
|
698
|
-
</tr>
|
|
699
|
-
<tr>
|
|
700
|
-
<td>图片模糊告警(可根据图片质量分数判断)</td>
|
|
726
|
+
<td>自动旋转纠正</td>
|
|
727
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
728
|
+
<td>支持旋转识别,返回角度信息</td>
|
|
701
729
|
</tr>
|
|
702
730
|
</tbody>
|
|
703
731
|
</table>
|
|
704
732
|
|
|
705
733
|
默认接口请求频率限制:20次/秒。
|
|
706
734
|
*/
|
|
707
|
-
|
|
735
|
+
GeneralBasicOCR(req: GeneralBasicOCRRequest, cb?: (error: string, rep: GeneralBasicOCRResponse) => void): Promise<GeneralBasicOCRResponse>;
|
|
708
736
|
/**
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
*/
|
|
713
|
-
RecognizeTableAccurateOCR(req: RecognizeTableAccurateOCRRequest, cb?: (error: string, rep: RecognizeTableAccurateOCRResponse) => void): Promise<RecognizeTableAccurateOCRResponse>;
|
|
737
|
+
* 获取ocr的token值
|
|
738
|
+
*/
|
|
739
|
+
GetOCRToken(req: GetOCRTokenRequest, cb?: (error: string, rep: GetOCRTokenResponse) => void): Promise<GetOCRTokenResponse>;
|
|
714
740
|
/**
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
MixedInvoiceDetect(req: MixedInvoiceDetectRequest, cb?: (error: string, rep: MixedInvoiceDetectResponse) => void): Promise<MixedInvoiceDetectResponse>;
|
|
741
|
+
* 本接口支持OFD格式的增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
|
742
|
+
*/
|
|
743
|
+
VerifyOfdVatInvoiceOCR(req: VerifyOfdVatInvoiceOCRRequest, cb?: (error: string, rep: VerifyOfdVatInvoiceOCRResponse) => void): Promise<VerifyOfdVatInvoiceOCRResponse>;
|
|
719
744
|
/**
|
|
720
|
-
*
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
745
|
+
* 提供比对校验企业名称、统一社会信用代码、法人姓名、注册登记证件号码一致性的服务,助力快速核验企业资质。
|
|
746
|
+
注意:
|
|
747
|
+
存在个别特殊情况下核验结果不准确,请选用前知悉;
|
|
748
|
+
按周更新企业信息变更情况,如遇到未及时更新的情况,可联系在线客服转产品团队进行人工处理。
|
|
724
749
|
*/
|
|
725
|
-
|
|
750
|
+
VerifyBizLicenseEnterprise4(req: VerifyBizLicenseEnterprise4Request, cb?: (error: string, rep: VerifyBizLicenseEnterprise4Response) => void): Promise<VerifyBizLicenseEnterprise4Response>;
|
|
726
751
|
/**
|
|
727
|
-
*
|
|
752
|
+
* 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
|
|
728
753
|
|
|
729
|
-
|
|
754
|
+
默认接口请求频率限制:5次/秒。
|
|
730
755
|
*/
|
|
731
|
-
|
|
756
|
+
MixedInvoiceOCR(req: MixedInvoiceOCRRequest, cb?: (error: string, rep: MixedInvoiceOCRResponse) => void): Promise<MixedInvoiceOCRResponse>;
|
|
732
757
|
/**
|
|
733
|
-
*
|
|
758
|
+
* 产品规划
|
|
734
759
|
|
|
735
|
-
|
|
760
|
+
本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
|
736
761
|
|
|
737
762
|
默认接口请求频率限制:10次/秒。
|
|
738
763
|
*/
|
|
739
|
-
|
|
764
|
+
RecognizeHealthCodeOCR(req: RecognizeHealthCodeOCRRequest, cb?: (error: string, rep: RecognizeHealthCodeOCRResponse) => void): Promise<RecognizeHealthCodeOCRResponse>;
|
|
740
765
|
/**
|
|
741
|
-
*
|
|
742
|
-
|
|
743
|
-
接口别名:SmartStructuralOCRV2
|
|
766
|
+
* 本接口支持数学试题内容的识别和结构化输出,包括通用文本解析和小学/初中/高中数学公式解析能力(包括91种题型,180种符号),公式返回格式为 Latex 格式文本。
|
|
744
767
|
|
|
745
768
|
默认接口请求频率限制:5次/秒。
|
|
746
769
|
*/
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* 本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。
|
|
750
|
-
|
|
751
|
-
默认接口请求频率限制:20次/秒。
|
|
752
|
-
*/
|
|
753
|
-
RecognizeOnlineTaxiItineraryOCR(req: RecognizeOnlineTaxiItineraryOCRRequest, cb?: (error: string, rep: RecognizeOnlineTaxiItineraryOCRResponse) => void): Promise<RecognizeOnlineTaxiItineraryOCRResponse>;
|
|
754
|
-
/**
|
|
755
|
-
* 本接口支持中英文图片/ PDF内常规表格、无线表格、多表格的检测和识别,支持日文有线表格识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。
|
|
756
|
-
|
|
757
|
-
默认接口请求频率限制:10次/秒。
|
|
758
|
-
*/
|
|
759
|
-
RecognizeTableOCR(req: RecognizeTableOCRRequest, cb?: (error: string, rep: RecognizeTableOCRResponse) => void): Promise<RecognizeTableOCRResponse>;
|
|
770
|
+
EduPaperOCR(req: EduPaperOCRRequest, cb?: (error: string, rep: EduPaperOCRResponse) => void): Promise<EduPaperOCRResponse>;
|
|
760
771
|
/**
|
|
761
|
-
*
|
|
772
|
+
* 本接口支持网约车运输证关键字段的识别,包括交运管许可字号、车辆所有人、车辆号牌、起始日期、截止日期、发证日期。
|
|
762
773
|
|
|
763
774
|
默认接口请求频率限制:5次/秒。
|
|
764
775
|
*/
|
|
765
|
-
|
|
776
|
+
RideHailingTransportLicenseOCR(req: RideHailingTransportLicenseOCRRequest, cb?: (error: string, rep: RideHailingTransportLicenseOCRResponse) => void): Promise<RideHailingTransportLicenseOCRResponse>;
|
|
766
777
|
/**
|
|
767
|
-
*
|
|
778
|
+
* 本接口支持泰国身份证识别,识别字段包括泰文姓名、英文姓名、地址、出生日期、身份证号码、首次领用日期、签发日期等字段。
|
|
779
|
+
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
|
768
780
|
|
|
769
|
-
默认接口请求频率限制:10
|
|
781
|
+
默认接口请求频率限制:10次/秒
|
|
770
782
|
*/
|
|
771
|
-
|
|
783
|
+
RecognizeThaiIDCardOCR(req: RecognizeThaiIDCardOCRRequest, cb?: (error: string, rep: RecognizeThaiIDCardOCRResponse) => void): Promise<RecognizeThaiIDCardOCRResponse>;
|
|
772
784
|
/**
|
|
773
|
-
*
|
|
785
|
+
* 本接口支持 PDF多页(最多30页)、一页中单张、多张、类型票据的混合识别,同时支持单选识别某类票据,已支持票种包括:增值税发票(专票、普票、卷票、区块链发票、通行费发票)、全电发票(专票、普票)、非税发票(通用票据、统一缴纳书)、定额发票、通用机打发票、购车发票(机动车销售发票、二手车发票)、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票等常用标准报销发票,支持OFD格式的 增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(机票行程单)、电子发票(铁路电子客票)的第一页识别,并支持非上述类型的其他发票的智能识别,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
|
774
786
|
|
|
775
787
|
默认接口请求频率限制:5次/秒。
|
|
776
|
-
*/
|
|
777
|
-
HandwritingEssayOCR(req: HandwritingEssayOCRRequest, cb?: (error: string, rep: HandwritingEssayOCRResponse) => void): Promise<HandwritingEssayOCRResponse>;
|
|
778
|
-
/**
|
|
779
|
-
* 港澳台居住证OCR支持港澳台居住证正反面全字段内容检测识别功能,包括姓名、性别、出生日期、地址、身份证号、签发机关、有效期限、签发次数、通行证号码关键字段识别。可以应用于港澳台居住证信息识别场景,例如银行开户、用户注册等。
|
|
780
788
|
|
|
781
|
-
默认接口请求频率限制:20次/秒。
|
|
782
|
-
*/
|
|
783
|
-
HmtResidentPermitOCR(req: HmtResidentPermitOCRRequest, cb?: (error: string, rep: HmtResidentPermitOCRResponse) => void): Promise<HmtResidentPermitOCRResponse>;
|
|
784
|
-
/**
|
|
785
|
-
* 用于作文批改Agent查询任务。基于业界领先的千亿参数多模态大模型技术,提供中英文手写作文的精准批改端到端服务。核心功能涵盖错别字智能识别、好词好句点评、错句纠错,并能够在原文中定位至具体段落与字符位置,同时提供详细的修改建议与优化内容。此能力是作业批改场景中的核心模块。
|
|
786
|
-
|
|
787
|
-
默认接口请求并发限制:2次/分钟。
|
|
788
|
-
*/
|
|
789
|
-
DescribeMarkEssayAgentJob(req: DescribeMarkEssayAgentJobRequest, cb?: (error: string, rep: DescribeMarkEssayAgentJobResponse) => void): Promise<DescribeMarkEssayAgentJobResponse>;
|
|
790
|
-
/**
|
|
791
|
-
* <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
792
|
-
本接口支持过路过桥费发票关键字段的识别,包括发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志等。
|
|
793
|
-
|
|
794
|
-
默认接口请求频率限制:5次/秒。
|
|
795
|
-
*/
|
|
796
|
-
TollInvoiceOCR(req: TollInvoiceOCRRequest, cb?: (error: string, rep: TollInvoiceOCRResponse) => void): Promise<TollInvoiceOCRResponse>;
|
|
797
|
-
/**
|
|
798
|
-
* 支持身份证、护照、名片、银行卡、行驶证、驾驶证、港澳台通行证、户口本、港澳台来往内地通行证、港澳台居住证、不动产证、营业执照的智能分类。
|
|
799
|
-
|
|
800
|
-
默认接口请求频率限制:20次/秒。
|
|
801
|
-
*/
|
|
802
|
-
ClassifyDetectOCR(req: ClassifyDetectOCRRequest, cb?: (error: string, rep: ClassifyDetectOCRResponse) => void): Promise<ClassifyDetectOCRResponse>;
|
|
803
|
-
/**
|
|
804
|
-
* 公式识别是教育的基础OCR识别能力,可支持理科(数学、物理、化学、生物)的印刷体和手写体的公式识别。
|
|
805
|
-
|
|
806
|
-
默认接口请求频率限制:2次/秒。
|
|
807
|
-
*/
|
|
808
|
-
RecognizeFormulaOCR(req: RecognizeFormulaOCRRequest, cb?: (error: string, rep: RecognizeFormulaOCRResponse) => void): Promise<RecognizeFormulaOCRResponse>;
|
|
809
|
-
/**
|
|
810
|
-
* 本接口支持各类印章主体内容、印章其他内容及形状识别,支持单图多印章识别,包括发票章、财务章等,适用于公文票据等场景。
|
|
811
|
-
|
|
812
|
-
默认接口请求频率限制:5次/秒。
|
|
813
|
-
*/
|
|
814
|
-
SealOCR(req: SealOCRRequest, cb?: (error: string, rep: SealOCRResponse) => void): Promise<SealOCRResponse>;
|
|
815
|
-
/**
|
|
816
|
-
* 本接口支持银行回单全字段的识别,包括付款开户行、收款开户行、付款账号、收款账号、回单类型、回单编号、币种、流水号、凭证号码、交易机构、交易金额、手续费、日期等字段信息。
|
|
817
|
-
|
|
818
|
-
默认接口请求频率限制:10次/秒。
|
|
819
|
-
*/
|
|
820
|
-
BankSlipOCR(req: BankSlipOCRRequest, cb?: (error: string, rep: BankSlipOCRResponse) => void): Promise<BankSlipOCRResponse>;
|
|
821
|
-
/**
|
|
822
|
-
* 本接口支持国内机动车登记证书主要字段的结构化识别,包括机动车所有人、身份证明名称、号码、车辆型号、车辆识别代号、发动机号、制造厂名称等。
|
|
823
|
-
|
|
824
|
-
默认接口请求频率限制:5次/秒。
|
|
825
|
-
*/
|
|
826
|
-
VehicleRegCertOCR(req: VehicleRegCertOCRRequest, cb?: (error: string, rep: VehicleRegCertOCRResponse) => void): Promise<VehicleRegCertOCRResponse>;
|
|
827
|
-
/**
|
|
828
|
-
* 产品规划
|
|
829
|
-
|
|
830
|
-
本接口支持通信大数据行程卡识别,包括行程卡颜色、更新时间、途经地、存在中高风险地区的城市、电话号码,五个字段的识别结果输出。
|
|
831
|
-
|
|
832
|
-
默认接口请求频率限制:20次/秒。
|
|
833
|
-
*/
|
|
834
|
-
RecognizeTravelCardOCR(req: RecognizeTravelCardOCRRequest, cb?: (error: string, rep: RecognizeTravelCardOCRResponse) => void): Promise<RecognizeTravelCardOCRResponse>;
|
|
835
|
-
/**
|
|
836
|
-
* 模型参数更大,速度更慢。推荐场景:可以接受异步(超过30s返回),样本输入输出token大于2000,长文本类文档建议用异步模型。需要 SubmitExtractDocAgentJob(提交任务)、DescribeExtractDocAgentJob(查询任务)两个接口配套使用,计费发生在提交任务后。【备注:1.固定价格不限抽取字段数,2.自适应价格抽取字段大于10记两次费用,小于等于10记一次费用】
|
|
837
|
-
*/
|
|
838
|
-
SubmitExtractDocAgentJob(req: SubmitExtractDocAgentJobRequest, cb?: (error: string, rep: SubmitExtractDocAgentJobResponse) => void): Promise<SubmitExtractDocAgentJobResponse>;
|
|
839
|
-
/**
|
|
840
|
-
* 本接口支持OFD格式的增值税电子普通发票、增值税电子专用发票、电子发票(普通发票)、电子发票(增值税专用发票)、电子发票(铁路电子客票)、电子发票(航空运输电子客票行程单)识别,返回发票代码、发票号码、开票日期、验证码、机器编号、密码区,购买方和销售方信息,包括名称、纳税人识别号、地址电话、开户行及账号,以及价税合计、开票人、收款人、复核人、税额、不含税金额等字段信息。
|
|
841
|
-
*/
|
|
842
|
-
VerifyOfdVatInvoiceOCR(req: VerifyOfdVatInvoiceOCRRequest, cb?: (error: string, rep: VerifyOfdVatInvoiceOCRResponse) => void): Promise<VerifyOfdVatInvoiceOCRResponse>;
|
|
843
|
-
/**
|
|
844
|
-
* 本接口支持驾驶证主页和副页所有字段的自动定位与识别,重点字段的识别准确度达到99%以上。
|
|
845
|
-
|
|
846
|
-
驾驶证主页:包括证号、姓名、性别、国籍、住址、出生日期、初次领证日期、准驾车型、有效期限、发证单位
|
|
847
|
-
|
|
848
|
-
驾驶证副页:包括证号、姓名、档案编号、记录。
|
|
849
|
-
|
|
850
|
-
另外,本接口还支持复印件、翻拍告警功能。同时支持识别交管12123 APP发放的电子驾驶证正页。
|
|
851
|
-
|
|
852
|
-
电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。
|
|
853
|
-
|
|
854
|
-
默认接口请求频率限制:10次/秒。
|
|
855
|
-
*/
|
|
856
|
-
DriverLicenseOCR(req: DriverLicenseOCRRequest, cb?: (error: string, rep: DriverLicenseOCRResponse) => void): Promise<DriverLicenseOCRResponse>;
|
|
857
|
-
/**
|
|
858
|
-
* <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
859
|
-
本接口支持常见银行票据的自动分类和识别。整单识别包括支票(含现金支票、普通支票、转账支票),承兑汇票(含银行承兑汇票、商业承兑汇票)以及进账单等,适用于中国人民银行印发的 2010 版银行票据凭证版式(银发[2010]299 号)。
|
|
860
|
-
|
|
861
|
-
默认接口请求频率限制:5次/秒。
|
|
862
|
-
*/
|
|
863
|
-
FinanBillOCR(req: FinanBillOCRRequest, cb?: (error: string, rep: FinanBillOCRResponse) => void): Promise<FinanBillOCRResponse>;
|
|
864
|
-
/**
|
|
865
|
-
* 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
|
|
866
|
-
|
|
867
|
-
默认接口请求频率限制:5次/秒。
|
|
868
|
-
*/
|
|
869
|
-
MixedInvoiceOCR(req: MixedInvoiceOCRRequest, cb?: (error: string, rep: MixedInvoiceOCRResponse) => void): Promise<MixedInvoiceOCRResponse>;
|
|
870
|
-
/**
|
|
871
|
-
* 产品规划
|
|
872
|
-
|
|
873
|
-
本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。
|
|
874
|
-
|
|
875
|
-
默认接口请求频率限制:10次/秒。
|
|
876
|
-
*/
|
|
877
|
-
RecognizeHealthCodeOCR(req: RecognizeHealthCodeOCRRequest, cb?: (error: string, rep: RecognizeHealthCodeOCRResponse) => void): Promise<RecognizeHealthCodeOCRResponse>;
|
|
878
|
-
/**
|
|
879
|
-
* 文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
|
|
880
|
-
|
|
881
|
-
默认接口请求频率限制:10次/秒。
|
|
882
|
-
*/
|
|
883
|
-
ImageEnhancement(req: ImageEnhancementRequest, cb?: (error: string, rep: ImageEnhancementResponse) => void): Promise<ImageEnhancementResponse>;
|
|
884
|
-
/**
|
|
885
|
-
* 试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置。新接入客户请注意UseNewModel选择
|
|
886
|
-
|
|
887
|
-
默认接口请求频率限制:2次/秒。
|
|
888
|
-
*/
|
|
889
|
-
QuestionSplitOCR(req: QuestionSplitOCRRequest, cb?: (error: string, rep: QuestionSplitOCRResponse) => void): Promise<QuestionSplitOCRResponse>;
|
|
890
|
-
/**
|
|
891
|
-
* 提供比对校验企业名称、统一社会信用代码、法人姓名、注册登记证件号码一致性的服务,助力快速核验企业资质。
|
|
892
|
-
注意:
|
|
893
|
-
存在个别特殊情况下核验结果不准确,请选用前知悉;
|
|
894
|
-
按周更新企业信息变更情况,如遇到未及时更新的情况,可联系在线客服转产品团队进行人工处理。
|
|
895
|
-
*/
|
|
896
|
-
VerifyBizLicenseEnterprise4(req: VerifyBizLicenseEnterprise4Request, cb?: (error: string, rep: VerifyBizLicenseEnterprise4Response) => void): Promise<VerifyBizLicenseEnterprise4Response>;
|
|
897
|
-
/**
|
|
898
|
-
* 本接口支持马来西亚身份证识别,识别字段包括身份证号、姓名、性别、地址;具备身份证人像照片的裁剪功能和翻拍、复印件告警功能。
|
|
899
|
-
本接口暂未完全对外开放,如需咨询,请[联系商务](https://cloud.tencent.com/about/connect)
|
|
900
|
-
*/
|
|
901
|
-
MLIDCardOCR(req: MLIDCardOCRRequest, cb?: (error: string, rep: MLIDCardOCRResponse) => void): Promise<MLIDCardOCRResponse>;
|
|
902
|
-
/**
|
|
903
|
-
* 医疗发票识别目前支持全国统一门诊发票、全国统一住院发票、以及部分地方的门诊和住院发票的识别。
|
|
904
|
-
|
|
905
|
-
默认接口请求频率限制:5次/秒。
|
|
906
|
-
*/
|
|
907
|
-
RecognizeMedicalInvoiceOCR(req: RecognizeMedicalInvoiceOCRRequest, cb?: (error: string, rep: RecognizeMedicalInvoiceOCRResponse) => void): Promise<RecognizeMedicalInvoiceOCRResponse>;
|
|
908
|
-
/**
|
|
909
|
-
* 本接口支持图片中整体文字的检测和识别,返回文字框位置与文字内容。相比通用印刷体识别接口,识别速度更快。
|
|
910
|
-
|
|
911
|
-
默认接口请求频率限制:10次/秒。
|
|
912
|
-
*/
|
|
913
|
-
GeneralFastOCR(req: GeneralFastOCRRequest, cb?: (error: string, rep: GeneralFastOCRResponse) => void): Promise<GeneralFastOCRResponse>;
|
|
914
|
-
/**
|
|
915
|
-
* 本接口支持增值税专用发票、增值税普通发票、增值税电子专票、增值税电子普票、电子发票(普通发票)、电子发票(增值税专用发票)全字段的内容检测和识别,包括发票代码、发票号码、打印发票代码、打印发票号码、开票日期、合计金额、校验码、税率、合计税额、价税合计、购买方识别号、复核、销售方识别号、开票人、密码区1、密码区2、密码区3、密码区4、发票名称、购买方名称、销售方名称、服务名称、备注、规格型号、数量、单价、金额、税额、收款人等字段,点击[立即试用](https://cloud.tencent.com/product/ocr)。
|
|
916
|
-
|
|
917
|
-
默认接口请求频率限制:10次/秒。
|
|
918
|
-
*/
|
|
919
|
-
VatInvoiceOCR(req: VatInvoiceOCRRequest, cb?: (error: string, rep: VatInvoiceOCRResponse) => void): Promise<VatInvoiceOCRResponse>;
|
|
920
|
-
/**
|
|
921
|
-
* <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
922
|
-
本接口支持对完税证明的税号、纳税人识别号、纳税人名称、金额合计大写、金额合计小写、填发日期、税务机关、填票人等关键字段的识别。
|
|
923
|
-
|
|
924
|
-
默认接口请求频率限制:5次/秒。
|
|
925
|
-
*/
|
|
926
|
-
DutyPaidProofOCR(req: DutyPaidProofOCRRequest, cb?: (error: string, rep: DutyPaidProofOCRResponse) => void): Promise<DutyPaidProofOCRResponse>;
|
|
927
|
-
/**
|
|
928
|
-
* <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
929
|
-
本接口支持常见银行票据的自动分类和识别。切片识别包括金融行业常见票据的重要切片字段识别,包括金额、账号、日期、凭证号码等。(金融票据切片:金融票据中待识别字段及其周围局部区域的裁剪图像。)
|
|
930
|
-
|
|
931
|
-
默认接口请求频率限制:5次/秒。
|
|
932
|
-
*/
|
|
933
|
-
FinanBillSliceOCR(req: FinanBillSliceOCRRequest, cb?: (error: string, rep: FinanBillSliceOCRResponse) => void): Promise<FinanBillSliceOCRResponse>;
|
|
934
|
-
/**
|
|
935
|
-
* 本接口支持对中国大陆机动车车牌的自动定位和识别,返回地域编号和车牌号码与车牌颜色信息。
|
|
936
|
-
|
|
937
|
-
默认接口请求频率限制:10次/秒。
|
|
938
|
-
*/
|
|
939
|
-
LicensePlateOCR(req: LicensePlateOCRRequest, cb?: (error: string, rep: LicensePlateOCRResponse) => void): Promise<LicensePlateOCRResponse>;
|
|
940
|
-
/**
|
|
941
|
-
* 本接口支持识别并提取场景复杂、版式多等结构化场景的字段信息。重点场景包括:金融、医疗、交通、出行、保险。点击[立即体验](https://ocrdemo.cloud.tencent.com/?action=ExtractDocMulti)。
|
|
942
|
-
|
|
943
|
-
接口别名:SmartStructuralPro
|
|
944
|
-
|
|
945
|
-
默认接口请求频率限制:5次/秒。
|
|
946
|
-
*/
|
|
947
|
-
ExtractDocMulti(req: ExtractDocMultiRequest, cb?: (error: string, rep: ExtractDocMultiResponse) => void): Promise<ExtractDocMultiResponse>;
|
|
948
|
-
/**
|
|
949
|
-
* 本接口支持图像整体文字的检测和识别。支持中文、英文、中英文、数字和特殊字符号的识别,并返回文字框位置和文字内容。
|
|
950
|
-
|
|
951
|
-
适用于快速文本识别场景。
|
|
952
789
|
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
通用印刷体识别不同版本的差异如下:
|
|
790
|
+
支持返回的细项目子票种SubType、子票种中文TypeDescription、以及对应所属大类票种Type 的说明如下列表:
|
|
956
791
|
<table style="width:715px">
|
|
957
792
|
<thead>
|
|
958
793
|
<tr>
|
|
959
|
-
<th style="width:
|
|
960
|
-
<th
|
|
961
|
-
<th
|
|
962
|
-
<th><a href="https://cloud.tencent.com/document/product/866/34937">【荐】通用印刷体识别(高精度版)</a></th>
|
|
794
|
+
<th style="width:200px">SubType 子票种英文</th>
|
|
795
|
+
<th style="width:200px">TypeDescription子票种中文</th>
|
|
796
|
+
<th >Type 所属大类票种</th>
|
|
963
797
|
</tr>
|
|
964
798
|
</thead>
|
|
965
799
|
<tbody>
|
|
966
800
|
<tr>
|
|
967
|
-
<td>
|
|
968
|
-
<td
|
|
969
|
-
<td
|
|
970
|
-
<td>适用于文字较多、长串数字、小字、模糊字、倾斜文本等困难场景</td>
|
|
801
|
+
<td> VatSpecialInvoice</td>
|
|
802
|
+
<td> 增值税专用发票 </td>
|
|
803
|
+
<td> 3 </td>
|
|
971
804
|
</tr>
|
|
972
805
|
<tr>
|
|
973
|
-
<td
|
|
974
|
-
<td>
|
|
975
|
-
<td>
|
|
976
|
-
<td>99%</td>
|
|
806
|
+
<td> VatCommonInvoice</td>
|
|
807
|
+
<td> 增值税普通发票 </td>
|
|
808
|
+
<td> 3 </td>
|
|
977
809
|
</tr>
|
|
978
810
|
<tr>
|
|
979
|
-
<td
|
|
980
|
-
<td
|
|
981
|
-
<td
|
|
982
|
-
<td>高</td>
|
|
811
|
+
<td> VatElectronicCommonInvoice </td>
|
|
812
|
+
<td> 增值税电子普通发票 </td>
|
|
813
|
+
<td> 3 </td>
|
|
983
814
|
</tr>
|
|
984
815
|
<tr>
|
|
985
|
-
<td
|
|
986
|
-
<td
|
|
987
|
-
<td
|
|
988
|
-
<td>中文、英文、中英文</td>
|
|
816
|
+
<td> VatElectronicSpecialInvoice </td>
|
|
817
|
+
<td> 增值税电子专用发票 </td>
|
|
818
|
+
<td> 3 </td>
|
|
989
819
|
</tr>
|
|
990
820
|
<tr>
|
|
991
|
-
<td
|
|
992
|
-
<td
|
|
993
|
-
<td
|
|
994
|
-
<td>支持</td>
|
|
821
|
+
<td> VatElectronicInvoiceBlockchain</td>
|
|
822
|
+
<td> 区块链电子发票 </td>
|
|
823
|
+
<td> 3 </td>
|
|
995
824
|
</tr>
|
|
996
825
|
<tr>
|
|
997
|
-
<td
|
|
998
|
-
<td
|
|
999
|
-
<td
|
|
1000
|
-
<td>支持</td>
|
|
826
|
+
<td> VatElectronicInvoiceToll</td>
|
|
827
|
+
<td> 增值税电子普通发票(通行费)</td>
|
|
828
|
+
<td> 3 </td>
|
|
1001
829
|
</tr>
|
|
1002
830
|
<tr>
|
|
1003
|
-
<td
|
|
1004
|
-
<td
|
|
1005
|
-
<td
|
|
1006
|
-
|
|
831
|
+
<td> VatSalesList</td>
|
|
832
|
+
<td> 增值税销货清单</td>
|
|
833
|
+
<td> 3 </td>
|
|
834
|
+
</tr>
|
|
835
|
+
<tr>
|
|
836
|
+
<td> VatElectronicSpecialInvoiceFull</td>
|
|
837
|
+
<td> 电子发票(专用发票)</td>
|
|
838
|
+
<td> 16 </td>
|
|
839
|
+
</tr>
|
|
840
|
+
<tr>
|
|
841
|
+
<td> VatElectronicInvoiceFull</td>
|
|
842
|
+
<td> 电子发票(普通发票) </td>
|
|
843
|
+
<td> 16 </td>
|
|
844
|
+
</tr>
|
|
845
|
+
<tr>
|
|
846
|
+
<td> ElectronicFlightTicketFull</td>
|
|
847
|
+
<td> 电子发票(机票行程单)</td>
|
|
848
|
+
<td> 16 </td>
|
|
849
|
+
</tr>
|
|
850
|
+
<tr>
|
|
851
|
+
<td> ElectronicTrainTicketFull</td>
|
|
852
|
+
<td> 电子发票(铁路电子客票)</td>
|
|
853
|
+
<td> 16 </td>
|
|
854
|
+
</tr>
|
|
855
|
+
<tr>
|
|
856
|
+
<td> MotorVehicleSaleInvoice </td>
|
|
857
|
+
<td> 机动车销售统一发票 </td>
|
|
858
|
+
<td> 12 </td>
|
|
859
|
+
</tr>
|
|
860
|
+
<tr>
|
|
861
|
+
<td> UsedCarPurchaseInvoice </td>
|
|
862
|
+
<td> 二手车销售统一发票 </td>
|
|
863
|
+
<td> 12 </td>
|
|
864
|
+
</tr>
|
|
865
|
+
<tr>
|
|
866
|
+
<td> MotorVehicleSaleInvoiceElectronic </td>
|
|
867
|
+
<td> 机动车销售统一发票(电子)</td>
|
|
868
|
+
<td> 12 </td>
|
|
869
|
+
</tr>
|
|
870
|
+
<tr>
|
|
871
|
+
<td> UsedCarPurchaseInvoiceElectronic </td>
|
|
872
|
+
<td> 二手车销售统一发票(电子)</td>
|
|
873
|
+
<td> 12 </td>
|
|
874
|
+
</tr>
|
|
875
|
+
<tr>
|
|
876
|
+
<td> VatInvoiceRoll </td>
|
|
877
|
+
<td> 增值税普通发票(卷票) </td>
|
|
878
|
+
<td> 11 </td>
|
|
879
|
+
</tr>
|
|
880
|
+
<tr>
|
|
881
|
+
<td> TaxiTicket </td>
|
|
882
|
+
<td> 出租车发票 </td>
|
|
883
|
+
<td> 0 </td>
|
|
884
|
+
</tr>
|
|
885
|
+
<tr>
|
|
886
|
+
<td> QuotaInvoice </td>
|
|
887
|
+
<td> 定额发票 </td>
|
|
888
|
+
<td> 1 </td>
|
|
889
|
+
</tr>
|
|
890
|
+
<tr>
|
|
891
|
+
<td> TrainTicket </td>
|
|
892
|
+
<td> 火车票 </td>
|
|
893
|
+
<td> 2 </td>
|
|
894
|
+
</tr>
|
|
895
|
+
<tr>
|
|
896
|
+
<td> AirTransport </td>
|
|
897
|
+
<td> 机票行程单 </td>
|
|
898
|
+
<td> 5 </td>
|
|
899
|
+
</tr>
|
|
900
|
+
<tr>
|
|
901
|
+
<td> MachinePrintedInvoice </td>
|
|
902
|
+
<td> 通用机打发票 </td>
|
|
903
|
+
<td> 8 </td>
|
|
904
|
+
</tr>
|
|
905
|
+
<tr>
|
|
906
|
+
<td> BusInvoice </td>
|
|
907
|
+
<td> 汽车票 </td>
|
|
908
|
+
<td> 9 </td>
|
|
909
|
+
</tr>
|
|
910
|
+
<tr>
|
|
911
|
+
<td> ShippingInvoice </td>
|
|
912
|
+
<td> 轮船票 </td>
|
|
913
|
+
<td> 10 </td>
|
|
914
|
+
</tr>
|
|
915
|
+
<tr>
|
|
916
|
+
<td> NonTaxIncomeGeneralBill </td>
|
|
917
|
+
<td> 非税收入通用票据 </td>
|
|
918
|
+
<td> 15 </td>
|
|
919
|
+
</tr>
|
|
920
|
+
<tr>
|
|
921
|
+
<td> NonTaxIncomeElectronicBill </td>
|
|
922
|
+
<td> 非税收入一般缴款书(电子) </td>
|
|
923
|
+
<td> 15 </td>
|
|
924
|
+
</tr>
|
|
925
|
+
<tr>
|
|
926
|
+
<td> TollInvoice </td>
|
|
927
|
+
<td> 过路过桥费发票 </td>
|
|
928
|
+
<td> 13 </td>
|
|
929
|
+
</tr>
|
|
930
|
+
<tr>
|
|
931
|
+
<td> MedicalOutpatientInvoice </td>
|
|
932
|
+
<td> 医疗门诊收费票据(电子) </td>
|
|
933
|
+
<td> 17 </td>
|
|
934
|
+
</tr>
|
|
935
|
+
<tr>
|
|
936
|
+
<td> MedicalHospitalizedInvoice </td>
|
|
937
|
+
<td> 医疗住院收费票据(电子) </td>
|
|
938
|
+
<td> 17 </td>
|
|
939
|
+
</tr>
|
|
940
|
+
<tr>
|
|
941
|
+
<td> TaxPayment </td>
|
|
942
|
+
<td> 完税凭证 </td>
|
|
943
|
+
<td> 18 </td>
|
|
944
|
+
</tr>
|
|
945
|
+
<tr>
|
|
946
|
+
<td> CustomsPaymentReceipt </td>
|
|
947
|
+
<td> 海关缴款 </td>
|
|
948
|
+
<td> 19 </td>
|
|
949
|
+
</tr>
|
|
950
|
+
<tr>
|
|
951
|
+
<td> BankSlip </td>
|
|
952
|
+
<td> 银行回单 </td>
|
|
953
|
+
<td> 20 </td>
|
|
954
|
+
</tr>
|
|
955
|
+
<tr>
|
|
956
|
+
<td> OnlineTaxiItinerary </td>
|
|
957
|
+
<td> 网约车行程单 </td>
|
|
958
|
+
<td> 21 </td>
|
|
959
|
+
</tr>
|
|
960
|
+
<tr>
|
|
961
|
+
<td> CustomsDeclaration </td>
|
|
962
|
+
<td> 海关进/出口货物报关单 </td>
|
|
963
|
+
<td> 22 </td>
|
|
964
|
+
</tr>
|
|
965
|
+
<tr>
|
|
966
|
+
<td> OverseasInvoice </td>
|
|
967
|
+
<td> 海外发票 </td>
|
|
968
|
+
<td> 23 </td>
|
|
969
|
+
</tr>
|
|
970
|
+
<tr>
|
|
971
|
+
<td> ShoppingReceipt </td>
|
|
972
|
+
<td> 购物小票 </td>
|
|
973
|
+
<td> 24 </td>
|
|
974
|
+
</tr>
|
|
975
|
+
<tr>
|
|
976
|
+
<td> SaleInventory </td>
|
|
977
|
+
<td> 销货清单 </td>
|
|
978
|
+
<td> 25 </td>
|
|
979
|
+
</tr>
|
|
980
|
+
<tr>
|
|
981
|
+
<td> ElectronicTollSummary </td>
|
|
982
|
+
<td> 通行费电子票据汇总单 </td>
|
|
983
|
+
<td> 26 </td>
|
|
984
|
+
</tr>
|
|
985
|
+
<tr>
|
|
986
|
+
<td> OtherInvoice </td>
|
|
987
|
+
<td> 其他发票 </td>
|
|
988
|
+
<td> -1 </td>
|
|
1007
989
|
</tr>
|
|
1008
990
|
</tbody>
|
|
1009
991
|
</table>
|
|
1010
|
-
|
|
1011
|
-
默认接口请求频率限制:10次/秒。
|
|
1012
|
-
*/
|
|
1013
|
-
GeneralEfficientOCR(req: GeneralEfficientOCRRequest, cb?: (error: string, rep: GeneralEfficientOCRResponse) => void): Promise<GeneralEfficientOCRResponse>;
|
|
1014
|
-
/**
|
|
1015
|
-
* 支持广告商品图片内文字的检测和识别,返回文本框位置与文字内容。支持中英文、横排、竖排以及倾斜场景文字识别,支持90度、180度、270度翻转以及倾斜场景文字识别,具有较高召回率和准确率。
|
|
1016
|
-
|
|
1017
|
-
默认接口请求频率限制:20次/秒。
|
|
1018
992
|
*/
|
|
1019
|
-
|
|
1020
|
-
/**
|
|
1021
|
-
* 本接口支持居民户口簿户主页及成员页关键字段的识别,包括姓名、户别、地址、籍贯、身份证号码等。
|
|
1022
|
-
|
|
1023
|
-
默认接口请求频率限制:5次/秒。
|
|
1024
|
-
*/
|
|
1025
|
-
ResidenceBookletOCR(req: ResidenceBookletOCRRequest, cb?: (error: string, rep: ResidenceBookletOCRResponse) => void): Promise<ResidenceBookletOCRResponse>;
|
|
1026
|
-
/**
|
|
1027
|
-
* 本接口支持机动车销售统一发票和二手车销售统一发票的识别,包括发票号码、发票代码、合计金额、合计税额等二十多个字段。
|
|
1028
|
-
|
|
1029
|
-
默认接口请求频率限制:5次/秒。
|
|
1030
|
-
*/
|
|
1031
|
-
CarInvoiceOCR(req: CarInvoiceOCRRequest, cb?: (error: string, rep: CarInvoiceOCRResponse) => void): Promise<CarInvoiceOCRResponse>;
|
|
1032
|
-
/**
|
|
1033
|
-
* 获取ocr结果
|
|
1034
|
-
*/
|
|
1035
|
-
GetOCRResult(req: GetOCRResultRequest, cb?: (error: string, rep: GetOCRResultResponse) => void): Promise<GetOCRResultResponse>;
|
|
1036
|
-
/**
|
|
1037
|
-
* 本接口支持识别主流初高中数学符号和公式,返回公式的 Latex 格式文本。
|
|
1038
|
-
|
|
1039
|
-
默认接口请求频率限制:5次/秒。
|
|
1040
|
-
*/
|
|
1041
|
-
FormulaOCR(req: FormulaOCRRequest, cb?: (error: string, rep: FormulaOCRResponse) => void): Promise<FormulaOCRResponse>;
|
|
1042
|
-
/**
|
|
1043
|
-
* <b>此接口为护照识别(中国大陆地区护照)的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/37657">护照识别(多国多地区护照)</a>。</b>
|
|
1044
|
-
|
|
1045
|
-
本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
|
|
1046
|
-
|
|
1047
|
-
默认接口请求频率限制:10次/秒。
|
|
1048
|
-
*/
|
|
1049
|
-
PassportOCR(req: PassportOCRRequest, cb?: (error: string, rep: PassportOCRResponse) => void): Promise<PassportOCRResponse>;
|
|
1050
|
-
/**
|
|
1051
|
-
* <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
1052
|
-
本接口支持识别轮船票的发票代码、发票号码、日期、姓名、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种字段。
|
|
1053
|
-
|
|
1054
|
-
默认接口请求频率限制:5次/秒。
|
|
1055
|
-
*/
|
|
1056
|
-
ShipInvoiceOCR(req: ShipInvoiceOCRRequest, cb?: (error: string, rep: ShipInvoiceOCRResponse) => void): Promise<ShipInvoiceOCRResponse>;
|
|
993
|
+
RecognizeGeneralInvoice(req: RecognizeGeneralInvoiceRequest, cb?: (error: string, rep: RecognizeGeneralInvoiceResponse) => void): Promise<RecognizeGeneralInvoiceResponse>;
|
|
1057
994
|
/**
|
|
1058
|
-
*
|
|
995
|
+
* 公式识别是教育的基础OCR识别能力,可支持理科(数学、物理、化学、生物)的印刷体和手写体的公式识别。
|
|
1059
996
|
|
|
1060
|
-
默认接口请求频率限制:
|
|
997
|
+
默认接口请求频率限制:2次/秒。
|
|
1061
998
|
*/
|
|
1062
|
-
|
|
999
|
+
RecognizeFormulaOCR(req: RecognizeFormulaOCRRequest, cb?: (error: string, rep: RecognizeFormulaOCRResponse) => void): Promise<RecognizeFormulaOCRResponse>;
|
|
1063
1000
|
}
|