tencentcloud-sdk-nodejs-ocr 4.1.50 → 4.1.54

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,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ocr",
3
- "version": "4.1.50",
3
+ "version": "4.1.54",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, SmartStructuralProRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, RecognizeGeneralTextImageWarnResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, SmartStructuralProResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RecognizeStoreNameResponse, GetOCRTokenRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, TableOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
2
+ import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, TollInvoiceOCRRequest, SmartStructuralProRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, TableOCRResponse, RecognizeStoreNameRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizeFormulaOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, RecognizeGeneralCardWarnRequest, RecognizeEncryptedIDCardOCRRequest, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RideHailingDriverLicenseOCRRequest, GeneralAccurateOCRResponse, QrcodeOCRRequest, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeMedicalInvoiceOCRResponse, RecognizeValidIDCardOCRRequest, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VinOCRRequest, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, LicensePlateOCRResponse, HKIDCardOCRResponse, RecognizeThaiIDCardOCRResponse, OrgCodeCertOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, RecognizeGeneralTextImageWarnResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, QuestionOCRRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, SmartStructuralProResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RecognizeStoreNameResponse, GetOCRTokenRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, BankCardOCRResponse, TableOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
3
3
  /**
4
4
  * ocr client
5
5
  * @class
@@ -717,7 +717,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
717
717
  */
718
718
  DriverLicenseOCR(req: DriverLicenseOCRRequest, cb?: (error: string, rep: DriverLicenseOCRResponse) => void): Promise<DriverLicenseOCRResponse>;
719
719
  /**
720
- * 智能识别并结构化港澳台居民来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
720
+ * 智能识别并结构化港澳台通行证及来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
721
721
 
722
722
  默认接口请求频率限制:20次/秒。
723
723
  */
@@ -883,7 +883,7 @@ class Client extends TencentCloudCommon.AbstractClient {
883
883
  return this.request("DriverLicenseOCR", req, cb);
884
884
  }
885
885
  /**
886
- * 智能识别并结构化港澳台居民来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
886
+ * 智能识别并结构化港澳台通行证及来往内地通行证正面全部字段,包含中文姓名、英文姓名、性别、出生日期、签发机关、有效期限、证件号、签发地点、签发次数、证件类别。
887
887
 
888
888
  默认接口请求频率限制:20次/秒。
889
889
  */
@@ -136,7 +136,7 @@ export interface InvoiceItem {
136
136
  */
137
137
  SingleInvoiceInfos?: SingleInvoiceItem;
138
138
  /**
139
- * 发票处于识别图片或PDF文件中的页教,默认从1开始。
139
+ * 发票处于识别图片或PDF文件中的页码,默认从1开始。
140
140
  */
141
141
  Page?: number;
142
142
  /**
@@ -163,6 +163,10 @@ export interface InvoiceItem {
163
163
  * 二维码数据。
164
164
  */
165
165
  QRCode?: string;
166
+ /**
167
+ * 印章信息
168
+ */
169
+ InvoiceSealInfo?: InvoiceSealInfo;
166
170
  }
167
171
  /**
168
172
  * HKIDCardOCR请求参数结构体
@@ -237,53 +241,32 @@ export interface BusinessCardOCRResponse {
237
241
  RequestId?: string;
238
242
  }
239
243
  /**
240
- * 算式识别结果
244
+ * QuotaInvoiceOCR请求参数结构体
241
245
  */
242
- export interface TextArithmetic {
243
- /**
244
- * 识别出的文本行内容
245
- */
246
- DetectedText?: string;
247
- /**
248
- * 算式运算结果,true-正确 false-错误或非法参数
249
- */
250
- Result?: boolean;
251
- /**
252
- * 保留字段,暂不支持
253
- */
254
- Confidence?: number;
255
- /**
256
- * 原图文本行坐标,以四个顶点坐标表示(保留字段,暂不支持)
257
- 注意:此字段可能返回 null,表示取不到有效值。
258
- */
259
- Polygon?: Array<Coord>;
246
+ export interface QuotaInvoiceOCRRequest {
260
247
  /**
261
- * 保留字段,暂不支持
248
+ * 图片的 Base64 值。
249
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
250
+ 支持的图片大小:所下载图片经Base64编码后不超过 3M。图片下载时间不超过 3 秒。
251
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
262
252
  */
263
- AdvancedInfo?: string;
253
+ ImageBase64?: string;
264
254
  /**
265
- * 文本行旋转纠正之后在图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)
255
+ * 图片的 Url 地址。
256
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
257
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
258
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
259
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
266
260
  */
267
- ItemCoord?: ItemCoord;
261
+ ImageUrl?: string;
268
262
  /**
269
- * 算式题型编号:
270
- ‘1’: 加减乘除四则
271
- ‘2’: 加减乘除已知结果求运算因子
272
- ‘3’: 判断大小
273
- ‘4’: 约等于估算
274
- ‘5’: 带余数除法
275
- ‘6’: 分数四则运算
276
- ‘7’: 单位换算
277
- ‘8’: 竖式加减法
278
- ‘9’: 竖式乘除法
279
- ‘10’: 脱式计算
280
- ‘11’: 解方程
263
+ * 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
281
264
  */
282
- ExpressionType?: string;
265
+ IsPdf?: boolean;
283
266
  /**
284
- * 错题推荐答案,算式运算结果正确返回为"",算式运算结果错误返回推荐答案 (注:暂不支持多个关系运算符(如`1<10<7`)、无关系运算符(如frac(1,2)+frac(2,3))、单位换算(如1元=100角)错题的推荐答案返回)
267
+ * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1
285
268
  */
286
- Answer?: string;
269
+ PdfPageNumber?: number;
287
270
  }
288
271
  /**
289
272
  * 港澳台居住证信息返回
@@ -1783,6 +1766,34 @@ export interface DriverLicenseOCRRequest {
1783
1766
  */
1784
1767
  CardSide?: string;
1785
1768
  }
