tencentcloud-sdk-tiia 1.0.224 → 1.0.225
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/v20190529/models.rb +38 -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: c08e3da80ee93731c811413a917b198833e65228
|
4
|
+
data.tar.gz: 3275094c97cab725eb3b48782692197ecad0ddec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb59d1657ec9a6186e792fd7eb6532c2eb80063be0037a6b998852e5508e4096f0972a24ab526681db2c65c07b0878551177cc684a1c5fc1e0aaf603eff241c5
|
7
|
+
data.tar.gz: 6916029a515820c944b3afc80d581c174d69cca4be30959c29cb04471a8ae1cd7b0b15f22341a8dcc0ffeb3c3f785c291c37fe0591c6cf36c5a22f3e8eefe9d5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.225
|
data/lib/v20190529/models.rb
CHANGED
@@ -219,6 +219,7 @@ module TencentCloud
|
|
219
219
|
# 类型:
|
220
220
|
# 1: 通用图库,以用户输入图提取特征。
|
221
221
|
# 2: 灰度图库,输入图和搜索图均转为灰度图提取特征。
|
222
|
+
# 3: 针对电商(通用品类)和logo优化。
|
222
223
|
# @type GroupType: Integer
|
223
224
|
|
224
225
|
attr_accessor :GroupId, :GroupName, :MaxCapacity, :Brief, :MaxQps, :GroupType
|
@@ -1314,6 +1315,34 @@ module TencentCloud
|
|
1314
1315
|
end
|
1315
1316
|
end
|
1316
1317
|
|
1318
|
+
# 图像主体区域坐标
|
1319
|
+
class ImageRect < TencentCloud::Common::AbstractModel
|
1320
|
+
# @param X: 左上角横坐标。
|
1321
|
+
# @type X: Integer
|
1322
|
+
# @param Y: 左上角纵坐标。
|
1323
|
+
# @type Y: Integer
|
1324
|
+
# @param Width: 宽度。
|
1325
|
+
# @type Width: Integer
|
1326
|
+
# @param Height: 高度。
|
1327
|
+
# @type Height: Integer
|
1328
|
+
|
1329
|
+
attr_accessor :X, :Y, :Width, :Height
|
1330
|
+
|
1331
|
+
def initialize(x=nil, y=nil, width=nil, height=nil)
|
1332
|
+
@X = x
|
1333
|
+
@Y = y
|
1334
|
+
@Width = width
|
1335
|
+
@Height = height
|
1336
|
+
end
|
1337
|
+
|
1338
|
+
def deserialize(params)
|
1339
|
+
@X = params['X']
|
1340
|
+
@Y = params['Y']
|
1341
|
+
@Width = params['Width']
|
1342
|
+
@Height = params['Height']
|
1343
|
+
end
|
1344
|
+
end
|
1345
|
+
|
1317
1346
|
# 名人识别的标签
|
1318
1347
|
class Labels < TencentCloud::Common::AbstractModel
|
1319
1348
|
# @param FirstLabel: 公众人物身份标签的一级分类,例如体育明星、娱乐明星、政治人物等;
|
@@ -1615,10 +1644,12 @@ module TencentCloud
|
|
1615
1644
|
# @type Limit: Integer
|
1616
1645
|
# @param Filter: 针对入库时提交的Tags信息进行条件过滤。支持>、>=、 <、 <=、=,!=,多个条件之间支持AND和OR进行连接。
|
1617
1646
|
# @type Filter: String
|
1647
|
+
# @param ImageRect: 图像主体区域。
|
1648
|
+
# @type ImageRect: :class:`Tencentcloud::Tiia.v20190529.models.ImageRect`
|
1618
1649
|
|
1619
|
-
attr_accessor :GroupId, :ImageUrl, :ImageBase64, :MatchThreshold, :Offset, :Limit, :Filter
|
1650
|
+
attr_accessor :GroupId, :ImageUrl, :ImageBase64, :MatchThreshold, :Offset, :Limit, :Filter, :ImageRect
|
1620
1651
|
|
1621
|
-
def initialize(groupid=nil, imageurl=nil, imagebase64=nil, matchthreshold=nil, offset=nil, limit=nil, filter=nil)
|
1652
|
+
def initialize(groupid=nil, imageurl=nil, imagebase64=nil, matchthreshold=nil, offset=nil, limit=nil, filter=nil, imagerect=nil)
|
1622
1653
|
@GroupId = groupid
|
1623
1654
|
@ImageUrl = imageurl
|
1624
1655
|
@ImageBase64 = imagebase64
|
@@ -1626,6 +1657,7 @@ module TencentCloud
|
|
1626
1657
|
@Offset = offset
|
1627
1658
|
@Limit = limit
|
1628
1659
|
@Filter = filter
|
1660
|
+
@ImageRect = imagerect
|
1629
1661
|
end
|
1630
1662
|
|
1631
1663
|
def deserialize(params)
|
@@ -1636,6 +1668,10 @@ module TencentCloud
|
|
1636
1668
|
@Offset = params['Offset']
|
1637
1669
|
@Limit = params['Limit']
|
1638
1670
|
@Filter = params['Filter']
|
1671
|
+
unless params['ImageRect'].nil?
|
1672
|
+
@ImageRect = ImageRect.new
|
1673
|
+
@ImageRect.deserialize(params['ImageRect'])
|
1674
|
+
end
|
1639
1675
|
end
|
1640
1676
|
end
|
1641
1677
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tiia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.225
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|