tencentcloud-sdk-nodejs-ocr 4.1.183 → 4.1.185
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.
|
@@ -63,6 +63,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
63
63
|
async DescribeExtractDocAgentJob(req, cb) {
|
|
64
64
|
return this.request("DescribeExtractDocAgentJob", req, cb);
|
|
65
65
|
}
|
|
66
|
+
async SubmitQuestionMarkAgentJob(req, cb) {
|
|
67
|
+
return this.request("SubmitQuestionMarkAgentJob", req, cb);
|
|
68
|
+
}
|
|
66
69
|
async RideHailingDriverLicenseOCR(req, cb) {
|
|
67
70
|
return this.request("RideHailingDriverLicenseOCR", req, cb);
|
|
68
71
|
}
|
|
@@ -99,6 +102,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
99
102
|
async RecognizeThaiIDCardOCR(req, cb) {
|
|
100
103
|
return this.request("RecognizeThaiIDCardOCR", req, cb);
|
|
101
104
|
}
|
|
105
|
+
async QuotaInvoiceOCR(req, cb) {
|
|
106
|
+
return this.request("QuotaInvoiceOCR", req, cb);
|
|
107
|
+
}
|
|
102
108
|
async ExtractDocMultiPro(req, cb) {
|
|
103
109
|
return this.request("ExtractDocMultiPro", req, cb);
|
|
104
110
|
}
|
|
@@ -138,8 +144,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
138
144
|
async VatRollInvoiceOCR(req, cb) {
|
|
139
145
|
return this.request("VatRollInvoiceOCR", req, cb);
|
|
140
146
|
}
|
|
141
|
-
async
|
|
142
|
-
return this.request("
|
|
147
|
+
async DescribeQuestionMarkAgentJob(req, cb) {
|
|
148
|
+
return this.request("DescribeQuestionMarkAgentJob", req, cb);
|
|
143
149
|
}
|
|
144
150
|
async GeneralHandwritingOCR(req, cb) {
|
|
145
151
|
return this.request("GeneralHandwritingOCR", req, cb);
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, BankCardOCRRequest, VatInvoiceVerifyNewResponse, CarInvoiceOCRRequest, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, DriverLicenseOCRRequest, TollInvoiceOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, RecognizeTravelCardOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, ExtractDocAgentResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, MLIDCardOCRRequest, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, InvoiceGeneralOCRResponse, ExtractDocMultiResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, SubmitExtractDocAgentJobResponse, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeTableMultiOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnglishOCRRequest, SmartStructuralOCRResponse, GeneralAccurateOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, RecognizeTableMultiOCRResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, HandwritingEssayOCRRequest, BankSlipOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest,
|
|
2
|
+
import { TableOCRRequest, RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, VinOCRResponse, BankCardOCRRequest, VatInvoiceVerifyNewResponse, CarInvoiceOCRRequest, DescribeQuestionMarkAgentJobResponse, ExtractDocMultiRequest, QuestionSplitLayoutOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, ExtractDocMultiProRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, IDCardOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, SubmitQuestionMarkAgentJobRequest, DriverLicenseOCRRequest, TollInvoiceOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, HKIDCardOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, VehicleLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, ExtractDocMultiProResponse, RecognizeTravelCardOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, ExtractDocAgentResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, MLIDCardOCRRequest, LicensePlateOCRResponse, ExtractDocBasicRequest, RecognizeThaiIDCardOCRResponse, InvoiceGeneralOCRResponse, ExtractDocMultiResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, RecognizeHealthCodeOCRResponse, SubmitExtractDocAgentJobResponse, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, QuestionSplitLayoutOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeTableMultiOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, SubmitQuestionMarkAgentJobResponse, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, ExtractDocBasicResponse, EnglishOCRRequest, SmartStructuralOCRResponse, GeneralAccurateOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, RecognizeTableMultiOCRResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, GetOCRTokenRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, DescribeExtractDocAgentJobRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, HandwritingEssayOCRRequest, BankSlipOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, DescribeQuestionMarkAgentJobRequest, MixedInvoiceOCRRequest, DescribeExtractDocAgentJobResponse, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, HandwritingEssayOCRResponse, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, PermitOCRRequest, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RecognizeEncryptedIDCardOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, SubmitExtractDocAgentJobRequest, ExtractDocAgentRequest, AdvertiseOCRResponse, RecognizeTravelCardOCRResponse, VatRollInvoiceOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, RecognizeStoreNameResponse, WaybillOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, RecognizeHealthCodeOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeValidIDCardOCRResponse, GeneralFastOCRResponse } from "./ocr_models";
|
|
3
3
|
/**
|
|
4
4
|
* ocr client
|
|
5
5
|
* @class
|
|
@@ -58,8 +58,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
58
58
|
</tr>
|
|
59
59
|
<tr>
|
|
60
60
|
<td>支持的语言</td>
|
|
61
|
-
<td
|
|
62
|
-
<td
|
|
61
|
+
<td>中文、英文、泰语、印尼语、日语、韩语、西班牙语(智利)、西班牙语(墨西哥)、法语、德语、葡萄牙语、葡萄牙语(巴西)、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语、阿拉伯语、维吾尔语、藏语、捷克语、希腊语、希伯来语、克罗地亚语、波兰语、罗马尼亚语、斯洛伐克语、斯洛文尼亚语、土耳其语、保加利亚语、爱沙尼亚语、拉脱维亚语、立陶宛语、乌尔都文、塞尔维亚文、欧西坦文、毛利文、阿尔巴尼亚文、斯瓦希里文、乌兹别克文、乌克兰文、阿巴扎文、南非荷兰文、威尔士文、冰岛文、库尔德文、达尔瓦文、因古什文、拉克文、莱兹甘文、塔巴萨兰文、沙特阿拉伯文、阿瓦尔文、阿迪赫文、印度-古吉拉特语、印度-印地语、印度-孟加拉语、印度-卡纳达语、印度-马拉亚拉姆语、印度-马拉地语、印度-旁遮普语、印度-泰米尔语、印度-泰卢固语、阿塞拜疆语、波斯尼亚语、加泰罗尼亚语、卢森堡语、马耳他语、爱尔兰语、白俄罗斯语、高棉语、他加禄语、普什图语、波斯语、塔吉克斯坦语</td>
|
|
62
|
+
<td>中文、英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
63
63
|
</tr>
|
|
64
64
|
<tr>
|
|
65
65
|
<td>自动语言检测</td>
|
|
@@ -225,6 +225,12 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
225
225
|
* 用于查询文档处理任务。文档处理领域里常见的通用Agent 如抽取、比对之类的,目前我们提供的抽取,但未来可以根据实际情况和客户需求扩展。
|
|
226
226
|
*/
|
|
227
227
|
DescribeExtractDocAgentJob(req: DescribeExtractDocAgentJobRequest, cb?: (error: string, rep: DescribeExtractDocAgentJobResponse) => void): Promise<DescribeExtractDocAgentJobResponse>;
|
|
228
|
+
/**
|
|
229
|
+
* 用于试题批改Agent提交任务。主要面向K12的试题批改产品,支持整卷/单题端到端(试卷切题+题目批改+手写坐标回显)处理,主要聚焦的场景包括试题批改(含手写答案)、试题解析(不含手写答案),其中低年级算式批改效果比线上[数学作业批改](https://cloud.tencent.com/document/product/1004)效果更好。精准输出题目、正误判定、答案对比、错误及知识点等结构化评估结果。
|
|
230
|
+
|
|
231
|
+
默认接口请求并发限制:10题/分钟。
|
|
232
|
+
*/
|
|
233
|
+
SubmitQuestionMarkAgentJob(req: SubmitQuestionMarkAgentJobRequest, cb?: (error: string, rep: SubmitQuestionMarkAgentJobResponse) => void): Promise<SubmitQuestionMarkAgentJobResponse>;
|
|
228
234
|
/**
|
|
229
235
|
* 本接口支持网约车驾驶证关键字段的识别,包括姓名、证号、起始日期、截止日期、发证日期。
|
|
230
236
|
|
|
@@ -561,6 +567,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
561
567
|
默认接口请求频率限制:10次/秒
|
|
562
568
|
*/
|
|
563
569
|
RecognizeThaiIDCardOCR(req: RecognizeThaiIDCardOCRRequest, cb?: (error: string, rep: RecognizeThaiIDCardOCRResponse) => void): Promise<RecognizeThaiIDCardOCRResponse>;
|
|
570
|
+
/**
|
|
571
|
+
* <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
572
|
+
本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
|
|
573
|
+
|
|
574
|
+
默认接口请求频率限制:5次/秒。
|
|
575
|
+
*/
|
|
576
|
+
QuotaInvoiceOCR(req: QuotaInvoiceOCRRequest, cb?: (error: string, rep: QuotaInvoiceOCRResponse) => void): Promise<QuotaInvoiceOCRResponse>;
|
|
564
577
|
/**
|
|
565
578
|
* 本接口当前仅支持复杂磅单收发货单抽取,更多强推理场景支持定制咨询。点击[立即体验](https://ocrdemo.cloud.tencent.com/?action=ExtractDocMultiPro)。
|
|
566
579
|
|
|
@@ -687,12 +700,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
687
700
|
*/
|
|
688
701
|
VatRollInvoiceOCR(req: VatRollInvoiceOCRRequest, cb?: (error: string, rep: VatRollInvoiceOCRResponse) => void): Promise<VatRollInvoiceOCRResponse>;
|
|
689
702
|
/**
|
|
690
|
-
*
|
|
691
|
-
本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
|
|
703
|
+
* 用于试题批改Agent查询任务。主要面向K12的试题批改产品,支持整卷/单题端到端(试卷切题+题目批改+手写坐标回显)处理,主要聚焦的场景包括试题批改(含手写答案)、试题解析(不含手写答案),其中低年级算式批改效果比线上[数学作业批改](https://cloud.tencent.com/document/product/1004)效果更好。精准输出题目、正误判定、答案对比、错误及知识点等结构化评估结果。
|
|
692
704
|
|
|
693
|
-
|
|
705
|
+
默认接口请求并发限制:10题/分钟。
|
|
694
706
|
*/
|
|
695
|
-
|
|
707
|
+
DescribeQuestionMarkAgentJob(req: DescribeQuestionMarkAgentJobRequest, cb?: (error: string, rep: DescribeQuestionMarkAgentJobResponse) => void): Promise<DescribeQuestionMarkAgentJobResponse>;
|
|
696
708
|
/**
|
|
697
709
|
* <b>此接口为通用手写体识别的旧版本服务,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/34937">通用印刷体识别(高精度)识别服务</a>。</b>
|
|
698
710
|
|
|
@@ -86,8 +86,8 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
86
86
|
</tr>
|
|
87
87
|
<tr>
|
|
88
88
|
<td>支持的语言</td>
|
|
89
|
-
<td
|
|
90
|
-
<td
|
|
89
|
+
<td>中文、英文、泰语、印尼语、日语、韩语、西班牙语(智利)、西班牙语(墨西哥)、法语、德语、葡萄牙语、葡萄牙语(巴西)、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语、阿拉伯语、维吾尔语、藏语、捷克语、希腊语、希伯来语、克罗地亚语、波兰语、罗马尼亚语、斯洛伐克语、斯洛文尼亚语、土耳其语、保加利亚语、爱沙尼亚语、拉脱维亚语、立陶宛语、乌尔都文、塞尔维亚文、欧西坦文、毛利文、阿尔巴尼亚文、斯瓦希里文、乌兹别克文、乌克兰文、阿巴扎文、南非荷兰文、威尔士文、冰岛文、库尔德文、达尔瓦文、因古什文、拉克文、莱兹甘文、塔巴萨兰文、沙特阿拉伯文、阿瓦尔文、阿迪赫文、印度-古吉拉特语、印度-印地语、印度-孟加拉语、印度-卡纳达语、印度-马拉亚拉姆语、印度-马拉地语、印度-旁遮普语、印度-泰米尔语、印度-泰卢固语、阿塞拜疆语、波斯尼亚语、加泰罗尼亚语、卢森堡语、马耳他语、爱尔兰语、白俄罗斯语、高棉语、他加禄语、普什图语、波斯语、塔吉克斯坦语</td>
|
|
90
|
+
<td>中文、英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
91
91
|
</tr>
|
|
92
92
|
<tr>
|
|
93
93
|
<td>自动语言检测</td>
|
|
@@ -287,6 +287,14 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
287
287
|
async DescribeExtractDocAgentJob(req, cb) {
|
|
288
288
|
return this.request("DescribeExtractDocAgentJob", req, cb);
|
|
289
289
|
}
|
|
290
|
+
/**
|
|
291
|
+
* 用于试题批改Agent提交任务。主要面向K12的试题批改产品,支持整卷/单题端到端(试卷切题+题目批改+手写坐标回显)处理,主要聚焦的场景包括试题批改(含手写答案)、试题解析(不含手写答案),其中低年级算式批改效果比线上[数学作业批改](https://cloud.tencent.com/document/product/1004)效果更好。精准输出题目、正误判定、答案对比、错误及知识点等结构化评估结果。
|
|
292
|
+
|
|
293
|
+
默认接口请求并发限制:10题/分钟。
|
|
294
|
+
*/
|
|
295
|
+
async SubmitQuestionMarkAgentJob(req, cb) {
|
|
296
|
+
return this.request("SubmitQuestionMarkAgentJob", req, cb);
|
|
297
|
+
}
|
|
290
298
|
/**
|
|
291
299
|
* 本接口支持网约车驾驶证关键字段的识别,包括姓名、证号、起始日期、截止日期、发证日期。
|
|
292
300
|
|
|
@@ -647,6 +655,15 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
647
655
|
async RecognizeThaiIDCardOCR(req, cb) {
|
|
648
656
|
return this.request("RecognizeThaiIDCardOCR", req, cb);
|
|
649
657
|
}
|
|
658
|
+
/**
|
|
659
|
+
* <b>此接口不再进行服务升级,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/90802">通用票据识别(高级版)</a>。</b>
|
|
660
|
+
本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
|
|
661
|
+
|
|
662
|
+
默认接口请求频率限制:5次/秒。
|
|
663
|
+
*/
|
|
664
|
+
async QuotaInvoiceOCR(req, cb) {
|
|
665
|
+
return this.request("QuotaInvoiceOCR", req, cb);
|
|
666
|
+
}
|
|
650
667
|
/**
|
|
651
668
|
* 本接口当前仅支持复杂磅单收发货单抽取,更多强推理场景支持定制咨询。点击[立即体验](https://ocrdemo.cloud.tencent.com/?action=ExtractDocMultiPro)。
|
|
652
669
|
|
|
@@ -799,13 +816,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
799
816
|
return this.request("VatRollInvoiceOCR", req, cb);
|
|
800
817
|
}
|
|
801
818
|
/**
|
|
802
|
-
*
|
|
803
|
-
本接口支持定额发票的发票号码、发票代码、金额(大小写)、发票消费类型、地区及是否有公司印章等关键字段的识别。
|
|
819
|
+
* 用于试题批改Agent查询任务。主要面向K12的试题批改产品,支持整卷/单题端到端(试卷切题+题目批改+手写坐标回显)处理,主要聚焦的场景包括试题批改(含手写答案)、试题解析(不含手写答案),其中低年级算式批改效果比线上[数学作业批改](https://cloud.tencent.com/document/product/1004)效果更好。精准输出题目、正误判定、答案对比、错误及知识点等结构化评估结果。
|
|
804
820
|
|
|
805
|
-
|
|
821
|
+
默认接口请求并发限制:10题/分钟。
|
|
806
822
|
*/
|
|
807
|
-
async
|
|
808
|
-
return this.request("
|
|
823
|
+
async DescribeQuestionMarkAgentJob(req, cb) {
|
|
824
|
+
return this.request("DescribeQuestionMarkAgentJob", req, cb);
|
|
809
825
|
}
|
|
810
826
|
/**
|
|
811
827
|
* <b>此接口为通用手写体识别的旧版本服务,建议您使用识别能力更强、服务性能更优的<a href="https://cloud.tencent.com/document/product/866/34937">通用印刷体识别(高精度)识别服务</a>。</b>
|
|
@@ -442,6 +442,35 @@ export interface CarInvoiceOCRRequest {
|
|
|
442
442
|
*/
|
|
443
443
|
PdfPageNumber?: number;
|
|
444
444
|
}
|
|
445
|
+
/**
|
|
446
|
+
* DescribeQuestionMarkAgentJob返回参数结构体
|
|
447
|
+
*/
|
|
448
|
+
export interface DescribeQuestionMarkAgentJobResponse {
|
|
449
|
+
/**
|
|
450
|
+
* 任务执行错误码。当任务状态不为 FAIL 时,该值为""。
|
|
451
|
+
*/
|
|
452
|
+
ErrorCode?: string;
|
|
453
|
+
/**
|
|
454
|
+
* 任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
|
|
455
|
+
*/
|
|
456
|
+
ErrorMessage?: string;
|
|
457
|
+
/**
|
|
458
|
+
* 任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
|
|
459
|
+
*/
|
|
460
|
+
JobStatus?: string;
|
|
461
|
+
/**
|
|
462
|
+
* 图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。
|
|
463
|
+
*/
|
|
464
|
+
Angle?: number;
|
|
465
|
+
/**
|
|
466
|
+
* 试题批改信息
|
|
467
|
+
*/
|
|
468
|
+
MarkInfos?: Array<MarkInfo>;
|
|
469
|
+
/**
|
|
470
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
471
|
+
*/
|
|
472
|
+
RequestId?: string;
|
|
473
|
+
}
|
|
445
474
|
/**
|
|
446
475
|
* ExtractDocMulti请求参数结构体
|
|
447
476
|
*/
|
|
@@ -1615,6 +1644,41 @@ export interface SealInfo {
|
|
|
1615
1644
|
*/
|
|
1616
1645
|
SealShape: string;
|
|
1617
1646
|
}
|
|
1647
|
+
/**
|
|
1648
|
+
* SubmitQuestionMarkAgentJob请求参数结构体
|
|
1649
|
+
*/
|
|
1650
|
+
export interface SubmitQuestionMarkAgentJobRequest {
|
|
1651
|
+
/**
|
|
1652
|
+
* 图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==
|
|
1653
|
+
*/
|
|
1654
|
+
ImageBase64?: string;
|
|
1655
|
+
/**
|
|
1656
|
+
* 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralAccurateOCR/GeneralAccurateOCR1.jpg
|
|
1657
|
+
*/
|
|
1658
|
+
ImageUrl?: string;
|
|
1659
|
+
/**
|
|
1660
|
+
* 需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。
|
|
1661
|
+
*/
|
|
1662
|
+
PdfPageNumber?: number;
|
|
1663
|
+
/**
|
|
1664
|
+
* 表示整张试卷批改需要先切题,默认为false
|
|
1665
|
+
* @deprecated
|
|
1666
|
+
*/
|
|
1667
|
+
BoolSingleQuestion?: boolean;
|
|
1668
|
+
/**
|
|
1669
|
+
* 默认false 表示关闭深度思考 true 表示打开深度思考,更深层次推理分析,速度更慢
|
|
1670
|
+
* @deprecated
|
|
1671
|
+
*/
|
|
1672
|
+
EnableDeepThink?: boolean;
|
|
1673
|
+
/**
|
|
1674
|
+
* 题目信息输出配置,当key对应为true表示开启配置开关。 当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;当key为TrueAnswer value为true 表示输出每道题的正确答案 ;当key为ReturnAnswerPosition value为false表示不输出手写答案坐标(降低处理耗时,按需输出); 设置方式参考 {"KnowledgePoints":true,"TrueAnswer":true}
|
|
1675
|
+
*/
|
|
1676
|
+
QuestionConfigMap?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* 仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中
|
|
1679
|
+
*/
|
|
1680
|
+
ReferenceAnswer?: string;
|
|
1681
|
+
}
|
|
1618
1682
|
/**
|
|
1619
1683
|
* 通用机打发票信息
|
|
1620
1684
|
*/
|
|
@@ -5193,105 +5257,53 @@ export interface ElectronicTrainTicket {
|
|
|
5193
5257
|
StateCode?: string;
|
|
5194
5258
|
}
|
|
5195
5259
|
/**
|
|
5196
|
-
*
|
|
5260
|
+
* RecognizeHealthCodeOCR返回参数结构体
|
|
5197
5261
|
*/
|
|
5198
|
-
export interface
|
|
5199
|
-
/**
|
|
5200
|
-
* 所属税局
|
|
5201
|
-
*/
|
|
5202
|
-
TaxBureau: string;
|
|
5203
|
-
/**
|
|
5204
|
-
* 买方单位/个人
|
|
5205
|
-
*/
|
|
5206
|
-
Buyer: string;
|
|
5207
|
-
/**
|
|
5208
|
-
* 买方单位代码/身份证号码
|
|
5209
|
-
*/
|
|
5210
|
-
BuyerNo: string;
|
|
5211
|
-
/**
|
|
5212
|
-
* 买方单位/个人地址
|
|
5213
|
-
*/
|
|
5214
|
-
BuyerAddress: string;
|
|
5215
|
-
/**
|
|
5216
|
-
* 买方单位电话
|
|
5217
|
-
*/
|
|
5218
|
-
BuyerTel: string;
|
|
5219
|
-
/**
|
|
5220
|
-
* 卖方单位/个人
|
|
5221
|
-
*/
|
|
5222
|
-
Seller: string;
|
|
5223
|
-
/**
|
|
5224
|
-
* 卖方单位代码/身份证号码
|
|
5225
|
-
*/
|
|
5226
|
-
SellerNo: string;
|
|
5227
|
-
/**
|
|
5228
|
-
* 卖方单位/个人地址
|
|
5229
|
-
*/
|
|
5230
|
-
SellerAddress: string;
|
|
5231
|
-
/**
|
|
5232
|
-
* 卖方单位电话
|
|
5233
|
-
*/
|
|
5234
|
-
SellerTel: string;
|
|
5235
|
-
/**
|
|
5236
|
-
* 车牌照号
|
|
5237
|
-
*/
|
|
5238
|
-
VehicleLicenseNo: string;
|
|
5239
|
-
/**
|
|
5240
|
-
* 登记证号
|
|
5241
|
-
*/
|
|
5242
|
-
RegisterNo: string;
|
|
5243
|
-
/**
|
|
5244
|
-
* 车架号/车辆识别代码
|
|
5245
|
-
*/
|
|
5246
|
-
VehicleIdentifyNo: string;
|
|
5247
|
-
/**
|
|
5248
|
-
* 转入地车辆管理所名称
|
|
5249
|
-
*/
|
|
5250
|
-
ManagementOffice: string;
|
|
5262
|
+
export interface RecognizeHealthCodeOCRResponse {
|
|
5251
5263
|
/**
|
|
5252
|
-
*
|
|
5264
|
+
* 持码人姓名,如:王*(允许返回空值)
|
|
5253
5265
|
*/
|
|
5254
|
-
|
|
5266
|
+
Name?: string;
|
|
5255
5267
|
/**
|
|
5256
|
-
*
|
|
5268
|
+
* 持码人身份证号,如:11**************01(允许返回空值)
|
|
5257
5269
|
*/
|
|
5258
|
-
|
|
5270
|
+
IDNumber?: string;
|
|
5259
5271
|
/**
|
|
5260
|
-
*
|
|
5272
|
+
* 健康码更新时间(允许返回空值)
|
|
5261
5273
|
*/
|
|
5262
|
-
|
|
5274
|
+
Time?: string;
|
|
5263
5275
|
/**
|
|
5264
|
-
*
|
|
5276
|
+
* 健康码颜色:绿色、黄色、红色(允许返回空值)
|
|
5265
5277
|
*/
|
|
5266
|
-
|
|
5278
|
+
Color?: string;
|
|
5267
5279
|
/**
|
|
5268
|
-
*
|
|
5280
|
+
* 核酸检测间隔时长(允许返回空值)
|
|
5269
5281
|
*/
|
|
5270
|
-
|
|
5282
|
+
TestingInterval?: string;
|
|
5271
5283
|
/**
|
|
5272
|
-
*
|
|
5284
|
+
* 核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
|
|
5273
5285
|
*/
|
|
5274
|
-
|
|
5286
|
+
TestingResult?: string;
|
|
5275
5287
|
/**
|
|
5276
|
-
*
|
|
5288
|
+
* 核酸检测时间(允许返回空值)
|
|
5277
5289
|
*/
|
|
5278
|
-
|
|
5290
|
+
TestingTime?: string;
|
|
5279
5291
|
/**
|
|
5280
|
-
*
|
|
5292
|
+
* 疫苗接种信息,返回接种针数或接种情况(允许返回空值)
|
|
5281
5293
|
*/
|
|
5282
|
-
|
|
5294
|
+
Vaccination?: string;
|
|
5283
5295
|
/**
|
|
5284
|
-
*
|
|
5296
|
+
* 场所名称(允许返回空值)
|
|
5285
5297
|
*/
|
|
5286
|
-
|
|
5298
|
+
SpotName?: string;
|
|
5287
5299
|
/**
|
|
5288
|
-
*
|
|
5300
|
+
* 疫苗接种时间
|
|
5289
5301
|
*/
|
|
5290
|
-
|
|
5302
|
+
VaccinationTime?: string;
|
|
5291
5303
|
/**
|
|
5292
|
-
*
|
|
5304
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5293
5305
|
*/
|
|
5294
|
-
|
|
5306
|
+
RequestId?: string;
|
|
5295
5307
|
}
|
|
5296
5308
|
/**
|
|
5297
5309
|
* 信息区证件内容
|
|
@@ -5838,6 +5850,107 @@ export interface GeneralBasicOCRRequest {
|
|
|
5838
5850
|
*/
|
|
5839
5851
|
IsWords?: boolean;
|
|
5840
5852
|
}
|
|
5853
|
+
/**
|
|
5854
|
+
* 二手车销售统一发票信息
|
|
5855
|
+
*/
|
|
5856
|
+
export interface UsedVehicleInvoiceInfo {
|
|
5857
|
+
/**
|
|
5858
|
+
* 所属税局
|
|
5859
|
+
*/
|
|
5860
|
+
TaxBureau: string;
|
|
5861
|
+
/**
|
|
5862
|
+
* 买方单位/个人
|
|
5863
|
+
*/
|
|
5864
|
+
Buyer: string;
|
|
5865
|
+
/**
|
|
5866
|
+
* 买方单位代码/身份证号码
|
|
5867
|
+
*/
|
|
5868
|
+
BuyerNo: string;
|
|
5869
|
+
/**
|
|
5870
|
+
* 买方单位/个人地址
|
|
5871
|
+
*/
|
|
5872
|
+
BuyerAddress: string;
|
|
5873
|
+
/**
|
|
5874
|
+
* 买方单位电话
|
|
5875
|
+
*/
|
|
5876
|
+
BuyerTel: string;
|
|
5877
|
+
/**
|
|
5878
|
+
* 卖方单位/个人
|
|
5879
|
+
*/
|
|
5880
|
+
Seller: string;
|
|
5881
|
+
/**
|
|
5882
|
+
* 卖方单位代码/身份证号码
|
|
5883
|
+
*/
|
|
5884
|
+
SellerNo: string;
|
|
5885
|
+
/**
|
|
5886
|
+
* 卖方单位/个人地址
|
|
5887
|
+
*/
|
|
5888
|
+
SellerAddress: string;
|
|
5889
|
+
/**
|
|
5890
|
+
* 卖方单位电话
|
|
5891
|
+
*/
|
|
5892
|
+
SellerTel: string;
|
|
5893
|
+
/**
|
|
5894
|
+
* 车牌照号
|
|
5895
|
+
*/
|
|
5896
|
+
VehicleLicenseNo: string;
|
|
5897
|
+
/**
|
|
5898
|
+
* 登记证号
|
|
5899
|
+
*/
|
|
5900
|
+
RegisterNo: string;
|
|
5901
|
+
/**
|
|
5902
|
+
* 车架号/车辆识别代码
|
|
5903
|
+
*/
|
|
5904
|
+
VehicleIdentifyNo: string;
|
|
5905
|
+
/**
|
|
5906
|
+
* 转入地车辆管理所名称
|
|
5907
|
+
*/
|
|
5908
|
+
ManagementOffice: string;
|
|
5909
|
+
/**
|
|
5910
|
+
* 车价合计
|
|
5911
|
+
*/
|
|
5912
|
+
VehicleTotalPrice: string;
|
|
5913
|
+
/**
|
|
5914
|
+
* 经营、拍卖单位
|
|
5915
|
+
*/
|
|
5916
|
+
Auctioneer: string;
|
|
5917
|
+
/**
|
|
5918
|
+
* 经营、拍卖单位地址
|
|
5919
|
+
*/
|
|
5920
|
+
AuctioneerAddress: string;
|
|
5921
|
+
/**
|
|
5922
|
+
* 经营、拍卖单位纳税人识别号
|
|
5923
|
+
*/
|
|
5924
|
+
AuctioneerTaxpayerNum: string;
|
|
5925
|
+
/**
|
|
5926
|
+
* 经营、拍卖单位开户银行、账号
|
|
5927
|
+
*/
|
|
5928
|
+
AuctioneerBankAccount: string;
|
|
5929
|
+
/**
|
|
5930
|
+
* 经营、拍卖单位电话
|
|
5931
|
+
*/
|
|
5932
|
+
AuctioneerTel: string;
|
|
5933
|
+
/**
|
|
5934
|
+
* 二手车市场
|
|
5935
|
+
*/
|
|
5936
|
+
Market: string;
|
|
5937
|
+
/**
|
|
5938
|
+
* 二手车市场纳税人识别号
|
|
5939
|
+
*/
|
|
5940
|
+
MarketTaxpayerNum: string;
|
|
5941
|
+
/**
|
|
5942
|
+
* 二手车市场地址
|
|
5943
|
+
*/
|
|
5944
|
+
MarketAddress: string;
|
|
5945
|
+
/**
|
|
5946
|
+
* 二手车市场开户银行账号
|
|
5947
|
+
*/
|
|
5948
|
+
MarketBankAccount: string;
|
|
5949
|
+
/**
|
|
5950
|
+
* 二手车市场电话
|
|
5951
|
+
*/
|
|
5952
|
+
MarketTel: string;
|
|
5953
|
+
}
|
|
5841
5954
|
/**
|
|
5842
5955
|
* RecognizeTableMultiOCR请求参数结构体
|
|
5843
5956
|
*/
|
|
@@ -6001,6 +6114,27 @@ export interface AirTicketInfo {
|
|
|
6001
6114
|
*/
|
|
6002
6115
|
UnifiedSocialCreditCodeOfPurchaser?: string;
|
|
6003
6116
|
}
|
|
6117
|
+
/**
|
|
6118
|
+
* SubmitQuestionMarkAgentJob返回参数结构体
|
|
6119
|
+
*/
|
|
6120
|
+
export interface SubmitQuestionMarkAgentJobResponse {
|
|
6121
|
+
/**
|
|
6122
|
+
* 任务唯一ID。由服务端生成.
|
|
6123
|
+
*/
|
|
6124
|
+
JobId?: string;
|
|
6125
|
+
/**
|
|
6126
|
+
* 切题题目边框坐标列表 (如果BoolSingleQuestion为true则返回空)
|
|
6127
|
+
*/
|
|
6128
|
+
QuestionInfo?: Array<QuestionInfo>;
|
|
6129
|
+
/**
|
|
6130
|
+
* 题目切题数量,作为计费题目数总量
|
|
6131
|
+
*/
|
|
6132
|
+
QuestionCount?: string;
|
|
6133
|
+
/**
|
|
6134
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6135
|
+
*/
|
|
6136
|
+
RequestId?: string;
|
|
6137
|
+
}
|
|
6004
6138
|
/**
|
|
6005
6139
|
* RideHailingDriverLicenseOCR返回参数结构体
|
|
6006
6140
|
*/
|
|
@@ -7335,6 +7469,43 @@ export interface ElectronicTollSummaryItem {
|
|
|
7335
7469
|
*/
|
|
7336
7470
|
Row?: number;
|
|
7337
7471
|
}
|
|
7472
|
+
/**
|
|
7473
|
+
* 卡证字段信息返回值
|
|
7474
|
+
*/
|
|
7475
|
+
export interface ContentInfo {
|
|
7476
|
+
/**
|
|
7477
|
+
* 字段内容
|
|
7478
|
+
*/
|
|
7479
|
+
Content?: string;
|
|
7480
|
+
/**
|
|
7481
|
+
* 结果置信度
|
|
7482
|
+
*/
|
|
7483
|
+
Confidence?: number;
|
|
7484
|
+
/**
|
|
7485
|
+
* 字段是否不完整(value内容)
|
|
7486
|
+
0 字段正常
|
|
7487
|
+
1 字段不完整
|
|
7488
|
+
*/
|
|
7489
|
+
IsInComplete?: number;
|
|
7490
|
+
/**
|
|
7491
|
+
* 字段反光(value内容)
|
|
7492
|
+
0 字段正常
|
|
7493
|
+
1 字段有反光
|
|
7494
|
+
*/
|
|
7495
|
+
IsReflect?: number;
|
|
7496
|
+
/**
|
|
7497
|
+
* 字段是否不完整(key内容)
|
|
7498
|
+
0 字段正常
|
|
7499
|
+
1 字段不完整
|
|
7500
|
+
*/
|
|
7501
|
+
IsKeyInComplete?: number;
|
|
7502
|
+
/**
|
|
7503
|
+
* 字段反光(key内容)
|
|
7504
|
+
0 字段正常
|
|
7505
|
+
1 字段有反光
|
|
7506
|
+
*/
|
|
7507
|
+
IsKeyReflect?: number;
|
|
7508
|
+
}
|
|
7338
7509
|
/**
|
|
7339
7510
|
* 表格标题
|
|
7340
7511
|
*/
|
|
@@ -7741,53 +7912,13 @@ export interface ConfigAdvanced {
|
|
|
7741
7912
|
Scene?: string;
|
|
7742
7913
|
}
|
|
7743
7914
|
/**
|
|
7744
|
-
*
|
|
7915
|
+
* DescribeQuestionMarkAgentJob请求参数结构体
|
|
7745
7916
|
*/
|
|
7746
|
-
export interface
|
|
7747
|
-
/**
|
|
7748
|
-
* 持码人姓名,如:王*(允许返回空值)
|
|
7749
|
-
*/
|
|
7750
|
-
Name?: string;
|
|
7751
|
-
/**
|
|
7752
|
-
* 持码人身份证号,如:11**************01(允许返回空值)
|
|
7753
|
-
*/
|
|
7754
|
-
IDNumber?: string;
|
|
7755
|
-
/**
|
|
7756
|
-
* 健康码更新时间(允许返回空值)
|
|
7757
|
-
*/
|
|
7758
|
-
Time?: string;
|
|
7759
|
-
/**
|
|
7760
|
-
* 健康码颜色:绿色、黄色、红色(允许返回空值)
|
|
7761
|
-
*/
|
|
7762
|
-
Color?: string;
|
|
7763
|
-
/**
|
|
7764
|
-
* 核酸检测间隔时长(允许返回空值)
|
|
7765
|
-
*/
|
|
7766
|
-
TestingInterval?: string;
|
|
7767
|
-
/**
|
|
7768
|
-
* 核酸检测结果:阴性、阳性、暂无核酸检测记录(允许返回空值)
|
|
7769
|
-
*/
|
|
7770
|
-
TestingResult?: string;
|
|
7771
|
-
/**
|
|
7772
|
-
* 核酸检测时间(允许返回空值)
|
|
7773
|
-
*/
|
|
7774
|
-
TestingTime?: string;
|
|
7775
|
-
/**
|
|
7776
|
-
* 疫苗接种信息,返回接种针数或接种情况(允许返回空值)
|
|
7777
|
-
*/
|
|
7778
|
-
Vaccination?: string;
|
|
7779
|
-
/**
|
|
7780
|
-
* 场所名称(允许返回空值)
|
|
7781
|
-
*/
|
|
7782
|
-
SpotName?: string;
|
|
7917
|
+
export interface DescribeQuestionMarkAgentJobRequest {
|
|
7783
7918
|
/**
|
|
7784
|
-
*
|
|
7785
|
-
*/
|
|
7786
|
-
VaccinationTime?: string;
|
|
7787
|
-
/**
|
|
7788
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7919
|
+
* 任务唯一ID。由服务端生成。
|
|
7789
7920
|
*/
|
|
7790
|
-
|
|
7921
|
+
JobId?: string;
|
|
7791
7922
|
}
|
|
7792
7923
|
/**
|
|
7793
7924
|
* 按行输出,行序号
|
|
@@ -8430,41 +8561,66 @@ export interface InsuranceBillInfo {
|
|
|
8430
8561
|
Value?: string;
|
|
8431
8562
|
}
|
|
8432
8563
|
/**
|
|
8433
|
-
*
|
|
8564
|
+
* 整张试卷所有题目批改信息
|
|
8434
8565
|
*/
|
|
8435
|
-
export interface
|
|
8566
|
+
export interface MarkInfo {
|
|
8436
8567
|
/**
|
|
8437
|
-
*
|
|
8568
|
+
* 题目的题干信息
|
|
8569
|
+
|
|
8570
|
+
|
|
8438
8571
|
*/
|
|
8439
|
-
|
|
8572
|
+
MarkItemTitle?: string;
|
|
8440
8573
|
/**
|
|
8441
|
-
*
|
|
8574
|
+
* 批改答案列表(每个小题存在多个答案,比如多个填空区域答案,循序按照从左到右,从上到下排列)
|
|
8442
8575
|
*/
|
|
8443
|
-
|
|
8576
|
+
AnswerInfos?: Array<AnswerInfo>;
|
|
8444
8577
|
/**
|
|
8445
|
-
*
|
|
8446
|
-
0 字段正常
|
|
8447
|
-
1 字段不完整
|
|
8578
|
+
* 嵌套题目结构(如果有多层嵌套则会返回子题信息,如果没有嵌套题目则返回空)
|
|
8448
8579
|
*/
|
|
8449
|
-
|
|
8580
|
+
MarkInfos?: Array<MarkInfo>;
|
|
8581
|
+
}
|
|
8582
|
+
/**
|
|
8583
|
+
* 单题所有答案区域批改信息
|
|
8584
|
+
*/
|
|
8585
|
+
export interface AnswerInfo {
|
|
8450
8586
|
/**
|
|
8451
|
-
*
|
|
8452
|
-
0 字段正常
|
|
8453
|
-
1 字段有反光
|
|
8587
|
+
* 手写答案内容,比如选择题的手写的选项、填空题的手写内容
|
|
8454
8588
|
*/
|
|
8455
|
-
|
|
8589
|
+
HandwriteInfo?: string;
|
|
8456
8590
|
/**
|
|
8457
|
-
*
|
|
8458
|
-
0 字段正常
|
|
8459
|
-
1 字段不完整
|
|
8591
|
+
* 答案是否正确
|
|
8460
8592
|
*/
|
|
8461
|
-
|
|
8593
|
+
IsCorrect?: boolean;
|
|
8462
8594
|
/**
|
|
8463
|
-
*
|
|
8464
|
-
|
|
8465
|
-
1 字段有反光
|
|
8595
|
+
* 答案分析结果
|
|
8596
|
+
|
|
8466
8597
|
*/
|
|
8467
|
-
|
|
8598
|
+
AnswerAnalysis?: string;
|
|
8599
|
+
/**
|
|
8600
|
+
* 答案区域的4个角点坐标, 是个长度为8的数组
|
|
8601
|
+
|
|
8602
|
+
[0,1,2,3,4,5,6,7]
|
|
8603
|
+
|
|
8604
|
+
(0,1) 左上角坐标
|
|
8605
|
+
(2,3) 右上角坐标
|
|
8606
|
+
(4,5) 右下角坐标
|
|
8607
|
+
(6,7) 左下角坐标
|
|
8608
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8609
|
+
*/
|
|
8610
|
+
HandwriteInfoPositions?: Array<number | bigint>;
|
|
8611
|
+
/**
|
|
8612
|
+
* 返回正确答案内容
|
|
8613
|
+
|
|
8614
|
+
QuestionConfigMap配置了(“TrueAnswer”:1)才生效返回
|
|
8615
|
+
*/
|
|
8616
|
+
RightAnswer?: string;
|
|
8617
|
+
/**
|
|
8618
|
+
* 返回题目的知识点内容
|
|
8619
|
+
|
|
8620
|
+
QuestionConfigMap配置了(“KnowledgePoints”:1)才生效返回
|
|
8621
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8622
|
+
*/
|
|
8623
|
+
KnowledgePoints?: Array<string>;
|
|
8468
8624
|
}
|
|
8469
8625
|
/**
|
|
8470
8626
|
* QuestionOCR请求参数结构体
|