tencentcloud-sdk-ocr 3.0.1054 → 3.0.1055

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 +29 -19
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c9ada33027fa8f70d5bb35943824fefc3197cd2
4
- data.tar.gz: c7e651fe46e78deb94a16aa2f60870da8efd6c9a
3
+ metadata.gz: 570975d6e42c6e9e48a51e53632cdc69808efb8f
4
+ data.tar.gz: 19de9301a90b1d95ae6fb6c7427666811b6b7ad6
5
5
  SHA512:
6
- metadata.gz: cd33bde1662824667dcaee2bf38802d7c07643d8e29c061edd417d0ab55b773bf27480b837603f2215d87dff1d862291d61912caa40e344f9efd7672f972e7d7
7
- data.tar.gz: 845e33d68f49b9c1d09977c073afbad49b6d02d4085a940db577d9982ad72e8c52e3c28456c0ac336681ff77c140c2524eac35b4395a18a411e230439674885f
6
+ metadata.gz: 244ca126609b3427325e67a6431bad9e1d9dc26a0989772e1fbd5ffefca5b1d9f7c7a4102e223e09ec1936de18b8a18ac096e794a925a97f359c41bf3c0f9090
7
+ data.tar.gz: 9690499b10fbb9c703153c8acb1138be2f4306d7b4bd030fd8c23e824e6ef628a33fb96f243ef89f78f4bfd43b4ee8258b80a712f57c7a8d812c8a46365c9456
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1054
1
+ 3.0.1055
@@ -3506,8 +3506,8 @@ module TencentCloud
3506
3506
 
3507
3507
  attr_accessor :TextDetections, :Angel, :Angle, :RequestId
3508
3508
  extend Gem::Deprecate
3509
- deprecate :Angel, :none, 2025, 4
3510
- deprecate :Angel=, :none, 2025, 4
3509
+ deprecate :Angel, :none, 2025, 5
3510
+ deprecate :Angel=, :none, 2025, 5
3511
3511
 
3512
3512
  def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
3513
3513
  @TextDetections = textdetections
@@ -3613,8 +3613,8 @@ module TencentCloud
3613
3613
 
3614
3614
  attr_accessor :TextDetections, :Language, :Angel, :PdfPageSize, :Angle, :RequestId
3615
3615
  extend Gem::Deprecate
3616
- deprecate :Angel, :none, 2025, 4
3617
- deprecate :Angel=, :none, 2025, 4
3616
+ deprecate :Angel, :none, 2025, 5
3617
+ deprecate :Angel=, :none, 2025, 5
3618
3618
 
3619
3619
  def initialize(textdetections=nil, language=nil, angel=nil, pdfpagesize=nil, angle=nil, requestid=nil)
3620
3620
  @TextDetections = textdetections
@@ -3710,8 +3710,8 @@ module TencentCloud
3710
3710
 
3711
3711
  attr_accessor :TextDetections, :Angel, :Angle, :RequestId
3712
3712
  extend Gem::Deprecate
3713
- deprecate :Angel, :none, 2025, 4
3714
- deprecate :Angel=, :none, 2025, 4
3713
+ deprecate :Angel, :none, 2025, 5
3714
+ deprecate :Angel=, :none, 2025, 5
3715
3715
 
3716
3716
  def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
3717
3717
  @TextDetections = textdetections
@@ -3864,8 +3864,8 @@ module TencentCloud
3864
3864
 
3865
3865
  attr_accessor :TextDetections, :Angel, :Angle, :RequestId
3866
3866
  extend Gem::Deprecate
3867
- deprecate :Angel, :none, 2025, 4
3868
- deprecate :Angel=, :none, 2025, 4
3867
+ deprecate :Angel, :none, 2025, 5
3868
+ deprecate :Angel=, :none, 2025, 5
3869
3869
 
3870
3870
  def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
3871
3871
  @TextDetections = textdetections
@@ -4094,8 +4094,8 @@ module TencentCloud
4094
4094
 
4095
4095
  attr_accessor :ReturnHeadImage, :DetectFake, :ImageBase64, :ImageUrl
4096
4096
  extend Gem::Deprecate
4097
- deprecate :DetectFake, :none, 2025, 4
4098
- deprecate :DetectFake=, :none, 2025, 4
4097
+ deprecate :DetectFake, :none, 2025, 5
4098
+ deprecate :DetectFake=, :none, 2025, 5
4099
4099
 
4100
4100
  def initialize(returnheadimage=nil, detectfake=nil, imagebase64=nil, imageurl=nil)
