tencentcloud-sdk-ocr 3.0.1122 → 3.0.1124

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20181119/models.rb +20 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b72a1936cc641896d64783903992a50be81e400b
4
- data.tar.gz: 7796aaa28c786daff77432572e865b7b27f3ead8
3
+ metadata.gz: 94d203643a6d3855f146e1811b3207201c09d6a6
4
+ data.tar.gz: 4b51f4ad363445d860eef20513fc9653477ace41
5
5
  SHA512:
6
- metadata.gz: a1c8bfd82c8e8c45626b9a6f64e6682e9ee2077c1123b0778137644384b1d89c4dcfbc129cb013010cec6579b74b43aa7d263925f0820e0f25ae5ebfad84dae9
7
- data.tar.gz: 5e06fad9c5ca9ddf4dced78b6876995dc672f2897aaf442c230172ad24ddb6ed7bb4131e9931911cf28bc5f79170cd7c783183677c36a20ec13f2c70b97138e9
6
+ metadata.gz: f956f10f5cda156ab5cdd03ee68b4f3f0b1dae755d1eb2f73c4e31d8bbb6f89cec0ee53bc02a91e3ce5ea622c4ced3987ff22076e81f66b10ac23519c1644063
7
+ data.tar.gz: f3f5809f9c6eefc1e551505088acd002d9b00f1760344ea44c5bf19a8292fc498096c8a08ed2d8c7d175873cd8c95d6a2bc5b733a7f713306da9df4db68af394
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1122
1
+ 3.0.1124
@@ -2889,7 +2889,7 @@ module TencentCloud
2889
2889
  # RideHailingTransportLicense -- 网约车运输证
2890
2890
  # WayBill -- 快递运单
2891
2891
  # AccountOpeningPermit -- 银行开户许可证
2892
- # InvoiceEng -- 海外发票模版
2892
+ # InvoiceEng -- 国际发票模板
2893
2893
  # Coin --钱币识别模板
2894
2894
  # OnboardingDocuments -- 入职材料识别
2895
2895
  # PropertyOwnershipCertificate -- 房产证识别
@@ -2994,7 +2994,7 @@ module TencentCloud
2994
2994
  # @type EnableCoord: Boolean
2995
2995
  # @param OutputParentKey: 是否开启父子key识别,默认是
2996
2996
  # @type OutputParentKey: Boolean
2997
- # @param ConfigAdvanced: 模版的单个属性配置
2997
+ # @param ConfigAdvanced: 模板的单个属性配置
2998
2998
  # @type ConfigAdvanced: :class:`Tencentcloud::Ocr.v20181119.models.ConfigAdvanced`
2999
2999
 
3000
3000
  attr_accessor :ImageUrl, :ImageBase64, :PdfPageNumber, :ItemNames, :ItemNamesShowMode, :ReturnFullText, :ConfigId, :EnableCoord, :OutputParentKey, :ConfigAdvanced
@@ -3093,7 +3093,7 @@ module TencentCloud
3093
3093
  # @type ReturnFullText: Boolean
3094
3094
  # @param ConfigId: 配置id支持:
3095
3095
  # General -- 通用场景
3096
- # InvoiceEng -- 国际invoice模版
3096
+ # InvoiceEng -- 国际invoice模板
3097
3097
  # WayBillEng --海运订单模板
3098
3098
  # CustomsDeclaration -- 进出口报关单
3099
3099
  # WeightNote -- 磅单
@@ -3103,18 +3103,18 @@ module TencentCloud
3103
3103
  # Statement -- 对账单识别模板
3104
3104
  # BookingConfirmation -- 配舱通知书识别模板
3105
3105
  # AirWayBill -- 航空运单识别模板
3106
- # Table -- 表格模版
3106
+ # Table -- 表格模板
3107
3107
  # SteelLabel -- 实物标签识别模板
3108
3108
  # CarInsurance -- 车辆保险单识别模板
3109
3109
  # MultiRealEstateCertificate -- 房产材料识别模板
3110
3110
  # MultiRealEstateMaterial -- 房产证明识别模板
3111
- # HongKongUtilityBill -- 香港水电煤单识别模板
3111
+ # HongKongUtilityBill -- 中国香港水电煤单识别模板
3112
3112
  # @type ConfigId: String
3113
3113
  # @param EnableCoord: 是否开启全文字段坐标值的识别
3114
3114
  # @type EnableCoord: Boolean
3115
3115
  # @param OutputParentKey: 是否开启父子key识别,默认是
3116
3116
  # @type OutputParentKey: Boolean
3117
- # @param ConfigAdvanced: 模版的单个属性配置
3117
+ # @param ConfigAdvanced: 模板的单个属性配置
3118
3118
  # @type ConfigAdvanced: :class:`Tencentcloud::Ocr.v20181119.models.ConfigAdvanced`
3119
3119
  # @param OutputLanguage: cn时,添加的key为中文
3120
3120
  # en时,添加的key为英语
@@ -3820,10 +3820,12 @@ module TencentCloud
3820
3820
  # @type PdfPageNumber: Integer
3821
3821
  # @param EnableDetectText: 文本检测开关,默认为true。设置为false可直接进行单行识别,适用于仅包含正向单行文本的图片场景。
3822
3822
  # @type EnableDetectText: Boolean
3823
+ # @param ConfigID: 配置ID支持: OCR -- 通用场景 MulOCR--多语种场景
3824
+ # @type ConfigID: String
3823
3825
 
