tencentcloud-sdk-ocr 3.0.1112 → 3.0.1115

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 +28 -28
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5177a4d233a040b6c686c270a15e5dc2a62f5058
4
- data.tar.gz: fd7ed46f7f31e7c2fb8e26d57921c6ab60286169
3
+ metadata.gz: 6bfe21e0c1eae8ef3c37f0039ba2e8852c3e0a0f
4
+ data.tar.gz: 8176237863dde210e2e833d0b14e76e29aaf8286
5
5
  SHA512:
6
- metadata.gz: 67b5c51d3d95725856baebd7a907dbe9cb35dd8a9cc1ac7093d76eeefbf55f98cb0746a2196d8265115883a1629be6df52bae93e627b974ffd0e2493bbaedb07
7
- data.tar.gz: 3172788e7e96603e37d3b4ba0a2d7ce7f9c43267f205fe8651d8e38142b3f5d375a152ddcfc8ee128fc272586930d3b36fc0667ca9c181b96d6399fdbd830361
6
+ metadata.gz: 9b1bc86b40826745021c13db560a2073a61b864ad62a09d1a706f0ca2a6f586c6a20e71639b95aced9392919ebd93f21d8237d8f9d6d55a213c5016169d6d381
7
+ data.tar.gz: d4bfb94001aec173299d3782a53431c5406875193df9a313caff795f573dee916da385041d5e2487da7f05ebfe57179489816c9d2ee9b3e9b6eac44b0e2990e4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1112
1
+ 3.0.1115
@@ -3851,8 +3851,8 @@ module TencentCloud
3851
3851
 
3852
3852
  attr_accessor :TextDetections, :Angel, :Angle, :RequestId
3853
3853
  extend Gem::Deprecate
3854
- deprecate :Angel, :none, 2025, 7
3855
- deprecate :Angel=, :none, 2025, 7
3854
+ deprecate :Angel, :none, 2025, 8
3855
+ deprecate :Angel=, :none, 2025, 8
3856
3856
 
3857
3857
  def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
3858
3858
  @TextDetections = textdetections
@@ -3958,8 +3958,8 @@ module TencentCloud
3958
3958
 
3959
3959
  attr_accessor :TextDetections, :Language, :Angel, :PdfPageSize, :Angle, :RequestId
3960
3960
  extend Gem::Deprecate
3961
- deprecate :Angel, :none, 2025, 7
3962
- deprecate :Angel=, :none, 2025, 7
3961
+ deprecate :Angel, :none, 2025, 8
3962
+ deprecate :Angel=, :none, 2025, 8
3963
3963
 
3964
3964
  def initialize(textdetections=nil, language=nil, angel=nil, pdfpagesize=nil, angle=nil, requestid=nil)
3965
3965
  @TextDetections = textdetections
@@ -4055,8 +4055,8 @@ module TencentCloud
4055
4055
 
4056
4056
  attr_accessor :TextDetections, :Angel, :Angle, :RequestId
4057
4057
  extend Gem::Deprecate
4058
- deprecate :Angel, :none, 2025, 7
4059
- deprecate :Angel=, :none, 2025, 7
4058
+ deprecate :Angel, :none, 2025, 8
4059
+ deprecate :Angel=, :none, 2025, 8
4060
4060
 
4061
4061
  def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
4062
4062
  @TextDetections = textdetections
@@ -4202,8 +4202,8 @@ module TencentCloud
4202
4202
 
4203
4203
  attr_accessor :TextDetections, :Angel, :Angle, :RequestId
4204
4204
  extend Gem::Deprecate
4205
- deprecate :Angel, :none, 2025, 7
4206
- deprecate :Angel=, :none, 2025, 7
4205
+ deprecate :Angel, :none, 2025, 8
4206
+ deprecate :Angel=, :none, 2025, 8
4207
4207
 
4208
4208
  def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
4209
4209
  @TextDetections = textdetections
@@ -4426,8 +4426,8 @@ module TencentCloud
4426
4426
 
4427
4427
  attr_accessor :ReturnHeadImage, :DetectFake, :ImageBase64, :ImageUrl
4428
4428
  extend Gem::Deprecate
