tencentcloud-sdk-ocr 3.0.718 → 3.0.720

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20181119/models.rb +11 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae5240882a07951d1528b8b18096e7f327d6d978
4
- data.tar.gz: 3b5e3ebba5282f6f62069627d9c87777777743f6
3
+ metadata.gz: 276cc4aee4d5f2a9c32cd2479ac2e2618239971e
4
+ data.tar.gz: c59da2b4463e5bf376279e1c26088f244c07a72c
5
5
  SHA512:
6
- metadata.gz: d6a6b33f315015ed42ff56425316df1061ba81cbe8aeef7dae893afe2f47bc66b1b1eb49f43d05dcb1872ecacff9a71fca97d50bf217ac6f563fd7cf7568a247
7
- data.tar.gz: 6b6f720a90ee17f471b7741631408e3ef933111f17ed9e7413f78cbf2ed0f64680991c8b6808f304a55766ddc7f74abca078e16133095092c08226421bc15f9d
6
+ metadata.gz: c52e4755c9b83d9622c6b380615075401dcecbb5f2f812cfde9e5f28da01fc1a1039356ba1a32db7418efd315b2ac3dd04459f15ee44e32e2ba3d931f780d08a
7
+ data.tar.gz: f2813b38201cf17b16dbdeb090f8ccd5df92688458a06ffae09d5f8a4831e2beab903ad7a6bfb9af48f668700d842c11af5f7493f32aa86cbce1e792a9bb8803
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.718
1
+ 3.0.720
@@ -682,12 +682,15 @@ module TencentCloud
682
682
  # @type IsDuplication: Integer
683
683
  # @param RegistrationDate: 登记日期
684
684
  # @type RegistrationDate: String
685
+ # @param Angle: 图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度
686
+
687
+ # @type Angle: Float
685
688
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
686
689
  # @type RequestId: String
687
690
 
688
- attr_accessor :RegNum, :Name, :Capital, :Person, :Address, :Business, :Type, :Period, :ComposingForm, :SetDate, :RecognizeWarnCode, :RecognizeWarnMsg, :IsDuplication, :RegistrationDate, :RequestId
691
+ attr_accessor :RegNum, :Name, :Capital, :Person, :Address, :Business, :Type, :Period, :ComposingForm, :SetDate, :RecognizeWarnCode, :RecognizeWarnMsg, :IsDuplication, :RegistrationDate, :Angle, :RequestId
689
692
 
690
- def initialize(regnum=nil, name=nil, capital=nil, person=nil, address=nil, business=nil, type=nil, period=nil, composingform=nil, setdate=nil, recognizewarncode=nil, recognizewarnmsg=nil, isduplication=nil, registrationdate=nil, requestid=nil)
693
+ def initialize(regnum=nil, name=nil, capital=nil, person=nil, address=nil, business=nil, type=nil, period=nil, composingform=nil, setdate=nil, recognizewarncode=nil, recognizewarnmsg=nil, isduplication=nil, registrationdate=nil, angle=nil, requestid=nil)
691
694
  @RegNum = regnum
692
695
  @Name = name
693
696
  @Capital = capital
@@ -702,6 +705,7 @@ module TencentCloud
702
705
  @RecognizeWarnMsg = recognizewarnmsg
703
706
  @IsDuplication = isduplication
704
707
  @RegistrationDate = registrationdate
708
+ @Angle = angle
705
709
  @RequestId = requestid
706
710
  end
707
711
 
@@ -720,6 +724,7 @@ module TencentCloud
720
724
  @RecognizeWarnMsg = params['RecognizeWarnMsg']
721
725
  @IsDuplication = params['IsDuplication']
722
726
  @RegistrationDate = params['RegistrationDate']
727
+ @Angle = params['Angle']
723
728
  @RequestId = params['RequestId']
724
729
  end
725
730
  end
@@ -2663,8 +2668,8 @@ module TencentCloud
2663
2668
 
2664
2669
  attr_accessor :TextDetections, :Angel, :Angle, :RequestId
2665
2670
  extend Gem::Deprecate
2666
- deprecate :Angel, :none, 2023, 11
2667
- deprecate :Angel=, :none, 2023, 11
2671
+ deprecate :Angel, :none, 2023, 12
2672
+ deprecate :Angel=, :none, 2023, 12
2668
2673
 
2669
2674
  def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
2670
2675
  @TextDetections = textdetections
@@ -2774,8 +2779,8 @@ module TencentCloud
2774
2779
 
2775
2780
  attr_accessor :TextDetections, :Language, :Angel, :PdfPageSize, :Angle, :RequestId
2776
2781
  extend Gem::Deprecate
2777
- deprecate :Angel, :none, 2023, 11
2778
- deprecate :Angel=, :none, 2023, 11
2782
+ deprecate :Angel, :none, 2023, 12
2783
+ deprecate :Angel=, :none, 2023, 12
2779
2784
 
2780
2785
  def initialize(textdetections=nil, language=nil, angel=nil, pdfpagesize=nil, angle=nil, requestid=nil)
2781
2786
  @TextDetections = textdetections
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.718
4
+ version: 3.0.720
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-03 00:00:00.000000000 Z
11
+ date: 2023-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common