4101
4101
  @ReturnHeadImage = returnheadimage
@@ -4164,10 +4164,10 @@ module TencentCloud
4164
4164
 
4165
4165
  attr_accessor :CnName, :EnName, :TelexCode, :Sex, :Birthday, :Permanent, :IdNum, :Symbol, :FirstIssueDate, :CurrentIssueDate, :FakeDetectResult, :HeadImage, :WarningCode, :WarnCardInfos, :RequestId
4166
4166
  extend Gem::Deprecate
4167
- deprecate :FakeDetectResult, :none, 2025, 4
4168
- deprecate :FakeDetectResult=, :none, 2025, 4
4169
- deprecate :WarningCode, :none, 2025, 4
4170
- deprecate :WarningCode=, :none, 2025, 4
4167
+ deprecate :FakeDetectResult, :none, 2025, 5
4168
+ deprecate :FakeDetectResult=, :none, 2025, 5
4169
+ deprecate :WarningCode, :none, 2025, 5
4170
+ deprecate :WarningCode=, :none, 2025, 5
4171
4171
 
4172
4172
  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, warningcode=nil, warncardinfos=nil, requestid=nil)
4173
4173
  @CnName = cnname
@@ -4612,7 +4612,6 @@ module TencentCloud
4612
4612
  # BorderCodeValue,身份证边框不完整告警阈值分数,请求 Config.BorderCheckWarn时返回(取值范围:0 ~ 100,分数越低边框遮挡可能性越低,建议阈值≤50);
4613
4613
 
4614
4614
  # WarnInfos,告警信息,Code 告警码列表和释义:
4615
- # -9100 身份证有效日期不合法告警,
4616
4615
  # -9101 身份证边框不完整告警,
4617
4616
 
4618
4617
  # -9102 身份证复印件告警(黑白及彩色复印件),
@@ -5524,8 +5523,8 @@ module TencentCloud
5524
5523
 
5525
5524
  attr_accessor :ID, :Name, :Address, :Sex, :Warn, :Image, :AdvancedInfo, :Type, :Birthday, :MyKadNumber, :WarnCardInfos, :RequestId
5526
5525
  extend Gem::Deprecate
5527
- deprecate :Warn, :none, 2025, 4
5528
- deprecate :Warn=, :none, 2025, 4
5526
+ deprecate :Warn, :none, 2025, 5
5527
+ deprecate :Warn=, :none, 2025, 5
5529
5528
 
5530
5529
  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)
5531
5530
  @ID = id
@@ -9842,18 +9841,21 @@ module TencentCloud
9842
9841
  # @param Answer: 答案
9843
9842
  # 注意:此字段可能返回 null,表示取不到有效值。
9844
9843
  # @type Answer: Array
9844
+ # @param Parse: 解析
9845
+ # @type Parse: Array
9845
9846
  # @param Coord: 整题的坐标
9846
9847
  # 注意:此字段可能返回 null,表示取不到有效值。
9847
9848
  # @type Coord: Array
9848
9849
 
9849
- attr_accessor :Question, :Option, :Figure, :Table, :Answer, :Coord
9850
+ attr_accessor :Question, :Option, :Figure, :Table, :Answer, :Parse, :Coord
9850
9851
 
9851
- def initialize(question=nil, option=nil, figure=nil, table=nil, answer=nil, coord=nil)
9852
+ def initialize(question=nil, option=nil, figure=nil, table=nil, answer=nil, parse=nil, coord=nil)
9852
9853
  @Question = question
9853
9854
  @Option = option
9854
9855
  @Figure = figure
9855
9856
  @Table = table
9856
9857
  @Answer = answer
9858
+ @Parse = parse
9857
9859
  @Coord = coord
9858
9860
  end
9859
9861
 
@@ -9898,6 +9900,14 @@ module TencentCloud
9898
9900
  @Answer << element_tmp
9899
9901
  end
9900
9902
  end
9903
+ unless params['Parse'].nil?
9904
+ @Parse = []
9905
+ params['Parse'].each do |i|
9906
+ element_tmp = Element.new
9907
+ element_tmp.deserialize(i)
9908
+ @Parse << element_tmp
9909
+ end
9910
+ end
9901
9911
  unless params['Coord'].nil?
9902
9912
  @Coord = []
9903
9913
  params['Coord'].each do |i|
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.1054
4
+ version: 3.0.1055
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-05-07 00:00:00.000000000 Z
11
+ date: 2025-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common