tencentcloud-sdk-nodejs-ocr 4.1.326 → 4.1.328
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -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, RunRerankRequest, GetOCRTokenResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, RideHailingDriverLicenseOCRResponse, MLIDCardOCRRequest, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, VerifyBizLicenseEnterprise3Response, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnglishOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, 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, DescribeMultimodalDocParseJobRequest, ExtractDocMultiResponse, VerifyGeneralCardWarnResponse, SubmitExtractDocAgentJobResponse, TextDetectRequest, RecognizeThaiIDCardOCRRequest, RecognizeEncryptedIDCardOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, SubmitMarkEssayAgentJobRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, SubmitMarkEssayAgentJobResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, SubmitMultimodalDocParseJobResponse, SubmitQuestionMarkAgentJobResponse, DescribeMultimodalDocParseJobResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnterpriseLicenseOCRRequest, GeneralAccurateOCRRequest, RecognizeFormulaOCRRequest, VatInvoiceVerifyNewRequest, VehicleRegCertOCRResponse, EraseHandwrittenImageOCRResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, VerifyBizLicenseEnterprise4Response, HandwritingEssayOCRRequest, BankSlipOCRResponse, QuestionSplitOCRRequest, PermitOCRResponse, PassportOCRRequest, VerifyScenePhotoRequest, DescribeQuestionMarkAgentJobRequest, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, VerifyScenePhotoResponse, CarInvoiceOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, VerifyBizLicenseEnterprise4Request, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, TrainTicketOCRRequest, GeneralEfficientOCRResponse, MLIDPassportOCRResponse, CropEnhanceImageOCRRequest,
|
|
2
|
+
import { TableOCRRequest, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, VinOCRResponse, BankCardOCRRequest, VatInvoiceVerifyNewResponse, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, DescribeMarkEssayAgentJobResponse, EstateCertOCRResponse, GeneralHandwritingOCRResponse, VerifyGeneralCardWarnRequest, MLIDPassportOCRRequest, RunRerankRequest, GetOCRTokenResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, RideHailingDriverLicenseOCRResponse, MLIDCardOCRRequest, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, VerifyBizLicenseEnterprise3Response, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnglishOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, 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, DescribeMultimodalDocParseJobRequest, ExtractDocMultiResponse, VerifyGeneralCardWarnResponse, SubmitExtractDocAgentJobResponse, TextDetectRequest, RecognizeThaiIDCardOCRRequest, RecognizeEncryptedIDCardOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, SubmitMarkEssayAgentJobRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, SubmitMarkEssayAgentJobResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, SubmitMultimodalDocParseJobResponse, SubmitQuestionMarkAgentJobResponse, DescribeMultimodalDocParseJobResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnterpriseLicenseOCRRequest, GeneralAccurateOCRRequest, RecognizeFormulaOCRRequest, VatInvoiceVerifyNewRequest, VehicleRegCertOCRResponse, VerifyOfdVatInvoiceOCRResponse, EraseHandwrittenImageOCRResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, VerifyBizLicenseEnterprise4Response, HandwritingEssayOCRRequest, BankSlipOCRResponse, QuestionSplitOCRRequest, PermitOCRResponse, PassportOCRRequest, VerifyScenePhotoRequest, DescribeQuestionMarkAgentJobRequest, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, VerifyScenePhotoResponse, CarInvoiceOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, VerifyBizLicenseEnterprise4Request, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, TrainTicketOCRRequest, GeneralEfficientOCRResponse, MLIDPassportOCRResponse, CropEnhanceImageOCRRequest, SealOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, EraseHandwrittenImageOCRRequest, GetOCRResultResponse, MainlandPermitOCRResponse, PermitOCRRequest, SubmitQuestionSplitJobResponse, EnglishOCRResponse, SubmitMultimodalDocParseJobRequest, VerifyBizLicenseEnterprise3Request, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, TextDetectResponse, SubmitQuestionSplitJobRequest, QrcodeOCRRequest, SubmitExtractDocAgentJobRequest, ExtractDocAgentRequest, AdvertiseOCRResponse, RecognizeAgentRequest, SmartStructuralOCRResponse, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, RunRerankResponse, DescribeQuestionSplitJobResponse, BizLicenseOCRResponse, DescribeQuestionSplitJobRequest, BankCardOCRResponse, SubmitQuestionMarkAgentJobRequest, BusinessCardOCRRequest, VatInvoiceOCRResponse, RecognizeValidIDCardOCRResponse, DescribeMarkEssayAgentJobRequest, GeneralFastOCRResponse } from "./ocr_models";
|
|
3
3
|
/**
|
|
4
4
|
* ocr client
|
|
5
5
|
* @class
|
|
@@ -7,15 +7,17 @@ import { TableOCRRequest, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOC
|
|
|
7
7
|
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
8
|
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* 产品规划
|
|
11
|
+
|
|
12
|
+
文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
|
|
11
13
|
|
|
12
14
|
默认接口请求频率限制:10次/秒。
|
|
13
15
|
*/
|
|
14
16
|
ImageEnhancement(req: ImageEnhancementRequest, cb?: (error: string, rep: ImageEnhancementResponse) => void): Promise<ImageEnhancementResponse>;
|
|
15
17
|
/**
|
|
16
|
-
*
|
|
18
|
+
* 试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置,新接入客户请注意UseNewModel选择。如果涉及多页试卷录入和单题跨页/跨栏问题可以选择使用[异步试卷切题(提交任务)](https://cloud.tencent.com/document/product/866/137427)
|
|
17
19
|
|
|
18
|
-
默认接口请求频率限制:
|
|
20
|
+
默认接口请求频率限制:5次/秒。
|
|
19
21
|
*/
|
|
20
22
|
QuestionSplitOCR(req: QuestionSplitOCRRequest, cb?: (error: string, rep: QuestionSplitOCRResponse) => void): Promise<QuestionSplitOCRResponse>;
|
|
21
23
|
/**
|
|
@@ -502,7 +504,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
502
504
|
/**
|
|
503
505
|
* 本接口支持解析多种类型的文档文件(PDF、Word、PPT、Excel、Markdown、TXT、图片、WPS),返回解析后的结果文件下载地址(zip压缩包,包含markdown、json和图片)。
|
|
504
506
|
|
|
505
|
-
支持的文件大小:PDF/Word/PPT支持150M且300页以内、Excel支持10M以内、TXT支持10M以内、图片文件支持
|
|
507
|
+
支持的文件大小:PDF/Word/PPT支持150M且300页以内、Excel支持10M以内、TXT支持10M以内、图片文件支持30M以内。
|
|
506
508
|
|
|
507
509
|
默认接口请求频率限制:5 页并发(注:可同时解析5页,且同步和异步接口共享并发资源,支持增购并发)。
|
|
508
510
|
*/
|
|
@@ -679,7 +681,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
679
681
|
/**
|
|
680
682
|
* 本接口为异步多模态文档解析的任务提交接口,支持解析多种类型的文档文件(PDF、Word、PPT、Excel、Markdown、TXT、图片、WPS),服务端异步执行解析任务,提交后返回任务唯一 ID,可通过「异步多模态文档解析(查询任务)」接口获取最终解析结果。需要 SubmitMultimodalDocParseJob(创建任务)、DescribeMultimodalDocParseJob(查询任务)两个接口配套使用,计费发生在提交任务后。
|
|
681
683
|
|
|
682
|
-
查询任务接口文档地址:https://cloud.tencent.com/document/product/
|
|
684
|
+
查询任务接口文档地址:https://cloud.tencent.com/document/product/866/139313
|
|
683
685
|
|
|
684
686
|
默认接口请求频率限制:5 页并发(注:可同时解析5页,且同步和异步接口共享并发资源,支持增购并发)。
|
|
685
687
|
*/
|
|
@@ -706,7 +708,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
706
708
|
/**
|
|
707
709
|
* 用于查询异步多模态文档解析任务的执行状态与结果,任务执行成功时返回解析结果包的下载地址,任务执行失败时返回对应错误信息。需要 SubmitMultimodalDocParseJob(创建任务)、DescribeMultimodalDocParseJob(查询任务)两个接口配套使用,计费发生在提交任务后。
|
|
708
710
|
|
|
709
|
-
创建任务接口文档地址:https://cloud.tencent.com/document/product/
|
|
711
|
+
创建任务接口文档地址:https://cloud.tencent.com/document/product/866/139312
|
|
710
712
|
|
|
711
713
|
默认接口请求频率限制:5 页并发(注:可同时解析5页,且同步和异步接口共享并发资源,支持增购并发)。
|
|
712
714
|
*/
|
|
@@ -29,7 +29,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
29
29
|
super("ocr.tencentcloudapi.com", "2018-11-19", clientConfig);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* 产品规划
|
|
33
|
+
|
|
34
|
+
文本图像增强是面向文档类图片提供的图像增强处理能力,包括切边增强、图像矫正、阴影去除、摩尔纹去除等;可以有效优化文档类的图片质量,提升文字的清晰度。
|
|
33
35
|
|
|
34
36
|
默认接口请求频率限制:10次/秒。
|
|
35
37
|
*/
|
|
@@ -37,9 +39,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
37
39
|
return this.request("ImageEnhancement", req, cb);
|
|
38
40
|
}
|
|
39
41
|
/**
|
|
40
|
-
*
|
|
42
|
+
* 试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置,新接入客户请注意UseNewModel选择。如果涉及多页试卷录入和单题跨页/跨栏问题可以选择使用[异步试卷切题(提交任务)](https://cloud.tencent.com/document/product/866/137427)
|
|
41
43
|
|
|
42
|
-
默认接口请求频率限制:
|
|
44
|
+
默认接口请求频率限制:5次/秒。
|
|
43
45
|
*/
|
|
44
46
|
async QuestionSplitOCR(req, cb) {
|
|
45
47
|
return this.request("QuestionSplitOCR", req, cb);
|
|
@@ -634,7 +636,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
634
636
|
/**
|
|
635
637
|
* 本接口支持解析多种类型的文档文件(PDF、Word、PPT、Excel、Markdown、TXT、图片、WPS),返回解析后的结果文件下载地址(zip压缩包,包含markdown、json和图片)。
|
|
636
638
|
|
|
637
|
-
支持的文件大小:PDF/Word/PPT支持150M且300页以内、Excel支持10M以内、TXT支持10M以内、图片文件支持
|
|
639
|
+
支持的文件大小:PDF/Word/PPT支持150M且300页以内、Excel支持10M以内、TXT支持10M以内、图片文件支持30M以内。
|
|
638
640
|
|
|
639
641
|
默认接口请求频率限制:5 页并发(注:可同时解析5页,且同步和异步接口共享并发资源,支持增购并发)。
|
|
640
642
|
*/
|
|
@@ -849,7 +851,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
849
851
|
/**
|
|
850
852
|
* 本接口为异步多模态文档解析的任务提交接口,支持解析多种类型的文档文件(PDF、Word、PPT、Excel、Markdown、TXT、图片、WPS),服务端异步执行解析任务,提交后返回任务唯一 ID,可通过「异步多模态文档解析(查询任务)」接口获取最终解析结果。需要 SubmitMultimodalDocParseJob(创建任务)、DescribeMultimodalDocParseJob(查询任务)两个接口配套使用,计费发生在提交任务后。
|
|
851
853
|
|
|
852
|
-
查询任务接口文档地址:https://cloud.tencent.com/document/product/
|
|
854
|
+
查询任务接口文档地址:https://cloud.tencent.com/document/product/866/139313
|
|
853
855
|
|
|
854
856
|
默认接口请求频率限制:5 页并发(注:可同时解析5页,且同步和异步接口共享并发资源,支持增购并发)。
|
|
855
857
|
*/
|
|
@@ -884,7 +886,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
884
886
|
/**
|
|
885
887
|
* 用于查询异步多模态文档解析任务的执行状态与结果,任务执行成功时返回解析结果包的下载地址,任务执行失败时返回对应错误信息。需要 SubmitMultimodalDocParseJob(创建任务)、DescribeMultimodalDocParseJob(查询任务)两个接口配套使用,计费发生在提交任务后。
|
|
886
888
|
|
|
887
|
-
创建任务接口文档地址:https://cloud.tencent.com/document/product/
|
|
889
|
+
创建任务接口文档地址:https://cloud.tencent.com/document/product/866/139312
|
|
888
890
|
|
|
889
891
|
默认接口请求频率限制:5 页并发(注:可同时解析5页,且同步和异步接口共享并发资源,支持增购并发)。
|
|
890
892
|
*/
|
|
@@ -446,25 +446,29 @@ export interface CarInvoiceOCRRequest {
|
|
|
446
446
|
*/
|
|
447
447
|
export interface DescribeQuestionMarkAgentJobResponse {
|
|
448
448
|
/**
|
|
449
|
-
*
|
|
449
|
+
* <p>任务执行错误码。当任务状态不为 FAIL 时,该值为""。</p>
|
|
450
450
|
*/
|
|
451
451
|
ErrorCode?: string;
|
|
452
452
|
/**
|
|
453
|
-
*
|
|
453
|
+
* <p>任务执行错误信息。当任务状态不为 FAIL 时,该值为""。</p>
|
|
454
454
|
*/
|
|
455
455
|
ErrorMessage?: string;
|
|
456
456
|
/**
|
|
457
|
-
*
|
|
457
|
+
* <p>任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功</p>
|
|
458
458
|
*/
|
|
459
459
|
JobStatus?: string;
|
|
460
460
|
/**
|
|
461
|
-
*
|
|
461
|
+
* <p>图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。</p>
|
|
462
462
|
*/
|
|
463
463
|
Angle?: number;
|
|
464
464
|
/**
|
|
465
|
-
*
|
|
465
|
+
* <p>试题批改信息 (该字段后续废弃,使用QuestionInfo兼容多页批改场景)</p>
|
|
466
466
|
*/
|
|
467
467
|
MarkInfos?: Array<MarkInfo>;
|
|
468
|
+
/**
|
|
469
|
+
* <p>试题批改信息。</p>
|
|
470
|
+
*/
|
|
471
|
+
QuestionInfo?: Array<QuestionInfo>;
|
|
468
472
|
/**
|
|
469
473
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
470
474
|
*/
|
|
@@ -2553,34 +2557,23 @@ export interface ArithmeticOCRResponse {
|
|
|
2553
2557
|
*/
|
|
2554
2558
|
export interface RecognizeGeneralCardWarnRequest {
|
|
2555
2559
|
/**
|
|
2556
|
-
*
|
|
2560
|
+
* <p>图片链接</p>
|
|
2557
2561
|
*/
|
|
2558
2562
|
ImageUrl?: string;
|
|
2559
2563
|
/**
|
|
2560
|
-
*
|
|
2564
|
+
* <p>图片base64</p>
|
|
2561
2565
|
*/
|
|
2562
2566
|
ImageBase64?: string;
|
|
2563
2567
|
/**
|
|
2564
|
-
*
|
|
2565
|
-
General:通用卡证
|
|
2566
|
-
IDCard:身份证
|
|
2567
|
-
Passport:护照
|
|
2568
|
-
BankCard:银行卡
|
|
2569
|
-
VehicleLicense:行驶证
|
|
2570
|
-
DriverLicense:驾驶证
|
|
2571
|
-
BizLicense:营业执照
|
|
2572
|
-
HmtResidentPermit:港澳台居住证
|
|
2573
|
-
ForeignPermanentResident:外国人永居证
|
|
2574
|
-
MainlandPermit:港澳台来往内地通行证
|
|
2575
|
-
SocialSecurityCard:社保卡
|
|
2568
|
+
* <p>卡证类型参数,选填,不填则默认为General,枚举值:<br>(如输入图片的卡证类型明确,建议填入,可降低请求耗时)</p><p>General:系统自动分类/其他类型<br>IDCard:身份证<br>Passport:护照<br>BankCard:银行卡<br>VehicleLicense:行驶证<br>DriverLicense:驾驶证<br>BizLicense:营业执照<br>HmtResidentPermit:港澳台居住证<br>ForeignPermanentResident:外国人永居证<br>MainlandPermit:港澳台来往内地通行证<br>SocialSecurityCard:社保卡</p>
|
|
2576
2569
|
*/
|
|
2577
2570
|
CardType?: string;
|
|
2578
2571
|
/**
|
|
2579
|
-
*
|
|
2572
|
+
* <p>是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。</p>
|
|
2580
2573
|
*/
|
|
2581
2574
|
IsPdf?: boolean;
|
|
2582
2575
|
/**
|
|
2583
|
-
*
|
|
2576
|
+
* <p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。</p>
|
|
2584
2577
|
*/
|
|
2585
2578
|
PdfPageNumber?: number;
|
|
2586
2579
|
}
|
|
@@ -2768,30 +2761,23 @@ export interface GeneralHandwritingOCRRequest {
|
|
|
2768
2761
|
*/
|
|
2769
2762
|
export interface BizLicenseOCRRequest {
|
|
2770
2763
|
/**
|
|
2771
|
-
*
|
|
2772
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
2773
|
-
支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
2774
|
-
图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
|
|
2764
|
+
* <p>图片的 Base64 值。<br>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。<br>支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。<br>图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
2775
2765
|
*/
|
|
2776
2766
|
ImageBase64?: string;
|
|
2777
2767
|
/**
|
|
2778
|
-
*
|
|
2779
|
-
支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
|
|
2780
|
-
支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
|
|
2781
|
-
图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
|
|
2782
|
-
非腾讯云存储的 Url 速度和稳定性可能受一定影响。
|
|
2768
|
+
* <p>图片的 Url 地址。<br>支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。<br>支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。<br>图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。<br>非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
2783
2769
|
*/
|
|
2784
2770
|
ImageUrl?: string;
|
|
2785
2771
|
/**
|
|
2786
|
-
*
|
|
2772
|
+
* <p>是否返回告警码,默认为false</p>
|
|
2787
2773
|
*/
|
|
2788
2774
|
EnableCopyWarn?: boolean;
|
|
2789
2775
|
/**
|
|
2790
|
-
*
|
|
2776
|
+
* <p>是否返回自动拼接的有效期,默认为true</p>
|
|
2791
2777
|
*/
|
|
2792
2778
|
EnablePeriodComplete?: boolean;
|
|
2793
2779
|
/**
|
|
2794
|
-
*
|
|
2780
|
+
* <p>是否支持营业类证件识别(包括营业执照和非营业执照的其他证件),默认为false</p>
|
|
2795
2781
|
*/
|
|
2796
2782
|
EnableBusinessCertificate?: boolean;
|
|
2797
2783
|
}
|
|
@@ -5899,7 +5885,7 @@ export interface SubmitQuestionMarkAgentJobResponse {
|
|
|
5899
5885
|
*/
|
|
5900
5886
|
QuestionCount?: string;
|
|
5901
5887
|
/**
|
|
5902
|
-
* <p
|
|
5888
|
+
* <p>废弃字段</p>
|
|
5903
5889
|
*/
|
|
5904
5890
|
OriginalImageUrl?: string;
|
|
5905
5891
|
/**
|
|
@@ -6771,6 +6757,101 @@ export interface AdvertiseTextDetection {
|
|
|
6771
6757
|
*/
|
|
6772
6758
|
AdvancedInfo?: string;
|
|
6773
6759
|
}
|
|
6760
|
+
/**
|
|
6761
|
+
* VerifyOfdVatInvoiceOCR返回参数结构体
|
|
6762
|
+
*/
|
|
6763
|
+
export interface VerifyOfdVatInvoiceOCRResponse {
|
|
6764
|
+
/**
|
|
6765
|
+
* 发票类型
|
|
6766
|
+
026:增值税电子普通发票
|
|
6767
|
+
028:增值税电子专用发票
|
|
6768
|
+
010:电子发票(普通发票)
|
|
6769
|
+
020:电子发票(增值税专用发票)
|
|
6770
|
+
030:电子发票(铁路电子客票)
|
|
6771
|
+
040:电子发票(航空运输电子客票行程单)
|
|
6772
|
+
*/
|
|
6773
|
+
Type?: string;
|
|
6774
|
+
/**
|
|
6775
|
+
* 发票代码
|
|
6776
|
+
*/
|
|
6777
|
+
InvoiceCode?: string;
|
|
6778
|
+
/**
|
|
6779
|
+
* 发票号码
|
|
6780
|
+
*/
|
|
6781
|
+
InvoiceNumber?: string;
|
|
6782
|
+
/**
|
|
6783
|
+
* 开票日期
|
|
6784
|
+
*/
|
|
6785
|
+
IssueDate?: string;
|
|
6786
|
+
/**
|
|
6787
|
+
* 验证码
|
|
6788
|
+
*/
|
|
6789
|
+
InvoiceCheckCode?: string;
|
|
6790
|
+
/**
|
|
6791
|
+
* 机器编号
|
|
6792
|
+
*/
|
|
6793
|
+
MachineNumber?: string;
|
|
6794
|
+
/**
|
|
6795
|
+
* 密码区
|
|
6796
|
+
*/
|
|
6797
|
+
TaxControlCode?: string;
|
|
6798
|
+
/**
|
|
6799
|
+
* 购买方
|
|
6800
|
+
*/
|
|
6801
|
+
Buyer?: VatInvoiceUserInfo;
|
|
6802
|
+
/**
|
|
6803
|
+
* 销售方
|
|
6804
|
+
*/
|
|
6805
|
+
Seller?: VatInvoiceUserInfo;
|
|
6806
|
+
/**
|
|
6807
|
+
* 价税合计
|
|
6808
|
+
*/
|
|
6809
|
+
TaxInclusiveTotalAmount?: string;
|
|
6810
|
+
/**
|
|
6811
|
+
* 开票人
|
|
6812
|
+
*/
|
|
6813
|
+
InvoiceClerk?: string;
|
|
6814
|
+
/**
|
|
6815
|
+
* 收款人
|
|
6816
|
+
*/
|
|
6817
|
+
Payee?: string;
|
|
6818
|
+
/**
|
|
6819
|
+
* 复核人
|
|
6820
|
+
*/
|
|
6821
|
+
Checker?: string;
|
|
6822
|
+
/**
|
|
6823
|
+
* 税额
|
|
6824
|
+
*/
|
|
6825
|
+
TaxTotalAmount?: string;
|
|
6826
|
+
/**
|
|
6827
|
+
* 不含税金额
|
|
6828
|
+
*/
|
|
6829
|
+
TaxExclusiveTotalAmount?: string;
|
|
6830
|
+
/**
|
|
6831
|
+
* 备注
|
|
6832
|
+
*/
|
|
6833
|
+
Note?: string;
|
|
6834
|
+
/**
|
|
6835
|
+
* 货物或服务清单
|
|
6836
|
+
*/
|
|
6837
|
+
GoodsInfos?: Array<VatInvoiceGoodsInfo>;
|
|
6838
|
+
/**
|
|
6839
|
+
* 航空运输电子客票行程单信息
|
|
6840
|
+
*/
|
|
6841
|
+
AirTicketInfo?: AirTicketInfo;
|
|
6842
|
+
/**
|
|
6843
|
+
* 铁路电子客票
|
|
6844
|
+
*/
|
|
6845
|
+
RailwayTicketInfo?: RailwayTicketInfo;
|
|
6846
|
+
/**
|
|
6847
|
+
* 发票标题
|
|
6848
|
+
*/
|
|
6849
|
+
InvoiceTitle?: string;
|
|
6850
|
+
/**
|
|
6851
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6852
|
+
*/
|
|
6853
|
+
RequestId?: string;
|
|
6854
|
+
}
|
|
6774
6855
|
/**
|
|
6775
6856
|
* 外国人永久居留证信息返回
|
|
6776
6857
|
*/
|
|
@@ -7200,62 +7281,51 @@ export interface GetOCRTokenRequest {
|
|
|
7200
7281
|
*/
|
|
7201
7282
|
export interface RecognizeGeneralCardWarnResponse {
|
|
7202
7283
|
/**
|
|
7203
|
-
*
|
|
7204
|
-
General:通用卡证
|
|
7205
|
-
IDCard:身份证
|
|
7206
|
-
Passport:护照
|
|
7207
|
-
BankCard:银行卡
|
|
7208
|
-
VehicleLicense:行驶证
|
|
7209
|
-
DriverLicense:驾驶证
|
|
7210
|
-
BizLicense:营业执照
|
|
7211
|
-
HmtResidentPermit:港澳台居住证
|
|
7212
|
-
ForeignPermanentResident:外国人永居证
|
|
7213
|
-
MainlandPermit:港澳台来往内地通行证
|
|
7214
|
-
SocialSecurityCard:社保卡
|
|
7284
|
+
* <p>卡证类型参数,枚举值:<br>(如入参CardType未填或填入General,返回自动分类的卡证类型,未能分类的其他类型返回General;如入参CardType填入General以外的值,则不进行自动分类、返回相同的值)</p><p>General:其他类型<br>IDCard:身份证<br>Passport:护照<br>BankCard:银行卡<br>VehicleLicense:行驶证<br>DriverLicense:驾驶证<br>BizLicense:营业执照<br>HmtResidentPermit:港澳台居住证<br>ForeignPermanentResident:外国人永居证<br>MainlandPermit:港澳台来往内地通行证<br>SocialSecurityCard:社保卡</p>
|
|
7215
7285
|
*/
|
|
7216
7286
|
CardType?: string;
|
|
7217
7287
|
/**
|
|
7218
|
-
*
|
|
7288
|
+
* <p>模糊信息</p>
|
|
7219
7289
|
*/
|
|
7220
7290
|
Blur?: GeneralCardWarnInfo;
|
|
7221
7291
|
/**
|
|
7222
|
-
*
|
|
7292
|
+
* <p>边框不完整信息</p>
|
|
7223
7293
|
*/
|
|
7224
7294
|
BorderIncomplete?: GeneralCardWarnInfo;
|
|
7225
7295
|
/**
|
|
7226
|
-
*
|
|
7296
|
+
* <p>复印件信息</p>
|
|
7227
7297
|
*/
|
|
7228
7298
|
Copy?: GeneralCardWarnInfo;
|
|
7229
7299
|
/**
|
|
7230
|
-
* ps
|
|
7300
|
+
* <p>ps篡改信息</p>
|
|
7231
7301
|
*/
|
|
7232
7302
|
Ps?: GeneralCardWarnInfo;
|
|
7233
7303
|
/**
|
|
7234
|
-
*
|
|
7304
|
+
* <p>反光信息</p>
|
|
7235
7305
|
*/
|
|
7236
7306
|
Reflection?: GeneralCardWarnInfo;
|
|
7237
7307
|
/**
|
|
7238
|
-
*
|
|
7308
|
+
* <p>翻拍件信息</p>
|
|
7239
7309
|
*/
|
|
7240
7310
|
Reprint?: GeneralCardWarnInfo;
|
|
7241
7311
|
/**
|
|
7242
|
-
*
|
|
7312
|
+
* <p>是否截图</p>
|
|
7243
7313
|
*/
|
|
7244
7314
|
Screenshot?: GeneralCardWarnInfo;
|
|
7245
7315
|
/**
|
|
7246
|
-
*
|
|
7316
|
+
* <p>是否遮挡</p>
|
|
7247
7317
|
*/
|
|
7248
7318
|
Cover?: GeneralCardWarnInfo;
|
|
7249
7319
|
/**
|
|
7250
|
-
*
|
|
7320
|
+
* <p>是否重叠</p>
|
|
7251
7321
|
*/
|
|
7252
7322
|
Overlap?: GeneralCardWarnInfo;
|
|
7253
7323
|
/**
|
|
7254
|
-
*
|
|
7324
|
+
* <p>是否水印</p>
|
|
7255
7325
|
*/
|
|
7256
7326
|
Watermark?: GeneralCardWarnInfo;
|
|
7257
7327
|
/**
|
|
7258
|
-
*
|
|
7328
|
+
* <p>是否电子证照(目前仅支持电子身份证、电子营业执照识别</p>
|
|
7259
7329
|
*/
|
|
7260
7330
|
Electron?: GeneralCardWarnInfo;
|
|
7261
7331
|
/**
|
|
@@ -8127,7 +8197,7 @@ export interface VerifyScenePhotoRequest {
|
|
|
8127
8197
|
*/
|
|
8128
8198
|
export interface DescribeQuestionMarkAgentJobRequest {
|
|
8129
8199
|
/**
|
|
8130
|
-
*
|
|
8200
|
+
* <p>任务唯一ID。由服务端生成。</p>
|
|
8131
8201
|
*/
|
|
8132
8202
|
JobId?: string;
|
|
8133
8203
|
}
|
|
@@ -9123,99 +9193,21 @@ export interface CropEnhanceImageOCRRequest {
|
|
|
9123
9193
|
AdjustOrientation?: number;
|
|
9124
9194
|
}
|
|
9125
9195
|
/**
|
|
9126
|
-
*
|
|
9196
|
+
* 试题识别结果-答案元素内容
|
|
9127
9197
|
*/
|
|
9128
|
-
export interface
|
|
9129
|
-
/**
|
|
9130
|
-
* 发票类型
|
|
9131
|
-
026:增值税电子普通发票
|
|
9132
|
-
028:增值税电子专用发票
|
|
9133
|
-
010:电子发票(普通发票)
|
|
9134
|
-
020:电子发票(增值税专用发票)
|
|
9135
|
-
030:电子发票(铁路电子客票)
|
|
9136
|
-
040:电子发票(航空运输电子客票行程单)
|
|
9137
|
-
*/
|
|
9138
|
-
Type?: string;
|
|
9139
|
-
/**
|
|
9140
|
-
* 发票代码
|
|
9141
|
-
*/
|
|
9142
|
-
InvoiceCode?: string;
|
|
9143
|
-
/**
|
|
9144
|
-
* 发票号码
|
|
9145
|
-
*/
|
|
9146
|
-
InvoiceNumber?: string;
|
|
9147
|
-
/**
|
|
9148
|
-
* 开票日期
|
|
9149
|
-
*/
|
|
9150
|
-
IssueDate?: string;
|
|
9151
|
-
/**
|
|
9152
|
-
* 验证码
|
|
9153
|
-
*/
|
|
9154
|
-
InvoiceCheckCode?: string;
|
|
9155
|
-
/**
|
|
9156
|
-
* 机器编号
|
|
9157
|
-
*/
|
|
9158
|
-
MachineNumber?: string;
|
|
9159
|
-
/**
|
|
9160
|
-
* 密码区
|
|
9161
|
-
*/
|
|
9162
|
-
TaxControlCode?: string;
|
|
9163
|
-
/**
|
|
9164
|
-
* 购买方
|
|
9165
|
-
*/
|
|
9166
|
-
Buyer?: VatInvoiceUserInfo;
|
|
9167
|
-
/**
|
|
9168
|
-
* 销售方
|
|
9169
|
-
*/
|
|
9170
|
-
Seller?: VatInvoiceUserInfo;
|
|
9198
|
+
export interface AnswerElement {
|
|
9171
9199
|
/**
|
|
9172
|
-
*
|
|
9173
|
-
*/
|
|
9174
|
-
TaxInclusiveTotalAmount?: string;
|
|
9175
|
-
/**
|
|
9176
|
-
* 开票人
|
|
9200
|
+
* <p>答案是否正确</p>
|
|
9177
9201
|
*/
|
|
9178
|
-
|
|
9179
|
-
/**
|
|
9180
|
-
* 收款人
|
|
9181
|
-
*/
|
|
9182
|
-
Payee?: string;
|
|
9183
|
-
/**
|
|
9184
|
-
* 复核人
|
|
9185
|
-
*/
|
|
9186
|
-
Checker?: string;
|
|
9187
|
-
/**
|
|
9188
|
-
* 税额
|
|
9189
|
-
*/
|
|
9190
|
-
TaxTotalAmount?: string;
|
|
9191
|
-
/**
|
|
9192
|
-
* 不含税金额
|
|
9193
|
-
*/
|
|
9194
|
-
TaxExclusiveTotalAmount?: string;
|
|
9195
|
-
/**
|
|
9196
|
-
* 备注
|
|
9197
|
-
*/
|
|
9198
|
-
Note?: string;
|
|
9199
|
-
/**
|
|
9200
|
-
* 货物或服务清单
|
|
9201
|
-
*/
|
|
9202
|
-
GoodsInfos?: Array<VatInvoiceGoodsInfo>;
|
|
9203
|
-
/**
|
|
9204
|
-
* 航空运输电子客票行程单信息
|
|
9205
|
-
*/
|
|
9206
|
-
AirTicketInfo?: AirTicketInfo;
|
|
9207
|
-
/**
|
|
9208
|
-
* 铁路电子客票
|
|
9209
|
-
*/
|
|
9210
|
-
RailwayTicketInfo?: RailwayTicketInfo;
|
|
9202
|
+
IsCorrect?: boolean;
|
|
9211
9203
|
/**
|
|
9212
|
-
*
|
|
9204
|
+
* <p>答案分析结果</p>
|
|
9213
9205
|
*/
|
|
9214
|
-
|
|
9206
|
+
AnswerAnalysis?: string;
|
|
9215
9207
|
/**
|
|
9216
|
-
*
|
|
9208
|
+
* <p>返回正确答案内容</p>
|
|
9217
9209
|
*/
|
|
9218
|
-
|
|
9210
|
+
RightAnswer?: string;
|
|
9219
9211
|
}
|
|
9220
9212
|
/**
|
|
9221
9213
|
* 医疗票据信息
|
|
@@ -9899,6 +9891,10 @@ export interface QuestionInfo {
|
|
|
9899
9891
|
* <p>预处理后的图片base64编码</p>
|
|
9900
9892
|
*/
|
|
9901
9893
|
ImageBase64?: string;
|
|
9894
|
+
/**
|
|
9895
|
+
* <p>预处理后的图片URL,如果开启了图像切边矫正,后续的坐标都是基于当前图片返回的坐标</p>
|
|
9896
|
+
*/
|
|
9897
|
+
ReturnImageUrl?: string;
|
|
9902
9898
|
}
|
|
9903
9899
|
/**
|
|
9904
9900
|
* 出租车发票
|
|
@@ -10271,6 +10267,10 @@ export interface SubmitQuestionSplitJobRequest {
|
|
|
10271
10267
|
* <p>选择切题模型</p><p>枚举值:</p><ul><li>youtu_crop: 轻量化切题模型,运算速度更快,适合常规切题</li><li>youtu_crop_pro: 属于切题精调大模型,针对双栏、跨栏等复杂版式识别精度大幅提升,但推理耗时更长</li></ul><p>默认值:youtu_crop</p>
|
|
10272
10268
|
*/
|
|
10273
10269
|
ModelType?: string;
|
|
10270
|
+
/**
|
|
10271
|
+
* <p>是否开启切边、弯曲矫正、方向矫正,开启则批改之前先做图片前处理,图片url地址返回在查询接口的QuestionInfo-> ReturnImageUr中l,默认为false不开启</p>
|
|
10272
|
+
*/
|
|
10273
|
+
EnableImageCrop?: boolean;
|
|
10274
10274
|
}
|
|
10275
10275
|
/**
|
|
10276
10276
|
* 企业证照单个字段的内容
|
|
@@ -10377,6 +10377,10 @@ export interface Element {
|
|
|
10377
10377
|
* <p>元素所在页</p><p>单位:页</p><p>默认值:1</p>
|
|
10378
10378
|
*/
|
|
10379
10379
|
PageIndex?: number;
|
|
10380
|
+
/**
|
|
10381
|
+
* <p>批改时答案的额外数据</p>
|
|
10382
|
+
*/
|
|
10383
|
+
AnswerElement?: AnswerElement;
|
|
10380
10384
|
}
|
|
10381
10385
|
/**
|
|
10382
10386
|
* SubmitExtractDocAgentJob请求参数结构体
|
|
@@ -10857,105 +10861,99 @@ export interface DescribeQuestionSplitJobResponse {
|
|
|
10857
10861
|
*/
|
|
10858
10862
|
export interface BizLicenseOCRResponse {
|
|
10859
10863
|
/**
|
|
10860
|
-
*
|
|
10864
|
+
* <p>统一社会信用代码(三合一之前为注册号)</p>
|
|
10861
10865
|
*/
|
|
10862
10866
|
RegNum?: string;
|
|
10863
10867
|
/**
|
|
10864
|
-
*
|
|
10868
|
+
* <p>公司名称</p>
|
|
10865
10869
|
*/
|
|
10866
10870
|
Name?: string;
|
|
10867
10871
|
/**
|
|
10868
|
-
*
|
|
10872
|
+
* <p>注册资本</p>
|
|
10869
10873
|
*/
|
|
10870
10874
|
Capital?: string;
|
|
10871
10875
|
/**
|
|
10872
|
-
*
|
|
10876
|
+
* <p>法定代表人</p>
|
|
10873
10877
|
*/
|
|
10874
10878
|
Person?: string;
|
|
10875
10879
|
/**
|
|
10876
|
-
*
|
|
10880
|
+
* <p>地址</p>
|
|
10877
10881
|
*/
|
|
10878
10882
|
Address?: string;
|
|
10879
10883
|
/**
|
|
10880
|
-
*
|
|
10884
|
+
* <p>经营范围</p>
|
|
10881
10885
|
*/
|
|
10882
10886
|
Business?: string;
|
|
10883
10887
|
/**
|
|
10884
|
-
*
|
|
10888
|
+
* <p>主体类型</p>
|
|
10885
10889
|
*/
|
|
10886
10890
|
Type?: string;
|
|
10887
10891
|
/**
|
|
10888
|
-
*
|
|
10892
|
+
* <p>营业期限</p>
|
|
10889
10893
|
*/
|
|
10890
10894
|
Period?: string;
|
|
10891
10895
|
/**
|
|
10892
|
-
*
|
|
10896
|
+
* <p>组成形式</p>
|
|
10893
10897
|
*/
|
|
10894
10898
|
ComposingForm?: string;
|
|
10895
10899
|
/**
|
|
10896
|
-
*
|
|
10900
|
+
* <p>成立日期</p>
|
|
10897
10901
|
*/
|
|
10898
10902
|
SetDate?: string;
|
|
10899
10903
|
/**
|
|
10900
|
-
* Code
|
|
10901
|
-
-9102 黑白复印件告警
|
|
10902
|
-
-9104 翻拍件告警
|
|
10904
|
+
* <p>Code 告警码列表和释义:<br>-9102 黑白复印件告警<br>-9104 翻拍件告警<br>-9108 经营范围识别异常告警(由于文字过小、模糊、反光、遮挡或明显倾斜等情况导致未能正常识别)</p>
|
|
10903
10905
|
*/
|
|
10904
10906
|
RecognizeWarnCode?: Array<number | bigint>;
|
|
10905
10907
|
/**
|
|
10906
|
-
*
|
|
10907
|
-
WARN_COPY_CARD 黑白复印件告警
|
|
10908
|
-
WARN_RESHOOT_CARD翻拍件告警
|
|
10908
|
+
* <p>告警码说明:<br>WARN_COPY_CARD 黑白复印件告警<br>WARN_RESHOOT_CARD翻拍件告警<br>WARN_EARLY_STOP 经营范围识别异常告警</p>
|
|
10909
10909
|
*/
|
|
10910
10910
|
RecognizeWarnMsg?: Array<string>;
|
|
10911
10911
|
/**
|
|
10912
|
-
*
|
|
10912
|
+
* <p>是否为副本。1为是,-1为不是。</p>
|
|
10913
10913
|
*/
|
|
10914
10914
|
IsDuplication?: number;
|
|
10915
10915
|
/**
|
|
10916
|
-
*
|
|
10916
|
+
* <p>登记日期</p>
|
|
10917
10917
|
*/
|
|
10918
10918
|
RegistrationDate?: string;
|
|
10919
10919
|
/**
|
|
10920
|
-
*
|
|
10921
|
-
|
|
10922
|
-
|
|
10920
|
+
* <p>图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度</p>
|
|
10923
10921
|
*/
|
|
10924
10922
|
Angle?: number;
|
|
10925
10923
|
/**
|
|
10926
|
-
*
|
|
10924
|
+
* <p>是否有国徽。false为没有,true为有。</p>
|
|
10927
10925
|
*/
|
|
10928
10926
|
NationalEmblem?: boolean;
|
|
10929
10927
|
/**
|
|
10930
|
-
*
|
|
10928
|
+
* <p>是否有二维码。false为没有,true为有。</p>
|
|
10931
10929
|
*/
|
|
10932
10930
|
QRCode?: boolean;
|
|
10933
10931
|
/**
|
|
10934
|
-
*
|
|
10932
|
+
* <p>是否有印章。false为没有,true为有。</p>
|
|
10935
10933
|
*/
|
|
10936
10934
|
Seal?: boolean;
|
|
10937
10935
|
/**
|
|
10938
|
-
*
|
|
10936
|
+
* <p>标题</p>
|
|
10939
10937
|
*/
|
|
10940
10938
|
Title?: string;
|
|
10941
10939
|
/**
|
|
10942
|
-
*
|
|
10940
|
+
* <p>编号</p>
|
|
10943
10941
|
*/
|
|
10944
10942
|
SerialNumber?: string;
|
|
10945
10943
|
/**
|
|
10946
|
-
*
|
|
10944
|
+
* <p>登记机关</p>
|
|
10947
10945
|
*/
|
|
10948
10946
|
RegistrationAuthority?: string;
|
|
10949
10947
|
/**
|
|
10950
|
-
*
|
|
10948
|
+
* <p>是否是电子营业执照。false为没有,true为有。</p>
|
|
10951
10949
|
*/
|
|
10952
10950
|
Electronic?: boolean;
|
|
10953
10951
|
/**
|
|
10954
|
-
*
|
|
10952
|
+
* <p>非营业执照的营业类证件识别结果,将以结构化形式呈现。</p>
|
|
10955
10953
|
*/
|
|
10956
10954
|
BusinessCertificate?: Array<BusinessCertificateInfo>;
|
|
10957
10955
|
/**
|
|
10958
|
-
*
|
|
10956
|
+
* <p>重要提示字段</p>
|
|
10959
10957
|
*/
|
|
10960
10958
|
Important?: string;
|
|
10961
10959
|
/**
|
|
@@ -11005,6 +11003,18 @@ export interface ResultList {
|
|
|
11005
11003
|
* <p>多坐标返回,显示坐标所在页</p><p>默认值:[]</p>
|
|
11006
11004
|
*/
|
|
11007
11005
|
CoordPageIndex?: Array<number | bigint>;
|
|
11006
|
+
/**
|
|
11007
|
+
* <p>返回正确答案内容</p>
|
|
11008
|
+
*/
|
|
11009
|
+
RightAnswer?: string;
|
|
11010
|
+
/**
|
|
11011
|
+
* <p>学科(如语文、数学、英语)</p>
|
|
11012
|
+
*/
|
|
11013
|
+
Subject?: string;
|
|
11014
|
+
/**
|
|
11015
|
+
* <p>返回题目的知识点内容</p>
|
|
11016
|
+
*/
|
|
11017
|
+
KnowledgePoints?: Array<string>;
|
|
11008
11018
|
}
|
|
11009
11019
|
/**
|
|
11010
11020
|
* DescribeQuestionSplitJob请求参数结构体
|
|
@@ -11108,7 +11118,7 @@ export interface SubmitQuestionMarkAgentJobRequest {
|
|
|
11108
11118
|
*/
|
|
11109
11119
|
ImageUrl?: string;
|
|
11110
11120
|
/**
|
|
11111
|
-
* <p
|
|
11121
|
+
* <p>不传则默认识别整个PDF,如果识别单页则输入指定页码</p>
|
|
11112
11122
|
*/
|
|
11113
11123
|
PdfPageNumber?: number;
|
|
11114
11124
|
/**
|
|
@@ -11122,19 +11132,19 @@ export interface SubmitQuestionMarkAgentJobRequest {
|
|
|
11122
11132
|
*/
|
|
11123
11133
|
EnableDeepThink?: boolean;
|
|
11124
11134
|
/**
|
|
11125
|
-
* <p>题目信息输出配置,当key对应为true
|
|
11135
|
+
* <p>题目信息输出配置,当key对应为true表示开启配置开关。<br>当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;<br>当key为TrueAnswer value为true 表示输出每道题的正确答案 ;<br>当key为StepCorrection value为true表示启用步骤级批改;<br>当key为DisableAnswerAnalysis value为true表示不输出答案解析;<br>当key为OutputSubQuestionsAndCoords value为true表示输出子题干和插图坐标;<br>当key为UseCoordAssist value为true表示使用精调坐标辅助模型,false表示默认模型坐标(性能更优);</p>
|
|
11126
11136
|
*/
|
|
11127
11137
|
QuestionConfigMap?: string;
|
|
11128
11138
|
/**
|
|
11129
|
-
* <p>仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中</p>
|
|
11139
|
+
* <p>【废除字段】<br>仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中</p>
|
|
11130
11140
|
*/
|
|
11131
11141
|
ReferenceAnswer?: string;
|
|
11132
11142
|
/**
|
|
11133
|
-
* <p>批量base64图片入口,每个base64参考单独ImageBase64参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N来输入答题试卷和含正确解析试卷,最多两张</li><li>当AssistMarkType不为2时,ImageBase64List.N/ImageUrlList.N
|
|
11143
|
+
* <p>批量base64图片入口,每个base64参考单独ImageBase64参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N来输入答题试卷和含正确解析试卷,最多两张</li><li>当AssistMarkType不为2时,ImageBase64List.N/ImageUrlList.N图片会执行多图同时批改逻辑(解决单题跨页场景)</li></ol>
|
|
11134
11144
|
*/
|
|
11135
11145
|
ImageBase64List?: Array<string>;
|
|
11136
11146
|
/**
|
|
11137
|
-
* <p>批量ImageUrl图片入口,每个ImageUrl参考单独ImageUrl参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N 来输入答题试卷和含正确解析试卷,最多两张</li><li>当AssistMarkType不为2时,ImageBase64List.N/ImageUrlList.N
|
|
11147
|
+
* <p>批量ImageUrl图片入口,每个ImageUrl参考单独ImageUrl参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N 来输入答题试卷和含正确解析试卷,最多两张</li><li>当AssistMarkType不为2时,ImageBase64List.N/ImageUrlList.N图片会执行多图同时批改逻辑(解决单题跨页场景)</li></ol>
|
|
11138
11148
|
*/
|
|
11139
11149
|
ImageUrlList?: Array<string>;
|
|
11140
11150
|
/**
|
|
@@ -11145,6 +11155,10 @@ export interface SubmitQuestionMarkAgentJobRequest {
|
|
|
11145
11155
|
* <p>单题辅助批改文本内容列表,当AssistMarkType为1时生效,用于提供题目相关的辅助文本信息。</p><ol><li>当key为ReferenceAnswer,value可以输入单题的辅助答案文本。</li><li>当key为QuestionAuxStem,value可以输入单题的辅助题干。</li></ol>
|
|
11146
11156
|
*/
|
|
11147
11157
|
AnswerAssistMap?: string;
|
|
11158
|
+
/**
|
|
11159
|
+
* <p>是否开启切边、弯曲矫正、方向矫正,开启则批改之前先做图片前处理,图片url地址返回在查询接口的QuestionInfo-> ReturnImageUr中l,默认为false不开启<br>示例值:false</p>
|
|
11160
|
+
*/
|
|
11161
|
+
EnableImageCrop?: boolean;
|
|
11148
11162
|
}
|
|
11149
11163
|
/**
|
|
11150
11164
|
* BusinessCardOCR请求参数结构体
|