tencentcloud-sdk-nodejs-ocr 4.1.302 → 4.1.306
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.
|
@@ -27,8 +27,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
27
27
|
async VatInvoiceVerifyNew(req, cb) {
|
|
28
28
|
return this.request("VatInvoiceVerifyNew", req, cb);
|
|
29
29
|
}
|
|
30
|
-
async
|
|
31
|
-
return this.request("
|
|
30
|
+
async PassportOCR(req, cb) {
|
|
31
|
+
return this.request("PassportOCR", req, cb);
|
|
32
32
|
}
|
|
33
33
|
async GeneralAccurateOCR(req, cb) {
|
|
34
34
|
return this.request("GeneralAccurateOCR", req, cb);
|
|
@@ -36,6 +36,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
36
36
|
async VerifyBizLicenseEnterprise4(req, cb) {
|
|
37
37
|
return this.request("VerifyBizLicenseEnterprise4", req, cb);
|
|
38
38
|
}
|
|
39
|
+
async QrcodeOCR(req, cb) {
|
|
40
|
+
return this.request("QrcodeOCR", req, cb);
|
|
41
|
+
}
|
|
39
42
|
async RecognizeTableAccurateOCR(req, cb) {
|
|
40
43
|
return this.request("RecognizeTableAccurateOCR", req, cb);
|
|
41
44
|
}
|
|
@@ -144,8 +147,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
144
147
|
async ArithmeticOCR(req, cb) {
|
|
145
148
|
return this.request("ArithmeticOCR", req, cb);
|
|
146
149
|
}
|
|
147
|
-
async
|
|
148
|
-
return this.request("
|
|
150
|
+
async DescribeQuestionSplitJob(req, cb) {
|
|
151
|
+
return this.request("DescribeQuestionSplitJob", req, cb);
|
|
149
152
|
}
|
|
150
153
|
async EstateCertOCR(req, cb) {
|
|
151
154
|
return this.request("EstateCertOCR", req, cb);
|
|
@@ -207,8 +210,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
207
210
|
async EraseHandwrittenImageOCR(req, cb) {
|
|
208
211
|
return this.request("EraseHandwrittenImageOCR", req, cb);
|
|
209
212
|
}
|
|
210
|
-
async
|
|
211
|
-
return this.request("
|
|
213
|
+
async LicensePlateOCR(req, cb) {
|
|
214
|
+
return this.request("LicensePlateOCR", req, cb);
|
|
212
215
|
}
|
|
213
216
|
async GetOCRToken(req, cb) {
|
|
214
217
|
return this.request("GetOCRToken", req, cb);
|
|
@@ -219,6 +222,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
219
222
|
async VerifyBizLicenseEnterprise3(req, cb) {
|
|
220
223
|
return this.request("VerifyBizLicenseEnterprise3", req, cb);
|
|
221
224
|
}
|
|
225
|
+
async SubmitQuestionSplitJob(req, cb) {
|
|
226
|
+
return this.request("SubmitQuestionSplitJob", req, cb);
|
|
227
|
+
}
|
|
222
228
|
async MixedInvoiceOCR(req, cb) {
|
|
223
229
|
return this.request("MixedInvoiceOCR", req, cb);
|
|
224
230
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { TableOCRRequest, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, VinOCRResponse, BankCardOCRRequest, VatInvoiceVerifyNewResponse, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, EstateCertOCRResponse, GeneralHandwritingOCRResponse, VerifyGeneralCardWarnRequest, MLIDPassportOCRRequest, TextDetectResponse, GetOCRTokenResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, MLIDCardOCRRequest, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, VerifyBizLicenseEnterprise3Response, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnglishOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, VerifyScenePhotoResponse, RecognizeAgentResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, RecognizeGeneralCardWarnRequest, VinOCRRequest, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, CropEnhanceImageOCRResponse, GeneralAccurateOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, MultimodalDocParseResponse, ExtractDocAgentResponse, RecognizeStoreNameResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, MultimodalDocParseRequest, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, ExtractDocMultiResponse, VerifyGeneralCardWarnResponse, TextDetectRequest, RecognizeThaiIDCardOCRRequest, RecognizeEncryptedIDCardOCRRequest, SubmitExtractDocAgentJobResponse, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, SubmitMarkEssayAgentJobRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, SubmitMarkEssayAgentJobResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, SubmitQuestionMarkAgentJobResponse, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnterpriseLicenseOCRRequest, GeneralAccurateOCRRequest, RecognizeFormulaOCRRequest, VatInvoiceVerifyNewRequest, EraseHandwrittenImageOCRResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, VerifyBizLicenseEnterprise4Response, HandwritingEssayOCRRequest, BankSlipOCRResponse, QuestionSplitOCRRequest, PermitOCRResponse, PassportOCRRequest, VerifyScenePhotoRequest, DescribeQuestionMarkAgentJobRequest, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, VerifyBizLicenseEnterprise4Request, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, TrainTicketOCRRequest, GeneralEfficientOCRResponse, MLIDPassportOCRResponse, CropEnhanceImageOCRRequest, VerifyOfdVatInvoiceOCRResponse, SealOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, EraseHandwrittenImageOCRRequest, GetOCRResultResponse, MainlandPermitOCRResponse, PermitOCRRequest, EnglishOCRResponse, VerifyBizLicenseEnterprise3Request, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, QrcodeOCRRequest, SubmitExtractDocAgentJobRequest, ExtractDocAgentRequest, AdvertiseOCRResponse, RecognizeAgentRequest, SmartStructuralOCRResponse, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse,
|
|
2
|
+
import { TableOCRRequest, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, VinOCRResponse, BankCardOCRRequest, VatInvoiceVerifyNewResponse, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, EstateCertOCRResponse, GeneralHandwritingOCRResponse, VerifyGeneralCardWarnRequest, MLIDPassportOCRRequest, TextDetectResponse, GetOCRTokenResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, MLIDCardOCRRequest, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, VerifyBizLicenseEnterprise3Response, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnglishOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, VerifyScenePhotoResponse, RecognizeAgentResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, RecognizeGeneralCardWarnRequest, VinOCRRequest, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, CropEnhanceImageOCRResponse, GeneralAccurateOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, MultimodalDocParseResponse, ExtractDocAgentResponse, RecognizeStoreNameResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, MultimodalDocParseRequest, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, ExtractDocMultiResponse, VerifyGeneralCardWarnResponse, TextDetectRequest, RecognizeThaiIDCardOCRRequest, RecognizeEncryptedIDCardOCRRequest, SubmitExtractDocAgentJobResponse, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, SubmitMarkEssayAgentJobRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, SubmitMarkEssayAgentJobResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, SubmitQuestionMarkAgentJobResponse, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnterpriseLicenseOCRRequest, GeneralAccurateOCRRequest, RecognizeFormulaOCRRequest, VatInvoiceVerifyNewRequest, EraseHandwrittenImageOCRResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, VerifyBizLicenseEnterprise4Response, HandwritingEssayOCRRequest, BankSlipOCRResponse, QuestionSplitOCRRequest, PermitOCRResponse, PassportOCRRequest, VerifyScenePhotoRequest, DescribeQuestionMarkAgentJobRequest, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, VerifyBizLicenseEnterprise4Request, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, TrainTicketOCRRequest, GeneralEfficientOCRResponse, MLIDPassportOCRResponse, CropEnhanceImageOCRRequest, VerifyOfdVatInvoiceOCRResponse, SealOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, EraseHandwrittenImageOCRRequest, GetOCRResultResponse, MainlandPermitOCRResponse, PermitOCRRequest, SubmitQuestionSplitJobResponse, EnglishOCRResponse, VerifyBizLicenseEnterprise3Request, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, SubmitQuestionSplitJobRequest, QrcodeOCRRequest, SubmitExtractDocAgentJobRequest, ExtractDocAgentRequest, AdvertiseOCRResponse, RecognizeAgentRequest, SmartStructuralOCRResponse, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, DescribeQuestionSplitJobResponse, BizLicenseOCRResponse, DescribeQuestionSplitJobRequest, BankCardOCRResponse, SubmitQuestionMarkAgentJobRequest, BusinessCardOCRRequest, VatInvoiceOCRResponse, RecognizeValidIDCardOCRResponse, DescribeMarkEssayAgentJobRequest, GeneralFastOCRResponse } from "./ocr_models";
|
|
3
3
|
/**
|
|
4
4
|
* ocr client
|
|
5
5
|
* @class
|
|
@@ -102,11 +102,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
102
102
|
*/
|
|
103
103
|
VatInvoiceVerifyNew(req: VatInvoiceVerifyNewRequest, cb?: (error: string, rep: VatInvoiceVerifyNewResponse) => void): Promise<VatInvoiceVerifyNewResponse>;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* <b>此接口为护照识别(中国大陆地区护照)的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/37657">护照识别(多国多地区护照)</a>。</b>
|
|
106
106
|
|
|
107
|
-
|
|
107
|
+
本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
|
|
108
|
+
|
|
109
|
+
默认接口请求频率限制:10次/秒。
|
|
108
110
|
*/
|
|
109
|
-
|
|
111
|
+
PassportOCR(req: PassportOCRRequest, cb?: (error: string, rep: PassportOCRResponse) => void): Promise<PassportOCRResponse>;
|
|
110
112
|
/**
|
|
111
113
|
* 本接口支持图像整体文字的检测和识别。支持中文、英文、中英文、数字和特殊字符号的识别,并返回文字框位置和文字内容。
|
|
112
114
|
|
|
@@ -172,6 +174,12 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
172
174
|
按周更新企业信息变更情况,如遇到未及时更新的情况,可联系在线客服转产品团队进行人工处理。
|
|
173
175
|
*/
|
|
174
176
|
VerifyBizLicenseEnterprise4(req: VerifyBizLicenseEnterprise4Request, cb?: (error: string, rep: VerifyBizLicenseEnterprise4Response) => void): Promise<VerifyBizLicenseEnterprise4Response>;
|
|
177
|
+
/**
|
|
178
|
+
* 本接口支持条形码和二维码的识别(包括 DataMatrix 和 PDF417)。
|
|
179
|
+
|
|
180
|
+
默认接口请求频率限制:5次/秒。
|
|
181
|
+
*/
|
|
182
|
+
QrcodeOCR(req: QrcodeOCRRequest, cb?: (error: string, rep: QrcodeOCRResponse) => void): Promise<QrcodeOCRResponse>;
|
|
175
183
|
/**
|
|
176
184
|
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。
|
|
177
185
|
|
|
@@ -500,11 +508,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
500
508
|
*/
|
|
501
509
|
ArithmeticOCR(req: ArithmeticOCRRequest, cb?: (error: string, rep: ArithmeticOCRResponse) => void): Promise<ArithmeticOCRResponse>;
|
|
502
510
|
/**
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
*/
|
|
507
|
-
LicensePlateOCR(req: LicensePlateOCRRequest, cb?: (error: string, rep: LicensePlateOCRResponse) => void): Promise<LicensePlateOCRResponse>;
|
|
511
|
+
* 异步试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置,是试卷切题的接口补充。主要解决试卷录题这类多页场景、单题跨页场景。需要 SubmitQuestionSplitOCRJob(提交任务)、DescribeQuestionSplitOCRJob(查询任务)两个接口配套使用,计费发生在提交任务后。
|
|
512
|
+
*/
|
|
513
|
+
DescribeQuestionSplitJob(req: DescribeQuestionSplitJobRequest, cb?: (error: string, rep: DescribeQuestionSplitJobResponse) => void): Promise<DescribeQuestionSplitJobResponse>;
|
|
508
514
|
/**
|
|
509
515
|
* 本接口支持不动产权证关键字段的识别,包括使用期限、面积、用途、权利性质、权利类型、坐落、共有情况、权利人、权利其他状况等。
|
|
510
516
|
|
|
@@ -695,13 +701,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
695
701
|
*/
|
|
696
702
|
EraseHandwrittenImageOCR(req: EraseHandwrittenImageOCRRequest, cb?: (error: string, rep: EraseHandwrittenImageOCRResponse) => void): Promise<EraseHandwrittenImageOCRResponse>;
|
|
697
703
|
/**
|
|
698
|
-
*
|
|
699
|
-
|
|
700
|
-
本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
|
|
704
|
+
* 本接口支持对中国大陆机动车车牌的自动定位和识别,返回地域编号和车牌号码与车牌颜色信息。
|
|
701
705
|
|
|
702
706
|
默认接口请求频率限制:10次/秒。
|
|
703
707
|
*/
|
|
704
|
-
|
|
708
|
+
LicensePlateOCR(req: LicensePlateOCRRequest, cb?: (error: string, rep: LicensePlateOCRResponse) => void): Promise<LicensePlateOCRResponse>;
|
|
705
709
|
/**
|
|
706
710
|
* 获取ocr的token值
|
|
707
711
|
*/
|
|
@@ -717,6 +721,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
717
721
|
按周更新企业信息变更情况,如遇到未及时更新的情况,可联系在线客服转产品团队进行人工处理。
|
|
718
722
|
*/
|
|
719
723
|
VerifyBizLicenseEnterprise3(req: VerifyBizLicenseEnterprise3Request, cb?: (error: string, rep: VerifyBizLicenseEnterprise3Response) => void): Promise<VerifyBizLicenseEnterprise3Response>;
|
|
724
|
+
/**
|
|
725
|
+
* 异步试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置,是试卷切题的接口补充。主要解决试卷录题这类多页场景、单题跨页场景。需要 SubmitQuestionSplitOCRJob(提交任务)、DescribeQuestionSplitOCRJob(查询任务)两个接口配套使用,计费发生在提交任务后。
|
|
726
|
+
*/
|
|
727
|
+
SubmitQuestionSplitJob(req: SubmitQuestionSplitJobRequest, cb?: (error: string, rep: SubmitQuestionSplitJobResponse) => void): Promise<SubmitQuestionSplitJobResponse>;
|
|
720
728
|
/**
|
|
721
729
|
* 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
|
|
722
730
|
|
|
@@ -140,12 +140,14 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
140
140
|
return this.request("VatInvoiceVerifyNew", req, cb);
|
|
141
141
|
}
|
|
142
142
|
/**
|
|
143
|
-
*
|
|
143
|
+
* <b>此接口为护照识别(中国大陆地区护照)的旧版本服务,不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/37657">护照识别(多国多地区护照)</a>。</b>
|
|
144
144
|
|
|
145
|
-
|
|
145
|
+
本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
|
|
146
|
+
|
|
147
|
+
默认接口请求频率限制:10次/秒。
|
|
146
148
|
*/
|
|
147
|
-
async
|
|
148
|
-
return this.request("
|
|
149
|
+
async PassportOCR(req, cb) {
|
|
150
|
+
return this.request("PassportOCR", req, cb);
|
|
149
151
|
}
|
|
150
152
|
/**
|
|
151
153
|
* 本接口支持图像整体文字的检测和识别。支持中文、英文、中英文、数字和特殊字符号的识别,并返回文字框位置和文字内容。
|
|
@@ -216,6 +218,14 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
216
218
|
async VerifyBizLicenseEnterprise4(req, cb) {
|
|
217
219
|
return this.request("VerifyBizLicenseEnterprise4", req, cb);
|
|
218
220
|
}
|
|
221
|
+
/**
|
|
222
|
+
* 本接口支持条形码和二维码的识别(包括 DataMatrix 和 PDF417)。
|
|
223
|
+
|
|
224
|
+
默认接口请求频率限制:5次/秒。
|
|
225
|
+
*/
|
|
226
|
+
async QrcodeOCR(req, cb) {
|
|
227
|
+
return this.request("QrcodeOCR", req, cb);
|
|
228
|
+
}
|
|
219
229
|
/**
|
|
220
230
|
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。
|
|
221
231
|
|
|
@@ -616,12 +626,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
616
626
|
return this.request("ArithmeticOCR", req, cb);
|
|
617
627
|
}
|
|
618
628
|
/**
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
async LicensePlateOCR(req, cb) {
|
|
624
|
-
return this.request("LicensePlateOCR", req, cb);
|
|
629
|
+
* 异步试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置,是试卷切题的接口补充。主要解决试卷录题这类多页场景、单题跨页场景。需要 SubmitQuestionSplitOCRJob(提交任务)、DescribeQuestionSplitOCRJob(查询任务)两个接口配套使用,计费发生在提交任务后。
|
|
630
|
+
*/
|
|
631
|
+
async DescribeQuestionSplitJob(req, cb) {
|
|
632
|
+
return this.request("DescribeQuestionSplitJob", req, cb);
|
|
625
633
|
}
|
|
626
634
|
/**
|
|
627
635
|
* 本接口支持不动产权证关键字段的识别,包括使用期限、面积、用途、权利性质、权利类型、坐落、共有情况、权利人、权利其他状况等。
|
|
@@ -853,14 +861,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
853
861
|
return this.request("EraseHandwrittenImageOCR", req, cb);
|
|
854
862
|
}
|
|
855
863
|
/**
|
|
856
|
-
*
|
|
857
|
-
|
|
858
|
-
本接口支持中国大陆地区护照个人资料页多个字段的检测与识别。已支持字段包括英文姓名、中文姓名、国家码、护照号、出生地、出生日期、国籍英文、性别英文、有效期、签发地点英文、签发日期、持证人签名、护照机读码(MRZ码)等。
|
|
864
|
+
* 本接口支持对中国大陆机动车车牌的自动定位和识别,返回地域编号和车牌号码与车牌颜色信息。
|
|
859
865
|
|
|
860
866
|
默认接口请求频率限制:10次/秒。
|
|
861
867
|
*/
|
|
862
|
-
async
|
|
863
|
-
return this.request("
|
|
868
|
+
async LicensePlateOCR(req, cb) {
|
|
869
|
+
return this.request("LicensePlateOCR", req, cb);
|
|
864
870
|
}
|
|
865
871
|
/**
|
|
866
872
|
* 获取ocr的token值
|
|
@@ -883,6 +889,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
883
889
|
async VerifyBizLicenseEnterprise3(req, cb) {
|
|
884
890
|
return this.request("VerifyBizLicenseEnterprise3", req, cb);
|
|
885
891
|
}
|
|
892
|
+
/**
|
|
893
|
+
* 异步试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置,是试卷切题的接口补充。主要解决试卷录题这类多页场景、单题跨页场景。需要 SubmitQuestionSplitOCRJob(提交任务)、DescribeQuestionSplitOCRJob(查询任务)两个接口配套使用,计费发生在提交任务后。
|
|
894
|
+
*/
|
|
895
|
+
async SubmitQuestionSplitJob(req, cb) {
|
|
896
|
+
return this.request("SubmitQuestionSplitJob", req, cb);
|
|
897
|
+
}
|
|
886
898
|
/**
|
|
887
899
|
* 本接口支持 单张、多张、多类型 票据的混合识别,同时支持自选需要识别的票据类型,已支持票种包括:增值税发票(专票、普票、卷票)、全电发票、非税发票、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票共14种标准报销发票,并支持其他类发票的识别。
|
|
888
900
|
|
|
@@ -2070,6 +2070,10 @@ export interface VatElectronicItemInfo {
|
|
|
2070
2070
|
* <p>通行日期止</p>
|
|
2071
2071
|
*/
|
|
2072
2072
|
DateEnd?: string;
|
|
2073
|
+
/**
|
|
2074
|
+
* <p>车架号</p>
|
|
2075
|
+
*/
|
|
2076
|
+
VinNo?: string;
|
|
2073
2077
|
}
|
|
2074
2078
|
/**
|
|
2075
2079
|
* 单词坐标信息
|
|
@@ -6839,21 +6843,66 @@ export interface AdvertiseTextDetection {
|
|
|
6839
6843
|
AdvancedInfo?: string;
|
|
6840
6844
|
}
|
|
6841
6845
|
/**
|
|
6842
|
-
*
|
|
6846
|
+
* 外国人永久居留证信息返回
|
|
6843
6847
|
*/
|
|
6844
|
-
export interface
|
|
6848
|
+
export interface PermanentResidencePermitInfo {
|
|
6845
6849
|
/**
|
|
6846
|
-
*
|
|
6850
|
+
* 姓名(人像面)
|
|
6847
6851
|
*/
|
|
6848
|
-
|
|
6852
|
+
Name?: ContentInfo;
|
|
6849
6853
|
/**
|
|
6850
|
-
*
|
|
6854
|
+
* 性别(人像面)
|
|
6851
6855
|
*/
|
|
6852
|
-
|
|
6856
|
+
Sex?: ContentInfo;
|
|
6853
6857
|
/**
|
|
6854
|
-
*
|
|
6858
|
+
* 民族(人像面)
|
|
6855
6859
|
*/
|
|
6856
|
-
|
|
6860
|
+
Nation?: ContentInfo;
|
|
6861
|
+
/**
|
|
6862
|
+
* 出生日期(人像面)
|
|
6863
|
+
*/
|
|
6864
|
+
Birth?: ContentInfo;
|
|
6865
|
+
/**
|
|
6866
|
+
* 地址(人像面)
|
|
6867
|
+
*/
|
|
6868
|
+
Address?: ContentInfo;
|
|
6869
|
+
/**
|
|
6870
|
+
* 公民身份号码(人像面)
|
|
6871
|
+
*/
|
|
6872
|
+
IdNum?: ContentInfo;
|
|
6873
|
+
/**
|
|
6874
|
+
* 发证机关(国徽面)
|
|
6875
|
+
*/
|
|
6876
|
+
Authority?: ContentInfo;
|
|
6877
|
+
/**
|
|
6878
|
+
* 证件有效期(国徽面)
|
|
6879
|
+
*/
|
|
6880
|
+
ValidDate?: ContentInfo;
|
|
6881
|
+
/**
|
|
6882
|
+
* WarnInfos,告警信息
|
|
6883
|
+
*/
|
|
6884
|
+
WarnInfos?: CardWarnInfo;
|
|
6885
|
+
/**
|
|
6886
|
+
* IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;
|
|
6887
|
+
*/
|
|
6888
|
+
CardImage?: ContentInfo;
|
|
6889
|
+
/**
|
|
6890
|
+
* Portrait,身份证头像照片的base64编码,请求 EnablePortrait 时返回;
|
|
6891
|
+
*/
|
|
6892
|
+
PortraitImage?: ContentInfo;
|
|
6893
|
+
/**
|
|
6894
|
+
* 持证人持有号码,外国人永久居留证 返回该字段
|
|
6895
|
+
*/
|
|
6896
|
+
HolderNum?: ContentInfo;
|
|
6897
|
+
/**
|
|
6898
|
+
* 国籍,外国人永久居留证 返回该字段
|
|
6899
|
+
*/
|
|
6900
|
+
Nationality?: ContentInfo;
|
|
6901
|
+
/**
|
|
6902
|
+
* 英文名
|
|
6903
|
+
示例值:Ming Li
|
|
6904
|
+
*/
|
|
6905
|
+
EnName?: ContentInfo;
|
|
6857
6906
|
}
|
|
6858
6907
|
/**
|
|
6859
6908
|
* EraseHandwrittenImageOCR返回参数结构体
|
|
@@ -7042,105 +7091,126 @@ export interface ArithmeticOCRRequest {
|
|
|
7042
7091
|
*/
|
|
7043
7092
|
export interface NonTaxIncomeBill {
|
|
7044
7093
|
/**
|
|
7045
|
-
*
|
|
7094
|
+
* <p>发票名称</p>
|
|
7046
7095
|
*/
|
|
7047
7096
|
Title?: string;
|
|
7048
7097
|
/**
|
|
7049
|
-
*
|
|
7098
|
+
* <p>发票号码</p>
|
|
7050
7099
|
*/
|
|
7051
7100
|
Number?: string;
|
|
7052
7101
|
/**
|
|
7053
|
-
*
|
|
7102
|
+
* <p>发票代码</p>
|
|
7054
7103
|
*/
|
|
7055
7104
|
Code?: string;
|
|
7056
7105
|
/**
|
|
7057
|
-
*
|
|
7106
|
+
* <p>校验码</p>
|
|
7058
7107
|
*/
|
|
7059
7108
|
CheckCode?: string;
|
|
7060
7109
|
/**
|
|
7061
|
-
*
|
|
7110
|
+
* <p>开票日期</p>
|
|
7062
7111
|
*/
|
|
7063
7112
|
Date?: string;
|
|
7064
7113
|
/**
|
|
7065
|
-
*
|
|
7114
|
+
* <p>价税合计(小写)</p>
|
|
7066
7115
|
*/
|
|
7067
7116
|
Total?: string;
|
|
7068
7117
|
/**
|
|
7069
|
-
*
|
|
7118
|
+
* <p>价税合计(大写)</p>
|
|
7070
7119
|
*/
|
|
7071
7120
|
TotalCn?: string;
|
|
7072
7121
|
/**
|
|
7073
|
-
*
|
|
7122
|
+
* <p>交款人名称</p>
|
|
7074
7123
|
*/
|
|
7075
7124
|
Buyer?: string;
|
|
7076
7125
|
/**
|
|
7077
|
-
*
|
|
7126
|
+
* <p>交款人纳税人识别号</p>
|
|
7078
7127
|
*/
|
|
7079
7128
|
BuyerTaxID?: string;
|
|
7080
7129
|
/**
|
|
7081
|
-
*
|
|
7130
|
+
* <p>收款人名称</p>
|
|
7082
7131
|
*/
|
|
7083
7132
|
Seller?: string;
|
|
7084
7133
|
/**
|
|
7085
|
-
*
|
|
7134
|
+
* <p>收款单位名称</p>
|
|
7086
7135
|
*/
|
|
7087
7136
|
SellerCompany?: string;
|
|
7088
7137
|
/**
|
|
7089
|
-
*
|
|
7138
|
+
* <p>备注</p>
|
|
7090
7139
|
*/
|
|
7091
7140
|
Remark?: string;
|
|
7092
7141
|
/**
|
|
7093
|
-
*
|
|
7142
|
+
* <p>币种</p>
|
|
7094
7143
|
*/
|
|
7095
7144
|
CurrencyCode?: string;
|
|
7096
7145
|
/**
|
|
7097
|
-
*
|
|
7146
|
+
* <p>复核人</p>
|
|
7098
7147
|
*/
|
|
7099
7148
|
Reviewer?: string;
|
|
7100
7149
|
/**
|
|
7101
|
-
*
|
|
7150
|
+
* <p>是否存在二维码(1:有,0:无)</p>
|
|
7102
7151
|
*/
|
|
7103
7152
|
QRCodeMark?: number;
|
|
7104
7153
|
/**
|
|
7105
|
-
*
|
|
7154
|
+
* <p>其他信息</p>
|
|
7106
7155
|
*/
|
|
7107
7156
|
OtherInfo?: string;
|
|
7108
7157
|
/**
|
|
7109
|
-
*
|
|
7158
|
+
* <p>缴款码</p>
|
|
7110
7159
|
*/
|
|
7111
7160
|
PaymentCode?: string;
|
|
7112
7161
|
/**
|
|
7113
|
-
*
|
|
7162
|
+
* <p>执收单位编码</p>
|
|
7114
7163
|
*/
|
|
7115
7164
|
ReceiveUnitCode?: string;
|
|
7116
7165
|
/**
|
|
7117
|
-
*
|
|
7166
|
+
* <p>执收单位名称</p>
|
|
7118
7167
|
*/
|
|
7119
7168
|
Receiver?: string;
|
|
7120
7169
|
/**
|
|
7121
|
-
*
|
|
7170
|
+
* <p>经办人</p>
|
|
7122
7171
|
*/
|
|
7123
7172
|
Operator?: string;
|
|
7124
7173
|
/**
|
|
7125
|
-
*
|
|
7174
|
+
* <p>付款人账号</p>
|
|
7126
7175
|
*/
|
|
7127
7176
|
PayerAccount?: string;
|
|
7128
7177
|
/**
|
|
7129
|
-
*
|
|
7178
|
+
* <p>付款人开户银行</p>
|
|
7130
7179
|
*/
|
|
7131
7180
|
PayerBank?: string;
|
|
7132
7181
|
/**
|
|
7133
|
-
*
|
|
7182
|
+
* <p>收款人账号</p>
|
|
7134
7183
|
*/
|
|
7135
7184
|
ReceiverAccount?: string;
|
|
7136
7185
|
/**
|
|
7137
|
-
*
|
|
7186
|
+
* <p>收款人开户银行</p>
|
|
7138
7187
|
*/
|
|
7139
7188
|
ReceiverBank?: string;
|
|
7140
7189
|
/**
|
|
7141
|
-
*
|
|
7190
|
+
* <p>条目</p>
|
|
7142
7191
|
*/
|
|
7143
7192
|
NonTaxItems?: Array<NonTaxItem>;
|
|
7193
|
+
/**
|
|
7194
|
+
* <p>票据名称</p>
|
|
7195
|
+
*/
|
|
7196
|
+
BillName?: string;
|
|
7197
|
+
}
|
|
7198
|
+
/**
|
|
7199
|
+
* 用于风险提示和表示不同场景下的风险程度
|
|
7200
|
+
*/
|
|
7201
|
+
export interface SceneWarnInfo {
|
|
7202
|
+
/**
|
|
7203
|
+
* <p>是否存在该提示</p>
|
|
7204
|
+
*/
|
|
7205
|
+
IsWarn?: boolean;
|
|
7206
|
+
/**
|
|
7207
|
+
* <p>风险程度(0-1)</p>
|
|
7208
|
+
*/
|
|
7209
|
+
RiskConfidence?: number;
|
|
7210
|
+
/**
|
|
7211
|
+
* <p>提示位置四点坐标,仅部分提示类型支持返回提示位置坐标</p>
|
|
7212
|
+
*/
|
|
7213
|
+
Polygon?: Array<Polygon>;
|
|
7144
7214
|
}
|
|
7145
7215
|
/**
|
|
7146
7216
|
* VerifyOfdVatInvoiceOCR请求参数结构体
|
|
@@ -9363,6 +9433,23 @@ export interface PermitOCRRequest {
|
|
|
9363
9433
|
*/
|
|
9364
9434
|
CropPortrait?: boolean;
|
|
9365
9435
|
}
|
|
9436
|
+
/**
|
|
9437
|
+
* SubmitQuestionSplitJob返回参数结构体
|
|
9438
|
+
*/
|
|
9439
|
+
export interface SubmitQuestionSplitJobResponse {
|
|
9440
|
+
/**
|
|
9441
|
+
* <p>任务唯一ID。由服务端生成。</p>
|
|
9442
|
+
*/
|
|
9443
|
+
JobId?: string;
|
|
9444
|
+
/**
|
|
9445
|
+
* <p>PDF 转完之后的图片压缩包列表地址。</p>
|
|
9446
|
+
*/
|
|
9447
|
+
ImageZipUrl?: string;
|
|
9448
|
+
/**
|
|
9449
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9450
|
+
*/
|
|
9451
|
+
RequestId?: string;
|
|
9452
|
+
}
|
|
9366
9453
|
/**
|
|
9367
9454
|
* 机票行程单
|
|
9368
9455
|
*/
|
|
@@ -9831,6 +9918,23 @@ export interface TollInvoice {
|
|
|
9831
9918
|
*/
|
|
9832
9919
|
QRCodeMark?: number;
|
|
9833
9920
|
}
|
|
9921
|
+
/**
|
|
9922
|
+
* SubmitQuestionSplitJob请求参数结构体
|
|
9923
|
+
*/
|
|
9924
|
+
export interface SubmitQuestionSplitJobRequest {
|
|
9925
|
+
/**
|
|
9926
|
+
* <p>批量ImageUrl图片入口。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p><p>入参限制:要求pdf只能有一个url或base64</p>
|
|
9927
|
+
*/
|
|
9928
|
+
ImageUrlList?: Array<string>;
|
|
9929
|
+
/**
|
|
9930
|
+
* <p>批量base64图片入口。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p><p>入参限制:要求pdf只能有一个url或base64</p>
|
|
9931
|
+
*/
|
|
9932
|
+
ImageBase64List?: Array<string>;
|
|
9933
|
+
/**
|
|
9934
|
+
* <p>选择切题模型</p><p>枚举值:</p><ul><li>youtu_crop: 轻量化切题模型,运算速度更快,适合常规切题</li><li>youtu_crop_pro: 属于切题精调大模型,针对双栏、跨栏等复杂版式识别精度大幅提升,但推理耗时更长</li></ul><p>默认值:youtu_crop</p>
|
|
9935
|
+
*/
|
|
9936
|
+
ModelType?: string;
|
|
9937
|
+
}
|
|
9834
9938
|
/**
|
|
9835
9939
|
* 企业证照单个字段的内容
|
|
9836
9940
|
*/
|
|
@@ -9912,26 +10016,30 @@ export interface DetectedWordCoordPoint {
|
|
|
9912
10016
|
*/
|
|
9913
10017
|
export interface Element {
|
|
9914
10018
|
/**
|
|
9915
|
-
*
|
|
10019
|
+
* <p>元素内容,当type为figure时该字段内容为图片的位置</p>
|
|
9916
10020
|
*/
|
|
9917
10021
|
Text?: string;
|
|
9918
10022
|
/**
|
|
9919
|
-
*
|
|
10023
|
+
* <p>元素坐标</p>
|
|
9920
10024
|
*/
|
|
9921
10025
|
Coord?: Polygon;
|
|
9922
10026
|
/**
|
|
9923
|
-
*
|
|
10027
|
+
* <p>元素group类型,包括multiple-choice(选择题)、fill-in-the-blank(填空题)、problem-solving(解答题)、arithmetic(算术题)</p>
|
|
9924
10028
|
*/
|
|
9925
10029
|
GroupType?: string;
|
|
9926
10030
|
/**
|
|
9927
|
-
*
|
|
10031
|
+
* <p>结果列表</p>
|
|
9928
10032
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9929
10033
|
*/
|
|
9930
10034
|
ResultList?: Array<ResultList>;
|
|
9931
10035
|
/**
|
|
9932
|
-
*
|
|
10036
|
+
* <p>元素索引</p>
|
|
9933
10037
|
*/
|
|
9934
10038
|
Index?: number;
|
|
10039
|
+
/**
|
|
10040
|
+
* <p>元素所在页</p><p>单位:页</p><p>默认值:1</p>
|
|
10041
|
+
*/
|
|
10042
|
+
PageIndex?: number;
|
|
9935
10043
|
}
|
|
9936
10044
|
/**
|
|
9937
10045
|
* SubmitExtractDocAgentJob请求参数结构体
|
|
@@ -10362,66 +10470,29 @@ export interface SaleInventory {
|
|
|
10362
10470
|
Content?: Array<OtherInvoiceItem>;
|
|
10363
10471
|
}
|
|
10364
10472
|
/**
|
|
10365
|
-
*
|
|
10473
|
+
* DescribeQuestionSplitJob返回参数结构体
|
|
10366
10474
|
*/
|
|
10367
|
-
export interface
|
|
10475
|
+
export interface DescribeQuestionSplitJobResponse {
|
|
10368
10476
|
/**
|
|
10369
|
-
*
|
|
10477
|
+
* <p>切题详情</p>
|
|
10370
10478
|
*/
|
|
10371
|
-
|
|
10372
|
-
/**
|
|
10373
|
-
* 性别(人像面)
|
|
10374
|
-
*/
|
|
10375
|
-
Sex?: ContentInfo;
|
|
10376
|
-
/**
|
|
10377
|
-
* 民族(人像面)
|
|
10378
|
-
*/
|
|
10379
|
-
Nation?: ContentInfo;
|
|
10380
|
-
/**
|
|
10381
|
-
* 出生日期(人像面)
|
|
10382
|
-
*/
|
|
10383
|
-
Birth?: ContentInfo;
|
|
10384
|
-
/**
|
|
10385
|
-
* 地址(人像面)
|
|
10386
|
-
*/
|
|
10387
|
-
Address?: ContentInfo;
|
|
10388
|
-
/**
|
|
10389
|
-
* 公民身份号码(人像面)
|
|
10390
|
-
*/
|
|
10391
|
-
IdNum?: ContentInfo;
|
|
10392
|
-
/**
|
|
10393
|
-
* 发证机关(国徽面)
|
|
10394
|
-
*/
|
|
10395
|
-
Authority?: ContentInfo;
|
|
10396
|
-
/**
|
|
10397
|
-
* 证件有效期(国徽面)
|
|
10398
|
-
*/
|
|
10399
|
-
ValidDate?: ContentInfo;
|
|
10400
|
-
/**
|
|
10401
|
-
* WarnInfos,告警信息
|
|
10402
|
-
*/
|
|
10403
|
-
WarnInfos?: CardWarnInfo;
|
|
10404
|
-
/**
|
|
10405
|
-
* IdCard,裁剪后身份证照片的base64编码,请求 EnableCropImage 时返回;
|
|
10406
|
-
*/
|
|
10407
|
-
CardImage?: ContentInfo;
|
|
10479
|
+
QuestionInfo?: Array<QuestionInfo>;
|
|
10408
10480
|
/**
|
|
10409
|
-
*
|
|
10481
|
+
* <p>任务执行错误码。当任务状态不为 FAIL 时,该值为""。</p>
|
|
10410
10482
|
*/
|
|
10411
|
-
|
|
10483
|
+
ErrorCode?: string;
|
|
10412
10484
|
/**
|
|
10413
|
-
*
|
|
10485
|
+
* <p>任务执行错误信息。当任务状态不为 FAIL 时,该值为""。</p>
|
|
10414
10486
|
*/
|
|
10415
|
-
|
|
10487
|
+
ErrorMessage?: string;
|
|
10416
10488
|
/**
|
|
10417
|
-
*
|
|
10489
|
+
* <p>任务状态。</p><p>枚举值:</p><ul><li>WAIT: 等待中</li><li>RUN: 执行中</li><li>FAIL: 任务失败</li><li>DONE: 任务成功</li></ul>
|
|
10418
10490
|
*/
|
|
10419
|
-
|
|
10491
|
+
JobStatus?: string;
|
|
10420
10492
|
/**
|
|
10421
|
-
*
|
|
10422
|
-
示例值:Ming Li
|
|
10493
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10423
10494
|
*/
|
|
10424
|
-
|
|
10495
|
+
RequestId?: string;
|
|
10425
10496
|
}
|
|
10426
10497
|
/**
|
|
10427
10498
|
* BizLicenseOCR返回参数结构体
|
|
@@ -10539,64 +10610,52 @@ export interface BizLicenseOCRResponse {
|
|
|
10539
10610
|
*/
|
|
10540
10611
|
export interface ResultList {
|
|
10541
10612
|
/**
|
|
10542
|
-
*
|
|
10613
|
+
* <p>题干</p>
|
|
10543
10614
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10544
10615
|
*/
|
|
10545
10616
|
Question?: Array<Element>;
|
|
10546
10617
|
/**
|
|
10547
|
-
*
|
|
10618
|
+
* <p>选项</p>
|
|
10548
10619
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10549
10620
|
*/
|
|
10550
10621
|
Option?: Array<Element>;
|
|
10551
10622
|
/**
|
|
10552
|
-
*
|
|
10623
|
+
* <p>插图</p>
|
|
10553
10624
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10554
10625
|
*/
|
|
10555
10626
|
Figure?: Array<Element>;
|
|
10556
10627
|
/**
|
|
10557
|
-
*
|
|
10628
|
+
* <p>表格</p>
|
|
10558
10629
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10559
10630
|
*/
|
|
10560
10631
|
Table?: Array<Element>;
|
|
10561
10632
|
/**
|
|
10562
|
-
*
|
|
10633
|
+
* <p>答案</p>
|
|
10563
10634
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10564
10635
|
*/
|
|
10565
10636
|
Answer?: Array<Element>;
|
|
10566
10637
|
/**
|
|
10567
|
-
*
|
|
10638
|
+
* <p>解析</p>
|
|
10568
10639
|
*/
|
|
10569
10640
|
Parse?: Array<Element>;
|
|
10570
10641
|
/**
|
|
10571
|
-
*
|
|
10642
|
+
* <p>整题的坐标,多页单题跨页/单页单题跨栏场景下,存在一道题有多个坐标</p>
|
|
10572
10643
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10573
10644
|
*/
|
|
10574
10645
|
Coord?: Array<Polygon>;
|
|
10646
|
+
/**
|
|
10647
|
+
* <p>多坐标返回,显示坐标所在页</p><p>默认值:[]</p>
|
|
10648
|
+
*/
|
|
10649
|
+
CoordPageIndex?: Array<number | bigint>;
|
|
10575
10650
|
}
|
|
10576
10651
|
/**
|
|
10577
|
-
*
|
|
10652
|
+
* DescribeQuestionSplitJob请求参数结构体
|
|
10578
10653
|
*/
|
|
10579
|
-
export interface
|
|
10654
|
+
export interface DescribeQuestionSplitJobRequest {
|
|
10580
10655
|
/**
|
|
10581
|
-
*
|
|
10582
|
-
*/
|
|
10583
|
-
VatInvoiceInfos?: Array<TextVatInvoice>;
|
|
10584
|
-
/**
|
|
10585
|
-
* 明细条目。VatInvoiceInfos中关于明细项的具体条目。
|
|
10586
|
-
*/
|
|
10587
|
-
Items?: Array<VatInvoiceItem>;
|
|
10588
|
-
/**
|
|
10589
|
-
* 默认值为0。如果图片为PDF时,返回PDF的总页数。
|
|
10590
|
-
*/
|
|
10591
|
-
PdfPageSize?: number;
|
|
10592
|
-
/**
|
|
10593
|
-
* 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
|
10594
|
-
*/
|
|
10595
|
-
Angle?: number;
|
|
10596
|
-
/**
|
|
10597
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10656
|
+
* <p>任务唯一ID。由服务端生成。</p>
|
|
10598
10657
|
*/
|
|
10599
|
-
|
|
10658
|
+
JobId?: string;
|
|
10600
10659
|
}
|
|
10601
10660
|
/**
|
|
10602
10661
|
* 印章信息
|
|
@@ -10761,6 +10820,31 @@ export interface BusinessCardOCRRequest {
|
|
|
10761
10820
|
*/
|
|
10762
10821
|
Config?: string;
|
|
10763
10822
|
}
|
|
10823
|
+
/**
|
|
10824
|
+
* VatInvoiceOCR返回参数结构体
|
|
10825
|
+
*/
|
|
10826
|
+
export interface VatInvoiceOCRResponse {
|
|
10827
|
+
/**
|
|
10828
|
+
* 检测到的文本信息,具体内容请点击左侧链接。
|
|
10829
|
+
*/
|
|
10830
|
+
VatInvoiceInfos?: Array<TextVatInvoice>;
|
|
10831
|
+
/**
|
|
10832
|
+
* 明细条目。VatInvoiceInfos中关于明细项的具体条目。
|
|
10833
|
+
*/
|
|
10834
|
+
Items?: Array<VatInvoiceItem>;
|
|
10835
|
+
/**
|
|
10836
|
+
* 默认值为0。如果图片为PDF时,返回PDF的总页数。
|
|
10837
|
+
*/
|
|
10838
|
+
PdfPageSize?: number;
|
|
10839
|
+
/**
|
|
10840
|
+
* 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
|
10841
|
+
*/
|
|
10842
|
+
Angle?: number;
|
|
10843
|
+
/**
|
|
10844
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10845
|
+
*/
|
|
10846
|
+
RequestId?: string;
|
|
10847
|
+
}
|
|
10764
10848
|
/**
|
|
10765
10849
|
* RecognizeValidIDCardOCR返回参数结构体
|
|
10766
10850
|
*/
|