tencentcloud-sdk-ocr 3.0.719 → 3.0.720
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/models.rb +11 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 276cc4aee4d5f2a9c32cd2479ac2e2618239971e
|
4
|
+
data.tar.gz: c59da2b4463e5bf376279e1c26088f244c07a72c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c52e4755c9b83d9622c6b380615075401dcecbb5f2f812cfde9e5f28da01fc1a1039356ba1a32db7418efd315b2ac3dd04459f15ee44e32e2ba3d931f780d08a
|
7
|
+
data.tar.gz: f2813b38201cf17b16dbdeb090f8ccd5df92688458a06ffae09d5f8a4831e2beab903ad7a6bfb9af48f668700d842c11af5f7493f32aa86cbce1e792a9bb8803
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.720
|
data/lib/v20181119/models.rb
CHANGED
@@ -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,
|
2667
|
-
deprecate :Angel=, :none, 2023,
|
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,
|
2778
|
-
deprecate :Angel=, :none, 2023,
|
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
|