tencentcloud-sdk-ocr 3.0.470 → 3.0.472

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ccf87d226c78ca0035f8c58a9c2811de413b16f6
4
- data.tar.gz: 3a45502e8f2e1dda5dbc37ef1b22bacfd17c676f
3
+ metadata.gz: 14ca11bb1e259467120583ef5b5f5da83c0a7f9f
4
+ data.tar.gz: 9fc820855cbddfde66d54469e9116092980432c2
5
5
  SHA512:
6
- metadata.gz: 9c1ce8eca4f9339c37f3b96836ba45bef7cc9e24d780784213742baa2aa4069a113d3ea3dc00822320b62c5014765376147c431cf31b9b8093a744337ccdbbe7
7
- data.tar.gz: 6da119826f0adf8c9eaa8833893e4555d4e952a14db3508d82f9b9ee2fd4ee45fdf3fc358310496f9c2782783e9acf8fdc1cfead0541d70b7cf8f27004b25b86
6
+ metadata.gz: 3e8c3bbab6078a8f984ce806184c6cf07025b9afbc8b6cf33f4bce286a60fbdc3ba27e50a2022d4b408c5593e018c0da1165ae2dd66691259cf06438337dad2f
7
+ data.tar.gz: 0477eb6b76887a5bc119bba9502fe45b4fe4260f4d66dbc2dfa3140dc1dfccc70eea49a2ade15d05ad7f0ecaaf80d270650a644204853d61c918c300a93ed7d6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.470
1
+ 3.0.472
@@ -1675,6 +1675,8 @@ module TencentCloud
1675
1675
 
1676
1676
  # 本接口支持各类印章识别,包括发票章,财务章等,适用于公文,票据等场景。
1677
1677
 
1678
+ # 默认接口请求频率限制:5次/秒。
1679
+
1678
1680
  # @param request: Request instance for SealOCR.
1679
1681
  # @type request: :class:`Tencentcloud::ocr::V20181119::SealOCRRequest`
1680
1682
  # @rtype: :class:`Tencentcloud::ocr::V20181119::SealOCRResponse`
@@ -5714,16 +5714,24 @@ module TencentCloud
5714
5714
  # @type OtherTexts: Array
5715
5715
  # @param SealInfos: 全部印章信息
5716
5716
  # @type SealInfos: Array
5717
+ # @param SealShape: 印章类型,表示为:
5718
+ # 圆形印章:0
5719
+ # 椭圆形印章:1
5720
+ # 方形印章:2
5721
+ # 菱形印章:3
5722
+ # 三角形印章:4
5723
+ # @type SealShape: String
5717
5724
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5718
5725
  # @type RequestId: String
5719
5726
 
5720
- attr_accessor :SealBody, :Location, :OtherTexts, :SealInfos, :RequestId
5727
+ attr_accessor :SealBody, :Location, :OtherTexts, :SealInfos, :SealShape, :RequestId
5721
5728
 
5722
- def initialize(sealbody=nil, location=nil, othertexts=nil, sealinfos=nil, requestid=nil)
5729
+ def initialize(sealbody=nil, location=nil, othertexts=nil, sealinfos=nil, sealshape=nil, requestid=nil)
5723
5730
  @SealBody = sealbody
5724
5731
  @Location = location
5725
5732
  @OtherTexts = othertexts
5726
5733
  @SealInfos = sealinfos
5734
+ @SealShape = sealshape
5727
5735
  @RequestId = requestid
5728
5736
  end
5729
5737
 
@@ -5742,6 +5750,7 @@ module TencentCloud
5742
5750
  @SealInfos << sealinfo_tmp
5743
5751
  end
5744
5752
  end
5753
+ @SealShape = params['SealShape']
5745
5754
  @RequestId = params['RequestId']
5746
5755
  end
5747
5756
  end
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.470
4
+ version: 3.0.472
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-09 00:00:00.000000000 Z
11
+ date: 2022-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common