tencentcloud-sdk-ocr 3.0.1184 → 3.0.1191
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 +1 -1
- data/lib/v20181119/models.rb +15 -6
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 479d14b7a701cf279fd485a080cc75ecc553e570
|
|
4
|
+
data.tar.gz: a46db84b7a18517915b2424c97e633929094994b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b439e99977e239270d6f8823c43dd4f1cb7628b5ef44f266b62e190c5336bcf5a945c9706f9cd0c7e3e6be1468b73f4c74b87ae17fc3b93326b6c0739f63bdd4
|
|
7
|
+
data.tar.gz: 488fc0fcf60bd3b292d0efcc7f158cba076e55f266d510b377a72a2926f3fd8b8f20dfd59dde79ba3b5f86bd38b8821ebb0334e1de415640954777e253656a03
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1191
|
data/lib/v20181119/client.rb
CHANGED
|
@@ -726,7 +726,7 @@ module TencentCloud
|
|
|
726
726
|
# </tr>
|
|
727
727
|
# <tr>
|
|
728
728
|
# <td>支持的语言</td>
|
|
729
|
-
# <td
|
|
729
|
+
# <td>中文、英文、中英文、泰语、印尼语、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、哈萨克语、阿拉伯语、维吾尔语、藏语、捷克语、希腊语、西班牙语(智利)、西班牙语(墨西哥)、希伯来语、克罗地亚语、波兰语、葡萄牙语(巴西)、罗马尼亚语、斯洛伐克语、斯洛文尼亚语、土耳其语、保加利亚语、爱沙尼亚语、拉脱维亚语、立陶宛语</td>
|
|
730
730
|
# <td>中文、英文、中英文、日语、韩语、西班牙语、法语、德语、葡萄牙语、越南语、马来语、俄语、意大利语、荷兰语、瑞典语、芬兰语、丹麦语、挪威语、匈牙利语、泰语</td>
|
|
731
731
|
# </tr>
|
|
732
732
|
# <tr>
|
data/lib/v20181119/models.rb
CHANGED
|
@@ -4804,7 +4804,8 @@ module TencentCloud
|
|
|
4804
4804
|
# @param PdfPageNumber: 需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为前3页。
|
|
4805
4805
|
# @type PdfPageNumber: Integer
|
|
4806
4806
|
# @param ConfigId: 配置id支持:
|
|
4807
|
-
# ArticleRecognize --
|
|
4807
|
+
# ArticleRecognize -- 手写中文作文模板
|
|
4808
|
+
# ArticleRecognizeEng -- 手写英文作文模板
|
|
4808
4809
|
# 默认:ArticleRecognize
|
|
4809
4810
|
# @type ConfigId: String
|
|
4810
4811
|
# @param Scene: 模板的单个属性配置
|
|
@@ -5947,14 +5948,17 @@ module TencentCloud
|
|
|
5947
5948
|
# @type Rect: :class:`Tencentcloud::Ocr.v20181119.models.Rect`
|
|
5948
5949
|
# @param Color: 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿“、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
|
|
5949
5950
|
# @type Color: String
|
|
5951
|
+
# @param LicensePlateCategory: 车牌类别, 如: 实体车牌、非实体车牌
|
|
5952
|
+
# @type LicensePlateCategory: String
|
|
5950
5953
|
|
|
5951
|
-
attr_accessor :Number, :Confidence, :Rect, :Color
|
|
5954
|
+
attr_accessor :Number, :Confidence, :Rect, :Color, :LicensePlateCategory
|
|
5952
5955
|
|
|
5953
|
-
def initialize(number=nil, confidence=nil, rect=nil, color=nil)
|
|
5956
|
+
def initialize(number=nil, confidence=nil, rect=nil, color=nil, licenseplatecategory=nil)
|
|
5954
5957
|
@Number = number
|
|
5955
5958
|
@Confidence = confidence
|
|
5956
5959
|
@Rect = rect
|
|
5957
5960
|
@Color = color
|
|
5961
|
+
@LicensePlateCategory = licenseplatecategory
|
|
5958
5962
|
end
|
|
5959
5963
|
|
|
5960
5964
|
def deserialize(params)
|
|
@@ -5965,6 +5969,7 @@ module TencentCloud
|
|
|
5965
5969
|
@Rect.deserialize(params['Rect'])
|
|
5966
5970
|
end
|
|
5967
5971
|
@Color = params['Color']
|
|
5972
|
+
@LicensePlateCategory = params['LicensePlateCategory']
|
|
5968
5973
|
end
|
|
5969
5974
|
end
|
|
5970
5975
|
|
|
@@ -5996,21 +6001,24 @@ module TencentCloud
|
|
|
5996
6001
|
# @type Confidence: Integer
|
|
5997
6002
|
# @param Rect: 文本行在原图片中的像素坐标框。
|
|
5998
6003
|
# @type Rect: :class:`Tencentcloud::Ocr.v20181119.models.Rect`
|
|
5999
|
-
# @param Color: 识别出的车牌颜色,目前支持颜色包括
|
|
6004
|
+
# @param Color: 识别出的车牌颜色,目前支持颜色包括 “白”、“黑”、“蓝”、“绿”、“黄”、“黄绿”、“临牌”、“喷漆”、“其它”。
|
|
6000
6005
|
# @type Color: String
|
|
6001
6006
|
# @param LicensePlateInfos: 全部车牌信息。
|
|
6002
6007
|
# @type LicensePlateInfos: Array
|
|
6008
|
+
# @param LicensePlateCategory: 车牌类别, 如: 实体车牌、非实体车牌 示例值:实体车牌
|
|
6009
|
+
# @type LicensePlateCategory: String
|
|
6003
6010
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6004
6011
|
# @type RequestId: String
|
|
6005
6012
|
|
|
6006
|
-
attr_accessor :Number, :Confidence, :Rect, :Color, :LicensePlateInfos, :RequestId
|
|
6013
|
+
attr_accessor :Number, :Confidence, :Rect, :Color, :LicensePlateInfos, :LicensePlateCategory, :RequestId
|
|
6007
6014
|
|
|
6008
|
-
def initialize(number=nil, confidence=nil, rect=nil, color=nil, licenseplateinfos=nil, requestid=nil)
|
|
6015
|
+
def initialize(number=nil, confidence=nil, rect=nil, color=nil, licenseplateinfos=nil, licenseplatecategory=nil, requestid=nil)
|
|
6009
6016
|
@Number = number
|
|
6010
6017
|
@Confidence = confidence
|
|
6011
6018
|
@Rect = rect
|
|
6012
6019
|
@Color = color
|
|
6013
6020
|
@LicensePlateInfos = licenseplateinfos
|
|
6021
|
+
@LicensePlateCategory = licenseplatecategory
|
|
6014
6022
|
@RequestId = requestid
|
|
6015
6023
|
end
|
|
6016
6024
|
|
|
@@ -6030,6 +6038,7 @@ module TencentCloud
|
|
|
6030
6038
|
@LicensePlateInfos << licenseplateinfo_tmp
|
|
6031
6039
|
end
|
|
6032
6040
|
end
|
|
6041
|
+
@LicensePlateCategory = params['LicensePlateCategory']
|
|
6033
6042
|
@RequestId = params['RequestId']
|
|
6034
6043
|
end
|
|
6035
6044
|
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.
|
|
4
|
+
version: 3.0.1191
|
|
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-12-
|
|
11
|
+
date: 2025-12-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/v20181119/models.rb
|
|
37
|
-
- lib/v20181119/client.rb
|
|
38
36
|
- lib/tencentcloud-sdk-ocr.rb
|
|
37
|
+
- lib/v20181119/client.rb
|
|
38
|
+
- lib/v20181119/models.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|