3824
- attr_accessor :ImageBase64, :ImageUrl, :IsWords, :EnableDetectSplit, :IsPdf, :PdfPageNumber, :EnableDetectText
3826
+ attr_accessor :ImageBase64, :ImageUrl, :IsWords, :EnableDetectSplit, :IsPdf, :PdfPageNumber, :EnableDetectText, :ConfigID
3825
3827
 
3826
- def initialize(imagebase64=nil, imageurl=nil, iswords=nil, enabledetectsplit=nil, ispdf=nil, pdfpagenumber=nil, enabledetecttext=nil)
3828
+ def initialize(imagebase64=nil, imageurl=nil, iswords=nil, enabledetectsplit=nil, ispdf=nil, pdfpagenumber=nil, enabledetecttext=nil, configid=nil)
3827
3829
  @ImageBase64 = imagebase64
3828
3830
  @ImageUrl = imageurl
3829
3831
  @IsWords = iswords
@@ -3831,6 +3833,7 @@ module TencentCloud
3831
3833
  @IsPdf = ispdf
3832
3834
  @PdfPageNumber = pdfpagenumber
3833
3835
  @EnableDetectText = enabledetecttext
3836
+ @ConfigID = configid
3834
3837
  end
3835
3838
 
3836
3839
  def deserialize(params)
@@ -3841,6 +3844,7 @@ module TencentCloud
3841
3844
  @IsPdf = params['IsPdf']
3842
3845
  @PdfPageNumber = params['PdfPageNumber']
3843
3846
  @EnableDetectText = params['EnableDetectText']
3847
+ @ConfigID = params['ConfigID']
3844
3848
  end
3845
3849
  end
3846
3850
 
@@ -4571,10 +4575,10 @@ module TencentCloud
4571
4575
  # @param PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为前3页。
4572
4576
  # @type PdfPageNumber: Integer
4573
4577
  # @param ConfigId: 配置id支持:
4574
- # ArticleRecognize -- 手写作文模版
4578
+ # ArticleRecognize -- 手写作文模板
4575
4579
  # 默认:ArticleRecognize
4576
4580
  # @type ConfigId: String
4577
- # @param Scene: 模版的单个属性配置
4581
+ # @param Scene: 模板的单个属性配置
4578
4582
  # @type Scene: String
4579
4583
 
4580
4584
  attr_accessor :ImageUrl, :ImageBase64, :PdfPageNumber, :ConfigId, :Scene
@@ -13375,10 +13379,12 @@ module TencentCloud
13375
13379
  # @type TaxMark: String
13376
13380
  # @param CompanySealMark: 是否有公司印章(0:没有,1:有)
13377
13381
  # @type CompanySealMark: Integer
13382
+ # @param InvoicePageIndex: 全电类型的多页pdf票据中,支持输出票面页码:当前第几页,一共第几页。
13383
+ # @type InvoicePageIndex: String
13378
13384
 
13379
- attr_accessor :Title, :Number, :Date, :PretaxAmount, :Tax, :Total, :TotalCn, :Seller, :SellerTaxID, :Buyer, :BuyerTaxID, :Issuer, :Remark, :SubTotal, :SubTax, :VatElectronicItems, :ServiceTypeLabel, :TotalCnMark, :TotalMark, :PretaxAmountMark, :TaxMark, :CompanySealMark
13385
+ attr_accessor :Title, :Number, :Date, :PretaxAmount, :Tax, :Total, :TotalCn, :Seller, :SellerTaxID, :Buyer, :BuyerTaxID, :Issuer, :Remark, :SubTotal, :SubTax, :VatElectronicItems, :ServiceTypeLabel, :TotalCnMark, :TotalMark, :PretaxAmountMark, :TaxMark, :CompanySealMark, :InvoicePageIndex
13380
13386
 
13381
- def initialize(title=nil, number=nil, date=nil, pretaxamount=nil, tax=nil, total=nil, totalcn=nil, seller=nil, sellertaxid=nil, buyer=nil, buyertaxid=nil, issuer=nil, remark=nil, subtotal=nil, subtax=nil, vatelectronicitems=nil, servicetypelabel=nil, totalcnmark=nil, totalmark=nil, pretaxamountmark=nil, taxmark=nil, companysealmark=nil)
13387
+ def initialize(title=nil, number=nil, date=nil, pretaxamount=nil, tax=nil, total=nil, totalcn=nil, seller=nil, sellertaxid=nil, buyer=nil, buyertaxid=nil, issuer=nil, remark=nil, subtotal=nil, subtax=nil, vatelectronicitems=nil, servicetypelabel=nil, totalcnmark=nil, totalmark=nil, pretaxamountmark=nil, taxmark=nil, companysealmark=nil, invoicepageindex=nil)
13382
13388
  @Title = title
13383
13389
  @Number = number
13384
13390
  @Date = date
@@ -13401,6 +13407,7 @@ module TencentCloud
13401
13407
  @PretaxAmountMark = pretaxamountmark
13402
13408
  @TaxMark = taxmark
13403
13409
  @CompanySealMark = companysealmark
13410
+ @InvoicePageIndex = invoicepageindex
13404
13411
  end
13405
13412
 
13406
13413
  def deserialize(params)
@@ -13433,6 +13440,7 @@ module TencentCloud
13433
13440
  @PretaxAmountMark = params['PretaxAmountMark']
13434
13441
  @TaxMark = params['TaxMark']
13435
13442
  @CompanySealMark = params['CompanySealMark']
13443
+ @InvoicePageIndex = params['InvoicePageIndex']
13436
13444
  end
13437
13445
  end
13438
13446
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ocr
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1122
4
+ version: 3.0.1124
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-12 00:00:00.000000000 Z
11
+ date: 2025-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common