1769
+ /**
1770
+ * TollInvoiceOCR请求参数结构体
1771
+ */
1772
+ export interface TollInvoiceOCRRequest {
1773
+ /**
1774
+ * 图片的 Base64 值。
1775
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1776
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
1777
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
1778
+ */
1779
+ ImageBase64?: string;
1780
+ /**
1781
+ * 图片的 Url 地址。
1782
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
1783
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
1784
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
1785
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
1786
+ */
1787
+ ImageUrl?: string;
1788
+ /**
1789
+ * 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
1790
+ */
1791
+ IsPdf?: boolean;
1792
+ /**
1793
+ * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
1794
+ */
1795
+ PdfPageNumber?: number;
1796
+ }
1786
1797
  /**
1787
1798
  * OtherInvoiceItem
1788
1799
  */
@@ -1844,6 +1855,8 @@ export interface SmartStructuralProRequest {
1844
1855
  ReceiptWeightNote -- 磅单收货单识别模板
1845
1856
  ArticalRecognize -- 手写作文模版
1846
1857
  Table -- 表格模版
1858
+ SteelLabel -- 实物标签识别模板
1859
+ CarInsurance -- 车辆保险单识别模板
1847
1860
  */
1848
1861
  ConfigId?: string;
1849
1862
  /**
@@ -2012,7 +2025,9 @@ export interface MainlandPermitOCRRequest {
2012
2025
  RetProfile?: boolean;
2013
2026
  /**
2014
2027
  * 图片正反面
2015
- FRONT:正面、BACK:反面,默认为FRONT
2028
+ FRONT:正面
2029
+ BACK:反面
2030
+ 默认为FRONT
2016
2031
  */
2017
2032
  CardSide?: string;
2018
2033
  }
@@ -3240,6 +3255,10 @@ export interface RecognizeGeneralInvoiceRequest {
3240
3255
  * 是否开启二维码识别。
3241
3256
  */
3242
3257
  EnableQRCode?: boolean;
3258
+ /**
3259
+ * 是否开启印章识别,默认为false
3260
+ */
3261
+ EnableSeal?: boolean;
3243
3262
  }
3244
3263
  /**
3245
3264
  * GeneralBasicOCR返回参数结构体
@@ -3714,32 +3733,53 @@ export interface DutyPaidProofOCRResponse {
3714
3733
  RequestId?: string;
3715
3734
  }
3716
3735
  /**
3717
- * TollInvoiceOCR请求参数结构体
3736
+ * 算式识别结果
3718
3737
  */
