tencentcloud-sdk-ocr 3.0.1006 → 3.0.1008
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/client.rb +10 -0
- data/lib/v20181119/models.rb +11 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0d129bdba45a8084bca5a0fcde572c4ec107afb
|
4
|
+
data.tar.gz: 3e70b622864dce42309c6ad691aae70f3cbd48ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff7d37d5cb12d86b8e32f6d6a6291149403d33536f77d161b7feb9ff33ac2797868d6f144b423e8233299218c31bd30e667f9144735c3ac9f45267a7993e41ef
|
7
|
+
data.tar.gz: b8bd6a5a1978d20eee36f1049824bc0e8c0c3c95b69ef154c68902c76749a9fc97e48e9d6ee6d660f68348ae73857585a1e81544cc7c53bca077ecedb25bc7e4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1008
|
data/lib/v20181119/client.rb
CHANGED
@@ -1885,6 +1885,16 @@ module TencentCloud
|
|
1885
1885
|
# <td> 17 </td>
|
1886
1886
|
# </tr>
|
1887
1887
|
# <tr>
|
1888
|
+
# <td> TaxPayment </td>
|
1889
|
+
# <td> 完税凭证 </td>
|
1890
|
+
# <td> 18 </td>
|
1891
|
+
# </tr>
|
1892
|
+
# <tr>
|
1893
|
+
# <td> CustomsPaymentReceipt </td>
|
1894
|
+
# <td> 海关缴款 </td>
|
1895
|
+
# <td> 19 </td>
|
1896
|
+
# </tr>
|
1897
|
+
# <tr>
|
1888
1898
|
# <td> OtherInvoice </td>
|
1889
1899
|
# <td> 其他发票 </td>
|
1890
1900
|
# <td> -1 </td>
|
data/lib/v20181119/models.rb
CHANGED
@@ -3833,14 +3833,20 @@ module TencentCloud
|
|
3833
3833
|
# @type TextDetections: Array
|
3834
3834
|
# @param Angel: 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
3835
3835
|
# @type Angel: Float
|
3836
|
+
# @param Angle: 图片旋转角度(角度制),文本的水平方向为0°;顺时针为正,逆时针为负。点击查看<a href="https://cloud.tencent.com/document/product/866/45139">如何纠正倾斜文本</a>
|
3837
|
+
# @type Angle: Float
|
3836
3838
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3837
3839
|
# @type RequestId: String
|
3838
3840
|
|
3839
|
-
attr_accessor :TextDetections, :Angel, :RequestId
|
3841
|
+
attr_accessor :TextDetections, :Angel, :Angle, :RequestId
|
3842
|
+
extend Gem::Deprecate
|
3843
|
+
deprecate :Angel, :none, 2025, 2
|
3844
|
+
deprecate :Angel=, :none, 2025, 2
|
3840
3845
|
|
3841
|
-
def initialize(textdetections=nil, angel=nil, requestid=nil)
|
3846
|
+
def initialize(textdetections=nil, angel=nil, angle=nil, requestid=nil)
|
3842
3847
|
@TextDetections = textdetections
|
3843
3848
|
@Angel = angel
|
3849
|
+
@Angle = angle
|
3844
3850
|
@RequestId = requestid
|
3845
3851
|
end
|
3846
3852
|
|
@@ -3854,6 +3860,7 @@ module TencentCloud
|
|
3854
3860
|
end
|
3855
3861
|
end
|
3856
3862
|
@Angel = params['Angel']
|
3863
|
+
@Angle = params['Angle']
|
3857
3864
|
@RequestId = params['RequestId']
|
3858
3865
|
end
|
3859
3866
|
end
|
@@ -8758,6 +8765,8 @@ module TencentCloud
|
|
8758
8765
|
# 15:非税发票
|
8759
8766
|
# 16:全电发票
|
8760
8767
|
# 17:医疗发票
|
8768
|
+
# 18:完税凭证
|
8769
|
+
# 19:海关缴款书
|
8761
8770
|
# -1:其他发票
|
8762
8771
|
# @type Types: Array
|
8763
8772
|
# @param EnableOther: 是否开启其他票识别,默认值为true,开启后可支持其他发票的智能识别。
|
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.
|
4
|
+
version: 3.0.1008
|
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-02-
|
11
|
+
date: 2025-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|