tencentcloud-sdk-nodejs-ocr 4.0.231 → 4.0.242

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.
@@ -186,7 +186,7 @@ export interface HKIDCardOCRRequest {
186
186
  /**
187
187
  * 图片的 Base64 值。
188
188
  支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
189
- 支持的图片大小:所下载图片经Base64编码后不超过 3M。图片下载时间不超过 3 秒。
189
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
190
190
  */
191
191
  ImageBase64?: string
192
192
 
@@ -526,42 +526,42 @@ export interface VerifyBizLicenseResponse {
526
526
  ApprDate: string
527
527
 
528
528
  /**
529
- *
529
+ * 省(返回空值)
530
530
  */
531
531
  Province: string
532
532
 
533
533
  /**
534
- * 地级市
534
+ * 地级市(返回空值)
535
535
  */
536
536
  City: string
537
537
 
538
538
  /**
539
- * 区\县
539
+ * 区\县(返回空值)
540
540
  */
541
541
  County: string
542
542
 
543
543
  /**
544
- * 住所所在行政区划代码
544
+ * 住所所在行政区划代码(返回空值)
545
545
  */
546
546
  AreaCode: string
547
547
 
548
548
  /**
549
- * 行业门类代码
549
+ * 行业门类代码(返回空值)
550
550
  */
551
551
  IndustryPhyCode: string
552
552
 
553
553
  /**
554
- * 行业门类名称
554
+ * 行业门类名称(返回空值)
555
555
  */
556
556
  IndustryPhyName: string
557
557
 
558
558
  /**
559
- * 国民经济行业代码
559
+ * 国民经济行业代码(返回空值)
560
560
  */
561
561
  IndustryCode: string
562
562
 
563
563
  /**
564
- * 国民经济行业名称
564
+ * 国民经济行业名称(返回空值)
565
565
  */
566
566
  IndustryName: string
567
567
 
@@ -1864,7 +1864,7 @@ export interface FormulaOCRResponse {
1864
1864
  export interface BusInvoiceInfo {
1865
1865
  /**
1866
1866
  * 识别出的字段名称(关键字),支持以下字段:
1867
- 发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市。
1867
+ 发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次。
1868
1868
  */
1869
1869
  Name: string
1870
1870
 
@@ -2385,50 +2385,50 @@ export interface IDCardOCRResponse {
2385
2385
  /**
2386
2386
  * 姓名(人像面)
2387
2387
  */
2388
- Name?: string
2388
+ Name: string
2389
2389
 
2390
2390
  /**
2391
2391
  * 性别(人像面)
2392
2392
  */
2393
- Sex?: string
2393
+ Sex: string
2394
2394
 
2395
2395
  /**
2396
2396
  * 民族(人像面)
2397
2397
  */
2398
- Nation?: string
2398
+ Nation: string
2399
2399
 
2400
2400
  /**
2401
2401
  * 出生日期(人像面)
2402
2402
  */
2403
- Birth?: string
2403
+ Birth: string
2404
2404
 
2405
2405
  /**
2406
2406
  * 地址(人像面)
2407
2407
  */
2408
- Address?: string
2408
+ Address: string
2409
2409
 
2410
2410
  /**
2411
2411
  * 身份证号(人像面)
2412
2412
  */
2413
- IdNum?: string
2413
+ IdNum: string
2414
2414
 
2415
2415
  /**
2416
2416
  * 发证机关(国徽面)
2417
2417
  */
2418
- Authority?: string
2418
+ Authority: string
2419
2419
 
2420
2420
  /**
2421
2421
  * 证件有效期(国徽面)
2422
2422
  */
2423
- ValidDate?: string
2423
+ ValidDate: string
2424
2424
 
2425
2425
  /**
2426
2426
  * 扩展信息,不请求则不返回,具体输入参考示例3和示例4。
2427
2427
  IdCard,裁剪后身份证照片的base64编码,请求 Config.CropIdCard 时返回;
2428
2428
  Portrait,身份证头像照片的base64编码,请求 Config.CropPortrait 时返回;
2429
2429
 
2430
- Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0~100,分数越低越模糊,建议阈值≥50);
2431
- BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0~100,分数越低边框遮挡可能性越低,建议阈值≥50);
2430
+ Quality,图片质量分数,请求 Config.Quality 时返回(取值范围:0 ~ 100,分数越低越模糊,建议阈值≥50);
2431
+ BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
2432
2432
 
2433
2433
  WarnInfos,告警信息,Code 告警码列表和释义:
2434
2434
  -9100 身份证有效日期不合法告警,
@@ -2440,7 +2440,7 @@ WarnInfos,告警信息,Code 告警码列表和释义:
2440
2440
  -9106 身份证 PS 告警,
2441
2441
  -9107 身份证反光告警。
2442
2442
  */
2443
- AdvancedInfo?: string
2443
+ AdvancedInfo: string
2444
2444
 
2445
2445
  /**
2446
2446
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2567,27 +2567,27 @@ export interface HKIDCardOCRResponse {
2567
2567
  /**
2568
2568
  * 中文姓名
2569
2569
  */
2570
- CnName?: string
2570
+ CnName: string
2571
2571
 
2572
2572
  /**
2573
2573
  * 英文姓名
2574
2574
  */
2575
- EnName?: string
2575
+ EnName: string
2576
2576
 
2577
2577
  /**
2578
2578
  * 中文姓名对应电码
2579
2579
  */
2580
- TelexCode?: string
2580
+ TelexCode: string
2581
2581
 
2582
2582
  /**
2583
2583
  * 性别 :“男M”或“女F”
2584
2584
  */
2585
- Sex?: string
2585
+ Sex: string
2586
2586
 
2587
2587
  /**
2588
2588
  * 出生日期
2589
2589
  */
2590
- Birthday?: string
2590
+ Birthday: string
2591
2591
 
2592
2592
  /**
2593
2593
  * 永久性居民身份证。
@@ -2595,27 +2595,27 @@ export interface HKIDCardOCRResponse {
2595
2595
  1:永久;
2596
2596
  -1:未知。
2597
2597
  */
2598
- Permanent?: number
2598
+ Permanent: number
2599
2599
 
2600
2600
  /**
2601
2601
  * 身份证号码
2602
2602
  */
2603
- IdNum?: string
2603
+ IdNum: string
2604
2604
 
2605
2605
  /**
2606
2606
  * 证件符号,出生日期下的符号,例如"***AZ"
2607
2607
  */
2608
- Symbol?: string
2608
+ Symbol: string
2609
2609
 
2610
2610
  /**
2611
2611
  * 首次签发日期
2612
2612
  */
2613
- FirstIssueDate?: string
2613
+ FirstIssueDate: string
2614
2614
 
2615
2615
  /**
2616
2616
  * 最近领用日期
2617
2617
  */
2618
- CurrentIssueDate?: string
2618
+ CurrentIssueDate: string
2619
2619
 
2620
2620
  /**
2621
2621
  * 真假判断。
@@ -2624,13 +2624,13 @@ export interface HKIDCardOCRResponse {
2624
2624
  2:真。
2625
2625
  注意:此字段可能返回 null,表示取不到有效值。
2626
2626
  */
2627
- FakeDetectResult?: number
2627
+ FakeDetectResult: number
2628
2628
 
2629
2629
  /**
2630
2630
  * 人像照片Base64后的结果
2631
2631
  注意:此字段可能返回 null,表示取不到有效值。
2632
2632
  */
2633
- HeadImage?: string
2633
+ HeadImage: string
2634
2634
 
2635
2635
  /**
2636
2636
  * 多重告警码,当身份证是翻拍、复印、PS件时返回对应告警码。
@@ -2639,7 +2639,7 @@ export interface HKIDCardOCRResponse {
2639
2639
  -9104:证照PS告警
2640
2640
  -9105:证照防伪告警
2641
2641
  */
2642
- WarningCode?: Array<number>
2642
+ WarningCode: Array<number>
2643
2643
 
2644
2644
  /**
2645
2645
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2778,6 +2778,28 @@ export interface PropOwnerCertOCRRequest {
2778
2778
  ImageUrl?: string
2779
2779
  }
2780
2780
 
2781
+ /**
2782
+ * RecognizeContainerOCR请求参数结构体
2783
+ */
2784
+ export interface RecognizeContainerOCRRequest {
2785
+ /**
2786
+ * 图片的 Base64 值。
2787
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2788
+ 支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。
2789
+ 图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
2790
+ */
2791
+ ImageBase64?: string
2792
+
2793
+ /**
2794
+ * 图片的 Url 地址。
2795
+ 支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。
2796
+ 支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。
2797
+ 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
2798
+ 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
2799
+ */
2800
+ ImageUrl?: string
2801
+ }
2802
+
2781
2803
  /**
2782
2804
  * TextDetect请求参数结构体
2783
2805
  */
@@ -2840,11 +2862,18 @@ export interface VatInvoiceVerifyRequest {
2840
2862
  InvoiceDate: string
2841
2863
 
2842
2864
  /**
2843
- * 金额/发票校验码后6位(根据票种传递对应值,如果报参数错误,请仔细检查每个票种对应的值)
2865
+ * 根据票种传递对应值,如果报参数错误,请仔细检查每个票种对应的值
2866
+
2844
2867
  增值税专用发票:开具金额(不含税)
2868
+
2845
2869
  增值税普通发票、增值税电子普通发票(含通行费发票)、增值税普通发票(卷票):校验码后6位
2870
+
2871
+ 区块链发票:不含税金额/校验码,例如:“285.01/856ab”
2872
+
2846
2873
  机动车销售统一发票:不含税价
2874
+
2847
2875
  货物运输业增值税专用发票:合计金额
2876
+
2848
2877
  二手车销售统一发票:车价合计
2849
2878
  */
2850
2879
  Additional: string
@@ -3858,6 +3887,16 @@ export interface GeneralAccurateOCRRequest {
3858
3887
  * 是否开启原图切图检测功能,开启后可提升“整图面积大,但单字符占比面积小”(例如:试卷)场景下的识别效果,默认关
3859
3888
  */
3860
3889
  EnableDetectSplit?: boolean
3890
+
3891
+ /**
3892
+ * 是否开启PDF识别,默认值为false,开启后可同时支持图片和PDF的识别。
3893
+ */
3894
+ IsPdf?: boolean
3895
+
3896
+ /**
3897
+ * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为1。
3898
+ */
3899
+ PdfPageNumber?: number
3861
3900
  }
3862
3901
 
3863
3902
  /**
@@ -4782,6 +4821,86 @@ export interface ResidenceBookletOCRResponse {
4782
4821
  */
4783
4822
  Address: string
4784
4823
 
4824
+ /**
4825
+ * 承办人签章文字
4826
+ */
4827
+ Signature: string
4828
+
4829
+ /**
4830
+ * 签发日期
4831
+ */
4832
+ IssueDate: string
4833
+
4834
+ /**
4835
+ * 户主页编号
4836
+ */
4837
+ HomePageNumber: string
4838
+
4839
+ /**
4840
+ * 户主姓名
4841
+ */
4842
+ HouseholderName: string
4843
+
4844
+ /**
4845
+ * 户主或与户主关系
4846
+ */
4847
+ Relationship: string
4848
+
4849
+ /**
4850
+ * 本市(县)其他住址
4851
+ */
4852
+ OtherAddresses: string
4853
+
4854
+ /**
4855
+ * 宗教信仰
4856
+ */
4857
+ ReligiousBelief: string
4858
+
4859
+ /**
4860
+ * 身高
4861
+ */
4862
+ Height: string
4863
+
4864
+ /**
4865
+ * 血型
4866
+ */
4867
+ BloodType: string
4868
+
4869
+ /**
4870
+ * 婚姻状况
4871
+ */
4872
+ MaritalStatus: string
4873
+
4874
+ /**
4875
+ * 兵役状况
4876
+ */
4877
+ VeteranStatus: string
4878
+
4879
+ /**
4880
+ * 职业
4881
+ */
4882
+ Profession: string
4883
+
4884
+ /**
4885
+ * 何时由何地迁来本市(县)
4886
+ */
4887
+ MoveToCityInformation: string
4888
+
4889
+ /**
4890
+ * 何时由何地迁来本址
4891
+ */
4892
+ MoveToSiteInformation: string
4893
+
4894
+ /**
4895
+ * 登记日期
4896
+ */
4897
+ RegistrationDate: string
4898
+
4899
+ /**
4900
+ * 曾用名
4901
+ */
4902
+ FormerName: string
4903
+
4785
4904
  /**
4786
4905
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4787
4906
  */
@@ -5588,6 +5707,73 @@ export interface CandWord {
5588
5707
  CandWords: Array<Words>
5589
5708
  }
5590
5709
 
5710
+ /**
5711
+ * RecognizeContainerOCR返回参数结构体
5712
+ */
5713
+ export interface RecognizeContainerOCRResponse {
5714
+ /**
5715
+ * 集装箱箱号
5716
+ */
5717
+ ContainerId?: string
5718
+
5719
+ /**
5720
+ * 集装箱类型
5721
+ */
5722
+ ContainerType?: string
5723
+
5724
+ /**
5725
+ * 集装箱总重量,单位:千克(KG)
5726
+ */
5727
+ GrossKG?: string
5728
+
5729
+ /**
5730
+ * 集装箱总重量,单位:磅(LB)
5731
+ */
5732
+ GrossLB?: string
5733
+
5734
+ /**
5735
+ * 集装箱有效承重,单位:千克(KG)
5736
+ */
5737
+ PayloadKG?: string
5738
+
5739
+ /**
5740
+ * 集装箱有效承重,单位:磅(LB)
5741
+ */
5742
+ PayloadLB?: string
5743
+
5744
+ /**
5745
+ * 集装箱容量,单位:立方米
5746
+ */
5747
+ CapacityM3?: string
5748
+
5749
+ /**
5750
+ * 集装箱容量,单位:立英尺
5751
+ */
5752
+ CapacityFT3?: string
5753
+
5754
+ /**
5755
+ * 告警码
5756
+ -9926 集装箱箱号不完整或者不清晰
5757
+ -9927 集装箱类型不完整或者不清晰
5758
+ */
5759
+ Warn?: Array<number>
5760
+
5761
+ /**
5762
+ * 集装箱自身重量,单位:千克(KG)
5763
+ */
5764
+ TareKG?: string
5765
+
5766
+ /**
5767
+ * 集装箱自身重量,单位:磅(LB)
5768
+ */
5769
+ TareLB?: string
5770
+
5771
+ /**
5772
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5773
+ */
5774
+ RequestId?: string
5775
+ }
5776
+
5591
5777
  /**
5592
5778
  * 企业证照单个字段的内容
5593
5779
  */
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, WaybillOCRResponse, MLIDCardOCRRequest, VehicleLicenseOCRRequest, EnterpriseLicenseOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, BankCardOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, PassportOCRResponse, VerifyBasicBizLicenseResponse, VehicleRegCertOCRRequest, WaybillOCRRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, VerifyEnterpriseFourFactorsRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, SealOCRResponse, FinanBillOCRResponse, ShipInvoiceOCRRequest, BankSlipOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RideHailingDriverLicenseOCRRequest, QueryBarCodeRequest, OrgCodeCertOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralEfficientOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, HmtResidentPermitOCRResponse, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, VinOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, VerifyBasicBizLicenseRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, FinanBillOCRRequest, VerifyEnterpriseFourFactorsResponse, GeneralFastOCRResponse } from "./ocr_models";
2
+ import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, FlightInvoiceOCRRequest, MLIDPassportOCRRequest, TextDetectResponse, TollInvoiceOCRResponse, VerifyBizLicenseResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, VerifyBizLicenseRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, WaybillOCRResponse, MLIDCardOCRRequest, VehicleLicenseOCRRequest, EnterpriseLicenseOCRResponse, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, EnterpriseLicenseOCRRequest, BankCardOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, InsuranceBillOCRResponse, GeneralAccurateOCRResponse, HmtResidentPermitOCRRequest, QrcodeOCRRequest, TaxiInvoiceOCRResponse, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VehicleLicenseOCRResponse, VatInvoiceOCRRequest, IDCardOCRResponse, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, TextDetectRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, PassportOCRResponse, VerifyBasicBizLicenseResponse, VehicleRegCertOCRRequest, WaybillOCRRequest, LicensePlateOCRRequest, GeneralBasicOCRRequest, GeneralEfficientOCRRequest, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, VerifyEnterpriseFourFactorsRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, QueryBarCodeResponse, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, SealOCRResponse, FinanBillOCRResponse, ShipInvoiceOCRRequest, BankSlipOCRResponse, VinOCRResponse, EduPaperOCRRequest, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RideHailingDriverLicenseOCRRequest, QueryBarCodeRequest, OrgCodeCertOCRResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralEfficientOCRResponse, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, HmtResidentPermitOCRResponse, EnglishOCRResponse, BusInvoiceOCRRequest, QuotaInvoiceOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, GeneralHandwritingOCRResponse, TableOCRResponse, AdvertiseOCRResponse, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, VinOCRRequest, RideHailingTransportLicenseOCRRequest, MLIDCardOCRResponse, RecognizeTableOCRRequest, EstateCertOCRRequest, VerifyBasicBizLicenseRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, FinanBillOCRRequest, VerifyEnterpriseFourFactorsResponse, GeneralFastOCRResponse } from "./ocr_models";
3
3
  /**
4
4
  * ocr client
5
5
  * @class
@@ -165,6 +165,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
165
165
  * 本接口支持机票行程单关键字段的识别,包括旅客姓名、有效身份证件号码、电子客票号码、验证码、填开单位、其他税费、燃油附加费、民航发展基金、保险费、销售单位代号、始发地、目的地、航班号、时间、日期、座位等级、承运人、发票消费类型、票价、合计金额、填开日期、国内国际标签、印刷序号、客票级别/类别、客票生效日期、有效期截止日期、免费行李等字段,支持航班信息多行明细输出。
166
166
  */
167
167
  FlightInvoiceOCR(req: FlightInvoiceOCRRequest, cb?: (error: string, rep: FlightInvoiceOCRResponse) => void): Promise<FlightInvoiceOCRResponse>;
168
+ /**
169
+ * 本接口支持集装箱箱门信息识别,识别字段包括集装箱箱号、类型、总重量、有效承重、容量、自身重量,具备集装箱箱号、类型不完整或者不清晰的告警功能。
170
+
171
+ */
172
+ RecognizeContainerOCR(req: RecognizeContainerOCRRequest, cb?: (error: string, rep: RecognizeContainerOCRResponse) => void): Promise<RecognizeContainerOCRResponse>;
168
173
  /**
169
174
  * 本接口支持多张、多类型票据的混合检测和自动分类,返回对应票据类型。目前已支持增值税发票、增值税发票(卷票)、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票、酒店账单、客运限额发票、购物小票、完税证明共15种票据。
170
175
  */
@@ -210,6 +210,13 @@ class Client extends TencentCloudCommon.AbstractClient {
210
210
  async FlightInvoiceOCR(req, cb) {
211
211
  return this.request("FlightInvoiceOCR", req, cb);
212
212
  }
213
+ /**
214
+ * 本接口支持集装箱箱门信息识别,识别字段包括集装箱箱号、类型、总重量、有效承重、容量、自身重量,具备集装箱箱号、类型不完整或者不清晰的告警功能。
215
+
216
+ */
217
+ async RecognizeContainerOCR(req, cb) {
218
+ return this.request("RecognizeContainerOCR", req, cb);
219
+ }
213
220
  /**
214
221
  * 本接口支持多张、多类型票据的混合检测和自动分类,返回对应票据类型。目前已支持增值税发票、增值税发票(卷票)、定额发票、通用机打发票、购车发票、火车票、出租车发票、机票行程单、汽车票、轮船票、过路过桥费发票、酒店账单、客运限额发票、购物小票、完税证明共15种票据。
215
222
  */