tencentcloud-sdk-nodejs-ocr 4.0.1034 → 4.0.1035

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.0.1034",
3
+ "version": "4.0.1035",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
@@ -55,7 +55,7 @@ import {
55
55
  ClassifyStoreNameRequest,
56
56
  InvoiceGeneralOCRRequest,
57
57
  Rect,
58
- LicensePlateInfo,
58
+ CustomsPaymentReceipt,
59
59
  QuestionSplitOCRRequest,
60
60
  VatRollItem,
61
61
  TextFormula,
@@ -87,6 +87,7 @@ import {
87
87
  SmartStructuralOCRV2Response,
88
88
  EnterpriseLicenseOCRRequest,
89
89
  QuestionSplitOCRResponse,
90
+ TableOCRResponse,
90
91
  RecognizeStoreNameRequest,
91
92
  StructuralItem,
92
93
  OnlineTaxiItineraryInfo,
@@ -172,6 +173,7 @@ import {
172
173
  PassportOCRResponse,
173
174
  FinancialBillItemDetails,
174
175
  CardWarnInfo,
176
+ TaxPayment,
175
177
  VehicleRegCertOCRRequest,
176
178
  RecognizeTravelCardOCRResponse,
177
179
  ElectronicAirTransportDetail,
@@ -301,7 +303,7 @@ import {
301
303
  GeneralHandwritingOCRResponse,
302
304
  IDCardResult,
303
305
  TableCell,
304
- TableOCRResponse,
306
+ LicensePlateInfo,
305
307
  DetectedWordCoordPoint,
306
308
  QuestionBlockObj,
307
309
  Element,
@@ -139,6 +139,8 @@ FailedOperation.UnKnowError:表示识别失败;
139
139
  15:非税发票
140
140
  16:全电发票
141
141
  17:医疗发票
142
+ 18:完税凭证
143
+ 19:海关缴款书
142
144
  */
143
145
  Type?: number
144
146
  /**
@@ -1377,25 +1379,17 @@ export interface Rect {
1377
1379
  }
1378
1380
 
1379
1381
  /**
1380
- * 全部车牌信息
1382
+ * 海关缴款书
1381
1383
  */
1382
- export interface LicensePlateInfo {
1383
- /**
1384
- * 识别出的车牌号码。
1385
- */
1386
- Number?: string
1387
- /**
1388
- * 置信度,0 - 100 之间。
1389
- */
1390
- Confidence?: number
1384
+ export interface CustomsPaymentReceipt {
1391
1385
  /**
1392
- * 文本行在原图片中的像素坐标框。
1386
+ * 发票名称
1393
1387
  */
1394
- Rect?: Rect
1388
+ Title?: string
1395
1389
  /**
1396
- * 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
1390
+ * 识别出的字段名称(关键字),支持以下字段: 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。 示例值:纳税人识别号
1397
1391
  */
1398
- Color?: string
1392
+ Content?: Array<OtherInvoiceItem>
1399
1393
  }
1400
1394
 
1401
1395
  /**
@@ -2274,6 +2268,24 @@ export interface QuestionSplitOCRResponse {
2274
2268
  RequestId?: string
2275
2269
  }
2276
2270
 
2271
+ /**
2272
+ * TableOCR返回参数结构体
2273
+ */
2274
+ export interface TableOCRResponse {
2275
+ /**
2276
+ * 检测到的文本信息,具体内容请点击左侧链接
2277
+ */
2278
+ TextDetections?: Array<TextTable>
2279
+ /**
2280
+ * Base64 编码后的 Excel 数据。
2281
+ */
2282
+ Data?: string
2283
+ /**
2284
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2285
+ */
2286
+ RequestId?: string
2287
+ }
2288
+
2277
2289
  /**
2278
2290
  * RecognizeStoreName请求参数结构体
2279
2291
  */
@@ -4343,6 +4355,16 @@ export interface SingleInvoiceItem {
4343
4355
  注意:此字段可能返回 null,表示取不到有效值。
4344
4356
  */
4345
4357
  ElectronicFlightTicketFull?: ElectronicFlightTicketFull
4358
+ /**
4359
+ * 完税凭证
4360
+ 注意:此字段可能返回 null,表示取不到有效值。
4361
+ */
4362
+ TaxPayment?: TaxPayment
4363
+ /**
4364
+ * 海关缴款
4365
+ 注意:此字段可能返回 null,表示取不到有效值。
4366
+ */
4367
+ CustomsPaymentReceipt?: CustomsPaymentReceipt
4346
4368
  }
4347
4369
 
4348
4370
  /**
@@ -5828,6 +5850,22 @@ export interface CardWarnInfo {
5828
5850
  PSCheck?: number
5829
5851
  }
5830
5852
 
5853
+ /**
5854
+ * 完税凭证
5855
+ */
5856
+ export interface TaxPayment {
5857
+ /**
5858
+ * 发票名称
5859
+ */
5860
+ Title?: string
5861
+ /**
5862
+ * 识别出的字段名称(关键字),支持以下字段:
5863
+ 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。
5864
+ 示例值:纳税人识别号
5865
+ */
5866
+ Content?: Array<OtherInvoiceItem>
5867
+ }
5868
+
5831
5869
  /**
5832
5870
  * VehicleRegCertOCR请求参数结构体
5833
5871
  */
@@ -10616,21 +10654,25 @@ export interface TableCell {
10616
10654
  }
10617
10655
 
10618
10656
  /**
10619
- * TableOCR返回参数结构体
10657
+ * 全部车牌信息
10620
10658
  */
10621
- export interface TableOCRResponse {
10659
+ export interface LicensePlateInfo {
10622
10660
  /**
10623
- * 检测到的文本信息,具体内容请点击左侧链接
10661
+ * 识别出的车牌号码。
10624
10662
  */
10625
- TextDetections?: Array<TextTable>
10663
+ Number?: string
10626
10664
  /**
10627
- * Base64 编码后的 Excel 数据。
10665
+ * 置信度,0 - 100 之间。
10628
10666
  */
10629
- Data?: string
10667
+ Confidence?: number
10630
10668
  /**
10631
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10669
+ * 文本行在原图片中的像素坐标框。
10632
10670
  */
10633
- RequestId?: string
10671
+ Rect?: Rect
10672
+ /**
10673
+ * 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
10674
+ */
10675
+ Color?: string
10634
10676
  }
10635
10677
 
10636
10678
  /**
@@ -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, RecognizeGeneralTextImageWarnResponse, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, ClassifyStoreNameRequest, InvoiceGeneralOCRRequest, QuestionSplitOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, QuestionOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, SmartStructuralProRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, QuestionSplitOCRResponse, 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, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, ReconstructDocumentResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, VatInvoiceVerifyResponse, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, ShipInvoiceOCRResponse, ReconstructDocumentRequest, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, GetTaskStateResponse, QuestionOCRRequest, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, OrgCodeCertOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, SmartStructuralProResponse, PermitOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, RecognizeStoreNameResponse, GetOCRTokenRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, TableOCRRequest, BusinessCardOCRRequest, FinanBillOCRRequest, QuotaInvoiceOCRResponse, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
2
+ import { RecognizeOnlineTaxiItineraryOCRResponse, HKIDCardOCRRequest, BankSlipOCRRequest, BusinessCardOCRResponse, BankCardOCRRequest, SmartStructuralOCRResponse, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, RecognizeGeneralTextImageWarnResponse, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, GetOCRTokenResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, 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, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, TaxiInvoiceOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, PropOwnerCertOCRRequest, ImageEnhancementResponse, PassportOCRResponse, VehicleRegCertOCRRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, ReconstructDocumentResponse, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, VatInvoiceVerifyResponse, RecognizeValidIDCardOCRResponse, IDCardOCRResponse, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, RecognizeFormulaOCRRequest, FlightInvoiceOCRResponse, ShipInvoiceOCRResponse, ReconstructDocumentRequest, VatInvoiceVerifyNewRequest, InstitutionOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, RecognizeGeneralCardWarnResponse, ClassifyStoreNameResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, RecognizeEncryptedIDCardOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, RecognizeGeneralInvoiceResponse, GetTaskStateResponse, QuestionOCRRequest, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, MLIDPassportOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, GetOCRResultRequest, BusInvoiceOCRResponse, GetOCRResultResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, RecognizeForeignPermanentResidentIdCardResponse, BusInvoiceOCRRequest, OrgCodeCertOCRResponse, 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, QuotaInvoiceOCRResponse, RecognizeGeneralTextImageWarnRequest, RecognizeForeignPermanentResidentIdCardRequest, GeneralFastOCRResponse } from "./ocr_models";
3
3
  /**
4
4
  * ocr client
5
5
  * @class
@@ -118,6 +118,8 @@ export interface InvoiceItem {
118
118
  15:非税发票
119
119
  16:全电发票
120
120
  17:医疗发票
121
+ 18:完税凭证
122
+ 19:海关缴款书
121
123
  */
122
124
  Type?: number;
123
125
  /**
@@ -1322,25 +1324,17 @@ export interface Rect {
1322
1324
  Height?: number;
1323
1325
  }
1324
1326
  /**
1325
- * 全部车牌信息
1327
+ * 海关缴款书
1326
1328
  */
1327
- export interface LicensePlateInfo {
1328
- /**
1329
- * 识别出的车牌号码。
1330
- */
1331
- Number?: string;
1332
- /**
1333
- * 置信度,0 - 100 之间。
1334
- */
1335
- Confidence?: number;
1329
+ export interface CustomsPaymentReceipt {
1336
1330
  /**
1337
- * 文本行在原图片中的像素坐标框。
1331
+ * 发票名称
1338
1332
  */
1339
- Rect?: Rect;
1333
+ Title?: string;
1340
1334
  /**
1341
- * 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
1335
+ * 识别出的字段名称(关键字),支持以下字段: 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。 示例值:纳税人识别号
1342
1336
  */
1343
- Color?: string;
1337
+ Content?: Array<OtherInvoiceItem>;
1344
1338
  }
1345
1339
  /**
1346
1340
  * QuestionSplitOCR请求参数结构体
@@ -2187,6 +2181,23 @@ export interface QuestionSplitOCRResponse {
2187
2181
  */
2188
2182
  RequestId?: string;
2189
2183
  }
2184
+ /**
2185
+ * TableOCR返回参数结构体
2186
+ */
2187
+ export interface TableOCRResponse {
2188
+ /**
2189
+ * 检测到的文本信息,具体内容请点击左侧链接
2190
+ */
2191
+ TextDetections?: Array<TextTable>;
2192
+ /**
2193
+ * Base64 编码后的 Excel 数据。
2194
+ */
2195
+ Data?: string;
2196
+ /**
2197
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2198
+ */
2199
+ RequestId?: string;
2200
+ }
2190
2201
  /**
2191
2202
  * RecognizeStoreName请求参数结构体
2192
2203
  */
@@ -4199,6 +4210,16 @@ export interface SingleInvoiceItem {
4199
4210
  注意:此字段可能返回 null,表示取不到有效值。
4200
4211
  */
4201
4212
  ElectronicFlightTicketFull?: ElectronicFlightTicketFull;
4213
+ /**
4214
+ * 完税凭证
4215
+ 注意:此字段可能返回 null,表示取不到有效值。
4216
+ */
4217
+ TaxPayment?: TaxPayment;
4218
+ /**
4219
+ * 海关缴款
4220
+ 注意:此字段可能返回 null,表示取不到有效值。
4221
+ */
4222
+ CustomsPaymentReceipt?: CustomsPaymentReceipt;
4202
4223
  }
4203
4224
  /**
4204
4225
  * InvoiceGeneralOCR返回参数结构体
@@ -5656,6 +5677,21 @@ export interface CardWarnInfo {
5656
5677
  */
5657
5678
  PSCheck?: number;
5658
5679
  }
5680
+ /**
5681
+ * 完税凭证
5682
+ */
5683
+ export interface TaxPayment {
5684
+ /**
5685
+ * 发票名称
5686
+ */
5687
+ Title?: string;
5688
+ /**
5689
+ * 识别出的字段名称(关键字),支持以下字段:
5690
+ 税号 、纳税人识别号 、纳税人名称 、金额合计大写 、金额合计小写 、填发日期 、税务机关 、填票人。
5691
+ 示例值:纳税人识别号
5692
+ */
5693
+ Content?: Array<OtherInvoiceItem>;
5694
+ }
5659
5695
  /**
5660
5696
  * VehicleRegCertOCR请求参数结构体
5661
5697
  */
@@ -10315,21 +10351,25 @@ export interface TableCell {
10315
10351
  Contents: Array<CellContent>;
10316
10352
  }
10317
10353
  /**
10318
- * TableOCR返回参数结构体
10354
+ * 全部车牌信息
10319
10355
  */
10320
- export interface TableOCRResponse {
10356
+ export interface LicensePlateInfo {
10321
10357
  /**
10322
- * 检测到的文本信息,具体内容请点击左侧链接
10358
+ * 识别出的车牌号码。
10323
10359
  */
10324
- TextDetections?: Array<TextTable>;
10360
+ Number?: string;
10325
10361
  /**
10326
- * Base64 编码后的 Excel 数据。
10362
+ * 置信度,0 - 100 之间。
10327
10363
  */
10328
- Data?: string;
10364
+ Confidence?: number;
10329
10365
  /**
10330
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10366
+ * 文本行在原图片中的像素坐标框。
10331
10367
  */
10332
- RequestId?: string;
10368
+ Rect?: Rect;
10369
+ /**
10370
+ * 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
10371
+ */
10372
+ Color?: string;
10333
10373
  }
10334
10374
  /**
10335
10375
  * 单字在原图中的坐标,以四个顶点坐标表示,以左上角为起点,顺时针返回。