3719
- export interface TollInvoiceOCRRequest {
3738
+ export interface TextArithmetic {
3720
3739
  /**
3721
- * 图片的 Base64 值。
3722
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
3723
- 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
3724
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
3740
+ * 识别出的文本行内容
3725
3741
  */
3726
- ImageBase64?: string;
3742
+ DetectedText?: string;
3727
3743
  /**
3728
- * 图片的 Url 地址。
3729
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
3730
- 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
3731
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
3732
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
3744
+ * 算式运算结果,true-正确 false-错误或非法参数
3733
3745
  */
3734
- ImageUrl?: string;
3746
+ Result?: boolean;
3735
3747
  /**
3736
- * 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
3748
+ * 保留字段,暂不支持
3737
3749
  */
3738
- IsPdf?: boolean;
3750
+ Confidence?: number;
3739
3751
  /**
3740
- * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
3752
+ * 原图文本行坐标,以四个顶点坐标表示(保留字段,暂不支持)
3753
+ 注意:此字段可能返回 null,表示取不到有效值。
3741
3754
  */
3742
- PdfPageNumber?: number;
3755
+ Polygon?: Array<Coord>;
3756
+ /**
3757
+ * 保留字段,暂不支持
3758
+ */
3759
+ AdvancedInfo?: string;
3760
+ /**
3761
+ * 文本行旋转纠正之后在图像中的像素坐标,表示为(左上角x, 左上角y,宽width,高height)
3762
+ */
3763
+ ItemCoord?: ItemCoord;
3764
+ /**
3765
+ * 算式题型编号:
3766
+ ‘1’: 加减乘除四则
3767
+ ‘2’: 加减乘除已知结果求运算因子
3768
+ ‘3’: 判断大小
3769
+ ‘4’: 约等于估算
3770
+ ‘5’: 带余数除法
3771
+ ‘6’: 分数四则运算
3772
+ ‘7’: 单位换算
3773
+ ‘8’: 竖式加减法
3774
+ ‘9’: 竖式乘除法
3775
+ ‘10’: 脱式计算
3776
+ ‘11’: 解方程
3777
+ */
3778
+ ExpressionType?: string;
3779
+ /**
3780
+ * 错题推荐答案,算式运算结果正确返回为"",算式运算结果错误返回推荐答案 (注:暂不支持多个关系运算符(如`1<10<7`)、无关系运算符(如frac(1,2)+frac(2,3))、单位换算(如1元=100角)错题的推荐答案返回)
3781
+ */
3782
+ Answer?: string;
3743
3783
  }
3744
3784
  /**
3745
3785
  * LicensePlateOCR返回参数结构体
@@ -6631,15 +6671,11 @@ export interface MedicalInvoiceItem {
6631
6671
  */
6632
6672
  export interface GeneralAccurateOCRRequest {
6633
6673
  /**
6634
- * 图片的 Base64 值。
6635
- 要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。
6636
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
6674
+ * 图片/PDF的 Base64 值。要求图片经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
6637
6675
  */
6638
6676
  ImageBase64?: string;
6639
6677
  /**
6640
- * 图片的 Url 地址。
6641
- 要求图片经Base64编码后不超过 7M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP格式。图片下载时间不超过 3 秒。
6642
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6678
+ * 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6643
6679
  */
6644
6680
  ImageUrl?: string;
6645
6681
  /**
@@ -9405,7 +9441,7 @@ export interface MainlandPermitOCRResponse {
9405
9441
  */
9406
9442
  IssueNumber?: string;
9407
9443
  /**
9408
- * 证件类别, 如:台湾居民来往大陆通行证、港澳居民来往内地通行证。
9444
+ * 证件类别, 如:台湾居民来往大陆通行证、港澳居民来往内地通行证、往来港澳通行证。
9409
9445
  */
9410
9446
  Type?: string;
9411
9447
  /**
@@ -10980,32 +11016,25 @@ export interface VatInvoiceOCRResponse {
10980
11016
  RequestId?: string;
10981
11017
  }
10982
11018
  /**
10983
- * QuotaInvoiceOCR请求参数结构体
11019
+ * 印章信息
10984
11020
  */
10985
- export interface QuotaInvoiceOCRRequest {
11021
+ export interface InvoiceSealInfo {
10986
11022
  /**
10987
- * 图片的 Base64 值。
10988
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10989
- 支持的图片大小:所下载图片经Base64编码后不超过 3M。图片下载时间不超过 3 秒。
10990
- 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
11023
+ * 是否有公司印章(0:没有,1:有)
10991
11024
  */
10992
- ImageBase64?: string;
11025
+ CompanySealMark?: string;
10993
11026
  /**
10994
- * 图片的 Url 地址。
10995
- 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
10996
- 支持的图片大小:所下载图片经 Base64 编码后不超过 3M。图片下载时间不超过 3 秒。
10997
- 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
10998
- 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
11027
+ * 是否有监制印章(0:没有,1:有)
10999
11028
  */
11000
- ImageUrl?: string;
11029
+ SupervisionSealMark?: string;
11001
11030
  /**
11002
- * 是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。
11031
+ * 公司印章信息
11003
11032
  */
11004
- IsPdf?: boolean;
11033
+ CompanySealMarkInfo?: Array<string>;
11005
11034
  /**
11006
- * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
11035
+ * 监制印章信息
11007
11036
  */
11008
- PdfPageNumber?: number;
11037
+ SupervisionSealMarkInfo?: Array<string>;
11009
11038
  }
11010
11039
  /**
11011
11040
  * BankCardOCR返回参数结构体