tencentcloud-sdk-nodejs-ocr 4.1.327 → 4.1.329
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
|
|
@@ -15,9 +15,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
15
15
|
*/
|
|
16
16
|
ImageEnhancement(req: ImageEnhancementRequest, cb?: (error: string, rep: ImageEnhancementResponse) => void): Promise<ImageEnhancementResponse>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* 试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置,新接入客户请注意UseNewModel选择。如果涉及多页试卷录入和单题跨页/跨栏问题可以选择使用[异步试卷切题(提交任务)](https://cloud.tencent.com/document/product/866/137427)
|
|
19
19
|
|
|
20
|
-
默认接口请求频率限制:
|
|
20
|
+
默认接口请求频率限制:5次/秒。
|
|
21
21
|
*/
|
|
22
22
|
QuestionSplitOCR(req: QuestionSplitOCRRequest, cb?: (error: string, rep: QuestionSplitOCRResponse) => void): Promise<QuestionSplitOCRResponse>;
|
|
23
23
|
/**
|
|
@@ -39,9 +39,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
39
39
|
return this.request("ImageEnhancement", req, cb);
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* 试卷切题识别可将整页练习册、试卷或教辅中的题目进行自动切题,并识别出其中的文字内容和坐标位置,新接入客户请注意UseNewModel选择。如果涉及多页试卷录入和单题跨页/跨栏问题可以选择使用[异步试卷切题(提交任务)](https://cloud.tencent.com/document/product/866/137427)
|
|
43
43
|
|
|
44
|
-
默认接口请求频率限制:
|
|
44
|
+
默认接口请求频率限制:5次/秒。
|
|
45
45
|
*/
|
|
46
46
|
async QuestionSplitOCR(req, cb) {
|
|
47
47
|
return this.request("QuestionSplitOCR", req, cb);
|
|
@@ -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
|
*/
|
|
@@ -5881,7 +5885,7 @@ export interface SubmitQuestionMarkAgentJobResponse {
|
|
|
5881
5885
|
*/
|
|
5882
5886
|
QuestionCount?: string;
|
|
5883
5887
|
/**
|
|
5884
|
-
* <p
|
|
5888
|
+
* <p>【废弃字段】</p>
|
|
5885
5889
|
*/
|
|
5886
5890
|
OriginalImageUrl?: string;
|
|
5887
5891
|
/**
|
|
@@ -6753,6 +6757,101 @@ export interface AdvertiseTextDetection {
|
|
|
6753
6757
|
*/
|
|
6754
6758
|
AdvancedInfo?: string;
|
|
6755
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
|
+
}
|
|
6756
6855
|
/**
|
|
6757
6856
|
* 外国人永久居留证信息返回
|
|
6758
6857
|
*/
|
|
@@ -8098,7 +8197,7 @@ export interface VerifyScenePhotoRequest {
|
|
|
8098
8197
|
*/
|
|
8099
8198
|
export interface DescribeQuestionMarkAgentJobRequest {
|
|
8100
8199
|
/**
|
|
8101
|
-
*
|
|
8200
|
+
* <p>任务唯一ID。由服务端生成。</p>
|
|
8102
8201
|
*/
|
|
8103
8202
|
JobId?: string;
|
|
8104
8203
|
}
|
|
@@ -9094,99 +9193,21 @@ export interface CropEnhanceImageOCRRequest {
|
|
|
9094
9193
|
AdjustOrientation?: number;
|
|
9095
9194
|
}
|
|
9096
9195
|
/**
|
|
9097
|
-
*
|
|
9196
|
+
* 试题识别结果-答案元素内容
|
|
9098
9197
|
*/
|
|
9099
|
-
export interface
|
|
9100
|
-
/**
|
|
9101
|
-
* 发票类型
|
|
9102
|
-
026:增值税电子普通发票
|
|
9103
|
-
028:增值税电子专用发票
|
|
9104
|
-
010:电子发票(普通发票)
|
|
9105
|
-
020:电子发票(增值税专用发票)
|
|
9106
|
-
030:电子发票(铁路电子客票)
|
|
9107
|
-
040:电子发票(航空运输电子客票行程单)
|
|
9108
|
-
*/
|
|
9109
|
-
Type?: string;
|
|
9110
|
-
/**
|
|
9111
|
-
* 发票代码
|
|
9112
|
-
*/
|
|
9113
|
-
InvoiceCode?: string;
|
|
9114
|
-
/**
|
|
9115
|
-
* 发票号码
|
|
9116
|
-
*/
|
|
9117
|
-
InvoiceNumber?: string;
|
|
9118
|
-
/**
|
|
9119
|
-
* 开票日期
|
|
9120
|
-
*/
|
|
9121
|
-
IssueDate?: string;
|
|
9122
|
-
/**
|
|
9123
|
-
* 验证码
|
|
9124
|
-
*/
|
|
9125
|
-
InvoiceCheckCode?: string;
|
|
9126
|
-
/**
|
|
9127
|
-
* 机器编号
|
|
9128
|
-
*/
|
|
9129
|
-
MachineNumber?: string;
|
|
9130
|
-
/**
|
|
9131
|
-
* 密码区
|
|
9132
|
-
*/
|
|
9133
|
-
TaxControlCode?: string;
|
|
9134
|
-
/**
|
|
9135
|
-
* 购买方
|
|
9136
|
-
*/
|
|
9137
|
-
Buyer?: VatInvoiceUserInfo;
|
|
9138
|
-
/**
|
|
9139
|
-
* 销售方
|
|
9140
|
-
*/
|
|
9141
|
-
Seller?: VatInvoiceUserInfo;
|
|
9142
|
-
/**
|
|
9143
|
-
* 价税合计
|
|
9144
|
-
*/
|
|
9145
|
-
TaxInclusiveTotalAmount?: string;
|
|
9146
|
-
/**
|
|
9147
|
-
* 开票人
|
|
9148
|
-
*/
|
|
9149
|
-
InvoiceClerk?: string;
|
|
9198
|
+
export interface AnswerElement {
|
|
9150
9199
|
/**
|
|
9151
|
-
*
|
|
9200
|
+
* <p>答案是否正确</p>
|
|
9152
9201
|
*/
|
|
9153
|
-
|
|
9154
|
-
/**
|
|
9155
|
-
* 复核人
|
|
9156
|
-
*/
|
|
9157
|
-
Checker?: string;
|
|
9158
|
-
/**
|
|
9159
|
-
* 税额
|
|
9160
|
-
*/
|
|
9161
|
-
TaxTotalAmount?: string;
|
|
9162
|
-
/**
|
|
9163
|
-
* 不含税金额
|
|
9164
|
-
*/
|
|
9165
|
-
TaxExclusiveTotalAmount?: string;
|
|
9166
|
-
/**
|
|
9167
|
-
* 备注
|
|
9168
|
-
*/
|
|
9169
|
-
Note?: string;
|
|
9170
|
-
/**
|
|
9171
|
-
* 货物或服务清单
|
|
9172
|
-
*/
|
|
9173
|
-
GoodsInfos?: Array<VatInvoiceGoodsInfo>;
|
|
9174
|
-
/**
|
|
9175
|
-
* 航空运输电子客票行程单信息
|
|
9176
|
-
*/
|
|
9177
|
-
AirTicketInfo?: AirTicketInfo;
|
|
9178
|
-
/**
|
|
9179
|
-
* 铁路电子客票
|
|
9180
|
-
*/
|
|
9181
|
-
RailwayTicketInfo?: RailwayTicketInfo;
|
|
9202
|
+
IsCorrect?: boolean;
|
|
9182
9203
|
/**
|
|
9183
|
-
*
|
|
9204
|
+
* <p>答案分析结果</p>
|
|
9184
9205
|
*/
|
|
9185
|
-
|
|
9206
|
+
AnswerAnalysis?: string;
|
|
9186
9207
|
/**
|
|
9187
|
-
*
|
|
9208
|
+
* <p>返回正确答案内容</p>
|
|
9188
9209
|
*/
|
|
9189
|
-
|
|
9210
|
+
RightAnswer?: string;
|
|
9190
9211
|
}
|
|
9191
9212
|
/**
|
|
9192
9213
|
* 医疗票据信息
|
|
@@ -9870,6 +9891,10 @@ export interface QuestionInfo {
|
|
|
9870
9891
|
* <p>预处理后的图片base64编码</p>
|
|
9871
9892
|
*/
|
|
9872
9893
|
ImageBase64?: string;
|
|
9894
|
+
/**
|
|
9895
|
+
* <p>预处理后的图片URL,如果开启了图像切边矫正,后续的坐标都是基于当前图片返回的坐标</p>
|
|
9896
|
+
*/
|
|
9897
|
+
ReturnImageUrl?: string;
|
|
9873
9898
|
}
|
|
9874
9899
|
/**
|
|
9875
9900
|
* 出租车发票
|
|
@@ -10242,6 +10267,10 @@ export interface SubmitQuestionSplitJobRequest {
|
|
|
10242
10267
|
* <p>选择切题模型</p><p>枚举值:</p><ul><li>youtu_crop: 轻量化切题模型,运算速度更快,适合常规切题</li><li>youtu_crop_pro: 属于切题精调大模型,针对双栏、跨栏等复杂版式识别精度大幅提升,但推理耗时更长</li></ul><p>默认值:youtu_crop</p>
|
|
10243
10268
|
*/
|
|
10244
10269
|
ModelType?: string;
|
|
10270
|
+
/**
|
|
10271
|
+
* <p>是否开启切边、弯曲矫正、方向矫正,开启则批改之前先做图片前处理,图片url地址返回在查询接口的QuestionInfo-> ReturnImageUr中l,默认为false不开启</p>
|
|
10272
|
+
*/
|
|
10273
|
+
EnableImageCrop?: boolean;
|
|
10245
10274
|
}
|
|
10246
10275
|
/**
|
|
10247
10276
|
* 企业证照单个字段的内容
|
|
@@ -10348,6 +10377,10 @@ export interface Element {
|
|
|
10348
10377
|
* <p>元素所在页</p><p>单位:页</p><p>默认值:1</p>
|
|
10349
10378
|
*/
|
|
10350
10379
|
PageIndex?: number;
|
|
10380
|
+
/**
|
|
10381
|
+
* <p>批改时答案的额外数据</p>
|
|
10382
|
+
*/
|
|
10383
|
+
AnswerElement?: AnswerElement;
|
|
10351
10384
|
}
|
|
10352
10385
|
/**
|
|
10353
10386
|
* SubmitExtractDocAgentJob请求参数结构体
|
|
@@ -10970,6 +11003,18 @@ export interface ResultList {
|
|
|
10970
11003
|
* <p>多坐标返回,显示坐标所在页</p><p>默认值:[]</p>
|
|
10971
11004
|
*/
|
|
10972
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>;
|
|
10973
11018
|
}
|
|
10974
11019
|
/**
|
|
10975
11020
|
* DescribeQuestionSplitJob请求参数结构体
|
|
@@ -11065,15 +11110,15 @@ export interface BankCardOCRResponse {
|
|
|
11065
11110
|
*/
|
|
11066
11111
|
export interface SubmitQuestionMarkAgentJobRequest {
|
|
11067
11112
|
/**
|
|
11068
|
-
* <p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl
|
|
11113
|
+
* <p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
11069
11114
|
*/
|
|
11070
11115
|
ImageBase64?: string;
|
|
11071
11116
|
/**
|
|
11072
|
-
* <p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url
|
|
11117
|
+
* <p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
11073
11118
|
*/
|
|
11074
11119
|
ImageUrl?: string;
|
|
11075
11120
|
/**
|
|
11076
|
-
* <p
|
|
11121
|
+
* <p>不传则默认识别整个PDF,如果识别单页则输入指定页码</p>
|
|
11077
11122
|
*/
|
|
11078
11123
|
PdfPageNumber?: number;
|
|
11079
11124
|
/**
|
|
@@ -11087,19 +11132,19 @@ export interface SubmitQuestionMarkAgentJobRequest {
|
|
|
11087
11132
|
*/
|
|
11088
11133
|
EnableDeepThink?: boolean;
|
|
11089
11134
|
/**
|
|
11090
|
-
* <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>
|
|
11091
11136
|
*/
|
|
11092
11137
|
QuestionConfigMap?: string;
|
|
11093
11138
|
/**
|
|
11094
|
-
* <p
|
|
11139
|
+
* <p>【废弃字段】</p>
|
|
11095
11140
|
*/
|
|
11096
11141
|
ReferenceAnswer?: string;
|
|
11097
11142
|
/**
|
|
11098
|
-
* <p>批量base64图片入口,每个base64参考单独ImageBase64参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N
|
|
11143
|
+
* <p>批量base64图片入口,每个base64参考单独ImageBase64参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N来输入含正确解析试卷,最多1张</li><li>当AssistMarkType为0时,ImageBase64List.N/ImageUrlList.N图片会执行多图同时批改逻辑(解决单题跨页场景)</li></ol>
|
|
11099
11144
|
*/
|
|
11100
11145
|
ImageBase64List?: Array<string>;
|
|
11101
11146
|
/**
|
|
11102
|
-
* <p>批量ImageUrl图片入口,每个ImageUrl参考单独ImageUrl参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N
|
|
11147
|
+
* <p>批量ImageUrl图片入口,每个ImageUrl参考单独ImageUrl参数规则。</p><ol><li>当AssistMarkType为2时,用于提供题目相关的辅助批改图片信息.ImageBase64List.N/ImageUrlList.N 来输入含正确解析试卷,最多1张</li><li>当AssistMarkType为1时,ImageBase64List.N/ImageUrlList.N图片会执行多图同时批改逻辑(解决单题跨页场景)</li></ol>
|
|
11103
11148
|
*/
|
|
11104
11149
|
ImageUrlList?: Array<string>;
|
|
11105
11150
|
/**
|
|
@@ -11110,6 +11155,10 @@ export interface SubmitQuestionMarkAgentJobRequest {
|
|
|
11110
11155
|
* <p>单题辅助批改文本内容列表,当AssistMarkType为1时生效,用于提供题目相关的辅助文本信息。</p><ol><li>当key为ReferenceAnswer,value可以输入单题的辅助答案文本。</li><li>当key为QuestionAuxStem,value可以输入单题的辅助题干。</li></ol>
|
|
11111
11156
|
*/
|
|
11112
11157
|
AnswerAssistMap?: string;
|
|
11158
|
+
/**
|
|
11159
|
+
* <p>是否开启切边、弯曲矫正、方向矫正,开启则批改之前先做图片前处理,图片url地址返回在查询接口的QuestionInfo-> ReturnImageUr中l,默认为false不开启</p>
|
|
11160
|
+
*/
|
|
11161
|
+
EnableImageCrop?: boolean;
|
|
11113
11162
|
}
|
|
11114
11163
|
/**
|
|
11115
11164
|
* BusinessCardOCR请求参数结构体
|