4429
- deprecate :DetectFake, :none, 2025, 7
4430
- deprecate :DetectFake=, :none, 2025, 7
4429
+ deprecate :DetectFake, :none, 2025, 8
4430
+ deprecate :DetectFake=, :none, 2025, 8
4431
4431
 
4432
4432
  def initialize(returnheadimage=nil, detectfake=nil, imagebase64=nil, imageurl=nil)
4433
4433
  @ReturnHeadImage = returnheadimage
@@ -4500,10 +4500,10 @@ module TencentCloud
4500
4500
 
4501
4501
  attr_accessor :CnName, :EnName, :TelexCode, :Sex, :Birthday, :Permanent, :IdNum, :Symbol, :FirstIssueDate, :CurrentIssueDate, :FakeDetectResult, :HeadImage, :SmallHeadImage, :WarningCode, :WarnCardInfos, :WindowEmbeddedText, :RequestId
4502
4502
  extend Gem::Deprecate
4503
- deprecate :FakeDetectResult, :none, 2025, 7
4504
- deprecate :FakeDetectResult=, :none, 2025, 7
4505
- deprecate :WarningCode, :none, 2025, 7
4506
- deprecate :WarningCode=, :none, 2025, 7
4503
+ deprecate :FakeDetectResult, :none, 2025, 8
4504
+ deprecate :FakeDetectResult=, :none, 2025, 8
4505
+ deprecate :WarningCode, :none, 2025, 8
4506
+ deprecate :WarningCode=, :none, 2025, 8
4507
4507
 
4508
4508
  def initialize(cnname=nil, enname=nil, telexcode=nil, sex=nil, birthday=nil, permanent=nil, idnum=nil, symbol=nil, firstissuedate=nil, currentissuedate=nil, fakedetectresult=nil, headimage=nil, smallheadimage=nil, warningcode=nil, warncardinfos=nil, windowembeddedtext=nil, requestid=nil)
4509
4509
  @CnName = cnname
@@ -4970,8 +4970,8 @@ module TencentCloud
4970
4970
 
4971
4971
  attr_accessor :ImageBase64, :ImageUrl, :CardSide, :Config, :EnableRecognitionRectify, :EnableReflectDetail, :EnableDateVerify, :CardWarnType
4972
4972
  extend Gem::Deprecate
4973
- deprecate :EnableDateVerify, :none, 2025, 7
4974
- deprecate :EnableDateVerify=, :none, 2025, 7
4973
+ deprecate :EnableDateVerify, :none, 2025, 8
4974
+ deprecate :EnableDateVerify=, :none, 2025, 8
4975
4975
 
4976
4976
  def initialize(imagebase64=nil, imageurl=nil, cardside=nil, config=nil, enablerecognitionrectify=nil, enablereflectdetail=nil, enabledateverify=nil, cardwarntype=nil)
4977
4977
  @ImageBase64 = imagebase64
@@ -5921,10 +5921,10 @@ module TencentCloud
5921
5921
 
5922
5922
  attr_accessor :ID, :Name, :Address, :Sex, :Warn, :Image, :AdvancedInfo, :Type, :Birthday, :MyKadNumber, :WarnCardInfos, :RequestId
5923
5923
  extend Gem::Deprecate
5924
- deprecate :Warn, :none, 2025, 7
5925
- deprecate :Warn=, :none, 2025, 7
5926
- deprecate :AdvancedInfo, :none, 2025, 7
5927
- deprecate :AdvancedInfo=, :none, 2025, 7
5924
+ deprecate :Warn, :none, 2025, 8
5925
+ deprecate :Warn=, :none, 2025, 8
5926
+ deprecate :AdvancedInfo, :none, 2025, 8
5927
+ deprecate :AdvancedInfo=, :none, 2025, 8
5928
5928
 
5929
5929
  def initialize(id=nil, name=nil, address=nil, sex=nil, warn=nil, image=nil, advancedinfo=nil, type=nil, birthday=nil, mykadnumber=nil, warncardinfos=nil, requestid=nil)
5930
5930
  @ID = id
@@ -6033,10 +6033,10 @@ module TencentCloud
6033
6033
 
