tencentcloud-sdk-nodejs-ocr 4.1.232 → 4.1.242
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.
|
@@ -21,9 +21,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
21
21
|
async BusinessCardOCR(req, cb) {
|
|
22
22
|
return this.request("BusinessCardOCR", req, cb);
|
|
23
23
|
}
|
|
24
|
-
async RecognizeOnlineTaxiItineraryOCR(req, cb) {
|
|
25
|
-
return this.request("RecognizeOnlineTaxiItineraryOCR", req, cb);
|
|
26
|
-
}
|
|
27
24
|
async IDCardOCR(req, cb) {
|
|
28
25
|
return this.request("IDCardOCR", req, cb);
|
|
29
26
|
}
|
|
@@ -87,9 +84,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
87
84
|
async ExtractDocBasic(req, cb) {
|
|
88
85
|
return this.request("ExtractDocBasic", req, cb);
|
|
89
86
|
}
|
|
90
|
-
async TaxiInvoiceOCR(req, cb) {
|
|
91
|
-
return this.request("TaxiInvoiceOCR", req, cb);
|
|
92
|
-
}
|
|
93
87
|
async TrainTicketOCR(req, cb) {
|
|
94
88
|
return this.request("TrainTicketOCR", req, cb);
|
|
95
89
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { TableOCRRequest,
|
|
2
|
+
import { TableOCRRequest, 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, VatInvoiceVerifyNewResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, ExtractDocAgentResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, MLIDCardOCRRequest, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, ExtractDocMultiResponse, RecognizeContainerOCRRequest, TextDetectRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, RecognizeEncryptedIDCardOCRRequest, RecognizeHealthCodeOCRResponse, SubmitExtractDocAgentJobResponse, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, SubmitMarkEssayAgentJobRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, SubmitMarkEssayAgentJobResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, SubmitQuestionMarkAgentJobResponse, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnterpriseLicenseOCRRequest, 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, SmartStructuralOCRResponse, IDCardOCRRequest, MixedInvoiceDetectRequest, RecognizeStoreNameResponse, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, RecognizeHealthCodeOCRRequest, BusinessCardOCRRequest, RecognizeValidIDCardOCRResponse, DescribeMarkEssayAgentJobRequest, GeneralFastOCRResponse } from "./ocr_models";
|
|
3
3
|
/**
|
|
4
4
|
* ocr client
|
|
5
5
|
* @class
|
|
@@ -40,12 +40,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
40
40
|
默认接口请求频率限制:10次/秒。
|
|
41
41
|
*/
|
|
42
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
43
|
/**
|
|
50
44
|
* 本接口支持中国大陆居民二代身份证正反面所有字段的识别,包括姓名、性别、民族、出生日期、住址、公民身份证号、签发机关、有效期限,识别准确度达到99%以上。
|
|
51
45
|
|
|
@@ -330,12 +324,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
330
324
|
默认接口请求频率限制:5次/秒。
|
|
331
325
|
*/
|
|
332
326
|
ExtractDocBasic(req: ExtractDocBasicRequest, cb?: (error: string, rep: ExtractDocBasicResponse) => void): Promise<ExtractDocBasicResponse>;
|
|
333
|
-
/**
|
|
334
|
-
* 本接口支持出租车发票关键字段的识别,包括发票号码、发票代码、金额、日期、上下车时间、里程、车牌号、发票类型及所属地区等字段。
|
|
335
|
-
|
|
336
|
-
默认接口请求频率限制:5次/秒。
|
|
337
|
-
*/
|
|
338
|
-
TaxiInvoiceOCR(req: TaxiInvoiceOCRRequest, cb?: (error: string, rep: TaxiInvoiceOCRResponse) => void): Promise<TaxiInvoiceOCRResponse>;
|
|
339
327
|
/**
|
|
340
328
|
* 本接口支持火车票全字段的识别,包括编号、出发站、到达站、出发时间、车次、座位号、姓名、票价、席别、身份证号、发票消费类型、序列号、加收票价、手续费、大写金额、售票站、原票价、发票类型、收据号码、是否仅供报销使用等字段的识别。
|
|
341
329
|
|
|
@@ -74,14 +74,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
74
74
|
async BusinessCardOCR(req, cb) {
|
|
75
75
|
return this.request("BusinessCardOCR", req, cb);
|
|
76
76
|
}
|
|
77
|
-
/**
|
|
78
|
-
* 本接口支持网约车行程单关键字段的识别,包括行程起止日期、上车时间、起点、终点、里程、金额等字段。
|
|
79
|
-
|
|
80
|
-
默认接口请求频率限制:20次/秒。
|
|
81
|
-
*/
|
|
82
|
-
async RecognizeOnlineTaxiItineraryOCR(req, cb) {
|
|
83
|
-
return this.request("RecognizeOnlineTaxiItineraryOCR", req, cb);
|
|
84
|
-
}
|
|
85
77
|
/**
|
|
86
78
|
* 本接口支持中国大陆居民二代身份证正反面所有字段的识别,包括姓名、性别、民族、出生日期、住址、公民身份证号、签发机关、有效期限,识别准确度达到99%以上。
|
|
87
79
|
|
|
@@ -408,14 +400,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
408
400
|
async ExtractDocBasic(req, cb) {
|
|
409
401
|
return this.request("ExtractDocBasic", req, cb);
|
|
410
402
|
}
|
|
411
|
-
/**
|
|
412
|
-
* 本接口支持出租车发票关键字段的识别,包括发票号码、发票代码、金额、日期、上下车时间、里程、车牌号、发票类型及所属地区等字段。
|
|
413
|
-
|
|
414
|
-
默认接口请求频率限制:5次/秒。
|
|
415
|
-
*/
|
|
416
|
-
async TaxiInvoiceOCR(req, cb) {
|
|
417
|
-
return this.request("TaxiInvoiceOCR", req, cb);
|
|
418
|
-
}
|
|
419
403
|
/**
|
|
420
404
|
* 本接口支持火车票全字段的识别,包括编号、出发站、到达站、出发时间、车次、座位号、姓名、票价、席别、身份证号、发票消费类型、序列号、加收票价、手续费、大写金额、售票站、原票价、发票类型、收据号码、是否仅供报销使用等字段的识别。
|
|
421
405
|
|
|
@@ -94,17 +94,45 @@ export interface FieldsInfo {
|
|
|
94
94
|
SubItems?: Array<SubItemGroup>;
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* 表格识别结果
|
|
98
98
|
*/
|
|
99
|
-
export interface
|
|
99
|
+
export interface TextTable {
|
|
100
100
|
/**
|
|
101
|
-
*
|
|
101
|
+
* 单元格左上角的列索引
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
ColTl?: number;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* 单元格左上角的行索引
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
RowTl?: number;
|
|
108
|
+
/**
|
|
109
|
+
* 单元格右下角的列索引
|
|
110
|
+
*/
|
|
111
|
+
ColBr?: number;
|
|
112
|
+
/**
|
|
113
|
+
* 单元格右下角的行索引
|
|
114
|
+
*/
|
|
115
|
+
RowBr?: number;
|
|
116
|
+
/**
|
|
117
|
+
* 单元格文字
|
|
118
|
+
*/
|
|
119
|
+
Text?: string;
|
|
120
|
+
/**
|
|
121
|
+
* 单元格类型,包含body(表格主体)、header(表头)、footer(表尾)三种
|
|
122
|
+
*/
|
|
123
|
+
Type?: string;
|
|
124
|
+
/**
|
|
125
|
+
* 置信度 0 ~100
|
|
126
|
+
*/
|
|
127
|
+
Confidence?: number;
|
|
128
|
+
/**
|
|
129
|
+
* 文本行坐标,以四个顶点坐标表示
|
|
130
|
+
*/
|
|
131
|
+
Polygon?: Array<Coord>;
|
|
132
|
+
/**
|
|
133
|
+
* 此字段为扩展字段
|
|
134
|
+
*/
|
|
135
|
+
AdvancedInfo?: string;
|
|
108
136
|
}
|
|
109
137
|
/**
|
|
110
138
|
* 混贴票据单张发票识别信息
|
|
@@ -3159,59 +3187,38 @@ export interface QrcodeOCRRequest {
|
|
|
3159
3187
|
ImageUrl?: string;
|
|
3160
3188
|
}
|
|
3161
3189
|
/**
|
|
3162
|
-
*
|
|
3190
|
+
* VatInvoiceVerifyNew返回参数结构体
|
|
3163
3191
|
*/
|
|
3164
|
-
export interface
|
|
3165
|
-
/**
|
|
3166
|
-
* 发票号码
|
|
3167
|
-
*/
|
|
3168
|
-
InvoiceNum?: string;
|
|
3169
|
-
/**
|
|
3170
|
-
* 发票代码
|
|
3171
|
-
*/
|
|
3172
|
-
InvoiceCode?: string;
|
|
3173
|
-
/**
|
|
3174
|
-
* 日期
|
|
3175
|
-
*/
|
|
3176
|
-
Date?: string;
|
|
3177
|
-
/**
|
|
3178
|
-
* 金额
|
|
3179
|
-
*/
|
|
3180
|
-
Fare?: string;
|
|
3181
|
-
/**
|
|
3182
|
-
* 上车时间
|
|
3183
|
-
*/
|
|
3184
|
-
GetOnTime?: string;
|
|
3192
|
+
export interface VatInvoiceVerifyNewResponse {
|
|
3185
3193
|
/**
|
|
3186
|
-
*
|
|
3194
|
+
* 增值税发票、购车发票、全电发票的基础要素字段信息。
|
|
3187
3195
|
*/
|
|
3188
|
-
|
|
3196
|
+
Invoice?: VatInvoice;
|
|
3189
3197
|
/**
|
|
3190
|
-
*
|
|
3198
|
+
* 机动车销售统一发票详细字段信息。
|
|
3191
3199
|
*/
|
|
3192
|
-
|
|
3200
|
+
VehicleInvoiceInfo?: VehicleInvoiceInfo;
|
|
3193
3201
|
/**
|
|
3194
|
-
*
|
|
3202
|
+
* 二手车销售统一发票详细字段信息。
|
|
3195
3203
|
*/
|
|
3196
|
-
|
|
3204
|
+
UsedVehicleInvoiceInfo?: UsedVehicleInvoiceInfo;
|
|
3197
3205
|
/**
|
|
3198
|
-
*
|
|
3206
|
+
* 通行费发票详细字段信息。
|
|
3199
3207
|
*/
|
|
3200
|
-
|
|
3208
|
+
PassInvoiceInfoList?: Array<PassInvoiceInfo>;
|
|
3201
3209
|
/**
|
|
3202
|
-
*
|
|
3210
|
+
* 全电发票(铁路电子客票)详细字段信息。
|
|
3211
|
+
|
|
3203
3212
|
*/
|
|
3204
|
-
|
|
3213
|
+
ElectronicTrainTicket?: ElectronicTrainTicket;
|
|
3205
3214
|
/**
|
|
3206
|
-
*
|
|
3207
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3215
|
+
* 全电发票(航空运输电子客票行程单)详细字段信息。
|
|
3208
3216
|
*/
|
|
3209
|
-
|
|
3217
|
+
ElectronicAirTransport?: ElectronicAirTransport;
|
|
3210
3218
|
/**
|
|
3211
|
-
*
|
|
3212
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3219
|
+
* 财政发票详细字段信息
|
|
3213
3220
|
*/
|
|
3214
|
-
|
|
3221
|
+
FinancialBill?: FinancialBill;
|
|
3215
3222
|
/**
|
|
3216
3223
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3217
3224
|
*/
|
|
@@ -4522,27 +4529,6 @@ export interface ExtractDocMultiResponse {
|
|
|
4522
4529
|
*/
|
|
4523
4530
|
RequestId?: string;
|
|
4524
4531
|
}
|
|
4525
|
-
/**
|
|
4526
|
-
* TaxiInvoiceOCR请求参数结构体
|
|
4527
|
-
*/
|
|
4528
|
-
export interface TaxiInvoiceOCRRequest {
|
|
4529
|
-
/**
|
|
4530
|
-
* 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
4531
|
-
*/
|
|
4532
|
-
ImageBase64?: string;
|
|
4533
|
-
/**
|
|
4534
|
-
* 图片的 Url 地址。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经 Base64 编码后不超过 10M。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
4535
|
-
*/
|
|
4536
|
-
ImageUrl?: string;
|
|
4537
|
-
/**
|
|
4538
|
-
* 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
|
|
4539
|
-
*/
|
|
4540
|
-
IsPdf?: boolean;
|
|
4541
|
-
/**
|
|
4542
|
-
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
|
|
4543
|
-
*/
|
|
4544
|
-
PdfPageNumber?: number;
|
|
4545
|
-
}
|
|
4546
4532
|
/**
|
|
4547
4533
|
* 通用机打发票
|
|
4548
4534
|
*/
|
|
@@ -6476,24 +6462,6 @@ export interface VatElectronicInfo {
|
|
|
6476
6462
|
*/
|
|
6477
6463
|
InvoicePageIndex?: string;
|
|
6478
6464
|
}
|
|
6479
|
-
/**
|
|
6480
|
-
* SmartStructuralOCR返回参数结构体
|
|
6481
|
-
*/
|
|
6482
|
-
export interface SmartStructuralOCRResponse {
|
|
6483
|
-
/**
|
|
6484
|
-
* 图片旋转角度(角度制),文本的水平方向
|
|
6485
|
-
为 0;顺时针为正,逆时针为负
|
|
6486
|
-
*/
|
|
6487
|
-
Angle?: number;
|
|
6488
|
-
/**
|
|
6489
|
-
* 识别信息
|
|
6490
|
-
*/
|
|
6491
|
-
StructuralItems?: Array<StructuralItem>;
|
|
6492
|
-
/**
|
|
6493
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6494
|
-
*/
|
|
6495
|
-
RequestId?: string;
|
|
6496
|
-
}
|
|
6497
6465
|
/**
|
|
6498
6466
|
* 识别出来的单字信息包括单字(包括单字Character和单字置信度confidence)
|
|
6499
6467
|
*/
|
|
@@ -7103,47 +7071,6 @@ export interface AdvertiseTextDetection {
|
|
|
7103
7071
|
*/
|
|
7104
7072
|
AdvancedInfo?: string;
|
|
7105
7073
|
}
|
|
7106
|
-
/**
|
|
7107
|
-
* 表格识别结果
|
|
7108
|
-
*/
|
|
7109
|
-
export interface TextTable {
|
|
7110
|
-
/**
|
|
7111
|
-
* 单元格左上角的列索引
|
|
7112
|
-
*/
|
|
7113
|
-
ColTl?: number;
|
|
7114
|
-
/**
|
|
7115
|
-
* 单元格左上角的行索引
|
|
7116
|
-
*/
|
|
7117
|
-
RowTl?: number;
|
|
7118
|
-
/**
|
|
7119
|
-
* 单元格右下角的列索引
|
|
7120
|
-
*/
|
|
7121
|
-
ColBr?: number;
|
|
7122
|
-
/**
|
|
7123
|
-
* 单元格右下角的行索引
|
|
7124
|
-
*/
|
|
7125
|
-
RowBr?: number;
|
|
7126
|
-
/**
|
|
7127
|
-
* 单元格文字
|
|
7128
|
-
*/
|
|
7129
|
-
Text?: string;
|
|
7130
|
-
/**
|
|
7131
|
-
* 单元格类型,包含body(表格主体)、header(表头)、footer(表尾)三种
|
|
7132
|
-
*/
|
|
7133
|
-
Type?: string;
|
|
7134
|
-
/**
|
|
7135
|
-
* 置信度 0 ~100
|
|
7136
|
-
*/
|
|
7137
|
-
Confidence?: number;
|
|
7138
|
-
/**
|
|
7139
|
-
* 文本行坐标,以四个顶点坐标表示
|
|
7140
|
-
*/
|
|
7141
|
-
Polygon?: Array<Coord>;
|
|
7142
|
-
/**
|
|
7143
|
-
* 此字段为扩展字段
|
|
7144
|
-
*/
|
|
7145
|
-
AdvancedInfo?: string;
|
|
7146
|
-
}
|
|
7147
7074
|
/**
|
|
7148
7075
|
* SubmitQuestionMarkAgentJob请求参数结构体
|
|
7149
7076
|
*/
|
|
@@ -10631,25 +10558,22 @@ export interface RecognizeAgentRequest {
|
|
|
10631
10558
|
EnableCoord?: boolean;
|
|
10632
10559
|
}
|
|
10633
10560
|
/**
|
|
10634
|
-
*
|
|
10561
|
+
* SmartStructuralOCR返回参数结构体
|
|
10635
10562
|
*/
|
|
10636
|
-
export interface
|
|
10637
|
-
/**
|
|
10638
|
-
* 图片的 Base64 值。支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。支持的图片大小:所下载图片经Base64编码后不超过 10M。图片下载时间不超过 3 秒。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
10639
|
-
*/
|
|
10640
|
-
ImageBase64?: string;
|
|
10563
|
+
export interface SmartStructuralOCRResponse {
|
|
10641
10564
|
/**
|
|
10642
|
-
*
|
|
10565
|
+
* 图片旋转角度(角度制),文本的水平方向
|
|
10566
|
+
为 0;顺时针为正,逆时针为负
|
|
10643
10567
|
*/
|
|
10644
|
-
|
|
10568
|
+
Angle?: number;
|
|
10645
10569
|
/**
|
|
10646
|
-
*
|
|
10570
|
+
* 识别信息
|
|
10647
10571
|
*/
|
|
10648
|
-
|
|
10572
|
+
StructuralItems?: Array<StructuralItem>;
|
|
10649
10573
|
/**
|
|
10650
|
-
*
|
|
10574
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10651
10575
|
*/
|
|
10652
|
-
|
|
10576
|
+
RequestId?: string;
|
|
10653
10577
|
}
|
|
10654
10578
|
/**
|
|
10655
10579
|
* IDCardOCR请求参数结构体
|
|
@@ -10811,44 +10735,6 @@ export interface RideHailingTransportLicenseOCRRequest {
|
|
|
10811
10735
|
*/
|
|
10812
10736
|
ImageUrl?: string;
|
|
10813
10737
|
}
|
|
10814
|
-
/**
|
|
10815
|
-
* VatInvoiceVerifyNew返回参数结构体
|
|
10816
|
-
*/
|
|
10817
|
-
export interface VatInvoiceVerifyNewResponse {
|
|
10818
|
-
/**
|
|
10819
|
-
* 增值税发票、购车发票、全电发票的基础要素字段信息。
|
|
10820
|
-
*/
|
|
10821
|
-
Invoice?: VatInvoice;
|
|
10822
|
-
/**
|
|
10823
|
-
* 机动车销售统一发票详细字段信息。
|
|
10824
|
-
*/
|
|
10825
|
-
VehicleInvoiceInfo?: VehicleInvoiceInfo;
|
|
10826
|
-
/**
|
|
10827
|
-
* 二手车销售统一发票详细字段信息。
|
|
10828
|
-
*/
|
|
10829
|
-
UsedVehicleInvoiceInfo?: UsedVehicleInvoiceInfo;
|
|
10830
|
-
/**
|
|
10831
|
-
* 通行费发票详细字段信息。
|
|
10832
|
-
*/
|
|
10833
|
-
PassInvoiceInfoList?: Array<PassInvoiceInfo>;
|
|
10834
|
-
/**
|
|
10835
|
-
* 全电发票(铁路电子客票)详细字段信息。
|
|
10836
|
-
|
|
10837
|
-
*/
|
|
10838
|
-
ElectronicTrainTicket?: ElectronicTrainTicket;
|
|
10839
|
-
/**
|
|
10840
|
-
* 全电发票(航空运输电子客票行程单)详细字段信息。
|
|
10841
|
-
*/
|
|
10842
|
-
ElectronicAirTransport?: ElectronicAirTransport;
|
|
10843
|
-
/**
|
|
10844
|
-
* 财政发票详细字段信息
|
|
10845
|
-
*/
|
|
10846
|
-
FinancialBill?: FinancialBill;
|
|
10847
|
-
/**
|
|
10848
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10849
|
-
*/
|
|
10850
|
-
RequestId?: string;
|
|
10851
|
-
}
|
|
10852
10738
|
/**
|
|
10853
10739
|
* MLIDCardOCR返回参数结构体
|
|
10854
10740
|
*/
|