6034
6034
  attr_accessor :ID, :Name, :DateOfBirth, :Sex, :DateOfExpiration, :IssuingCountry, :Nationality, :Warn, :Image, :AdvancedInfo, :CodeSet, :CodeCrc, :Surname, :GivenName, :Type, :PassportRecognizeInfos, :WarnCardInfos, :CardCount, :RequestId
6035
6035
  extend Gem::Deprecate
6036
- deprecate :Warn, :none, 2025, 7
6037
- deprecate :Warn=, :none, 2025, 7
6038
- deprecate :AdvancedInfo, :none, 2025, 7
6039
- deprecate :AdvancedInfo=, :none, 2025, 7
6036
+ deprecate :Warn, :none, 2025, 8
6037
+ deprecate :Warn=, :none, 2025, 8
6038
+ deprecate :AdvancedInfo, :none, 2025, 8
6039
+ deprecate :AdvancedInfo=, :none, 2025, 8
6040
6040
 
6041
6041
  def initialize(id=nil, name=nil, dateofbirth=nil, sex=nil, dateofexpiration=nil, issuingcountry=nil, nationality=nil, warn=nil, image=nil, advancedinfo=nil, codeset=nil, codecrc=nil, surname=nil, givenname=nil, type=nil, passportrecognizeinfos=nil, warncardinfos=nil, cardcount=nil, requestid=nil)
6042
6042
  @ID = id
@@ -9441,9 +9441,9 @@ module TencentCloud
9441
9441
 
9442
9442
  # RecognizeTableAccurateOCR请求参数结构体
9443
9443
  class RecognizeTableAccurateOCRRequest < TencentCloud::Common::AbstractModel
9444
- # @param ImageBase64: 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片支持的像素范围:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
9444
+ # @param ImageBase64: 图片/PDF的 Base64 值。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,且长宽比小于3(短边分辨率大于600, 长边分辨率小于等于短边分辨率的三倍)。支持PNG、JPG、JPEG、BMP、PDF格式。图片支持的像素范围:需介于20-10000px之间。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。
9445
9445
  # @type ImageBase64: String
9446
- # @param ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片支持的像素范围:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
9446
+ # @param ImageUrl: 图片/PDF的 Url 地址。要求图片/PDF经Base64编码后不超过 10M,分辨率建议600*800以上,且长宽比小于3(短边分辨率大于600, 长边分辨率小于等于短边分辨率的三倍)。支持PNG、JPG、JPEG、BMP、PDF格式。图片支持的像素范围:需介于20-10000px之间。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。
9447
9447
  # @type ImageUrl: String
9448
9448
  # @param PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF有效,默认值为1。
9449
9449
  # @type PdfPageNumber: Integer
@@ -9718,8 +9718,8 @@ module TencentCloud
9718
9718
 
9719
9719
  attr_accessor :ID, :ThaiName, :EnFirstName, :EnLastName, :IssueDate, :ExpirationDate, :EnIssueDate, :EnExpirationDate, :Birthday, :EnBirthday, :Religion, :SerialNumber, :Address, :LaserID, :PortraitImage, :WarnCardInfos, :AdvancedInfo, :CardCount, :RequestId
9720
9720
  extend Gem::Deprecate
9721
- deprecate :AdvancedInfo, :none, 2025, 7
9722
- deprecate :AdvancedInfo=, :none, 2025, 7
9721
+ deprecate :AdvancedInfo, :none, 2025, 8
9722
+ deprecate :AdvancedInfo=, :none, 2025, 8
9723
9723
 
9724
9724
  def initialize(id=nil, thainame=nil, enfirstname=nil, enlastname=nil, issuedate=nil, expirationdate=nil, enissuedate=nil, enexpirationdate=nil, birthday=nil, enbirthday=nil, religion=nil, serialnumber=nil, address=nil, laserid=nil, portraitimage=nil, warncardinfos=nil, advancedinfo=nil, cardcount=nil, requestid=nil)
9725
9725
  @ID = id
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.1112
4
+ version: 3.0.1115
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-07-29 00:00:00.000000000 Z
11
+ date: 2025-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common