tencentcloud-sdk-iai 3.0.1103 → 3.0.1122
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/v20200303/models.rb +8 -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: c24201c60fc7aed0357563441c1307f59f5c6e52
|
4
|
+
data.tar.gz: f14dfaad6ca9ac7b762ec2eaef4c39c481049d80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f483d79a3d78ad23ed8167c23b5991b8a399f00127b595db06f5c7b9b7f5135f62fe102a1211133a4242cd0e831e3c30a016cea7c4de7fc33eaa238e5e4ba7df
|
7
|
+
data.tar.gz: 71d48b04c8d1e5ac433506cd10ed890bce6abeb12aaaead67b85d5f402479cd076251494639b8890eb416f657994293c01ee4e8341cafd19ec5e27fc931003a1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1122
|
data/lib/v20200303/models.rb
CHANGED
@@ -325,10 +325,14 @@ module TencentCloud
|
|
325
325
|
# - 本参数的作用为,当图片中的人脸被旋转且图片没有exif信息时,如果不开启图片旋转识别支持则无法正确检测、识别图片中的人脸。
|
326
326
|
# - 若您确认图片包含exif信息或者您确认输入图中人脸不会出现被旋转情况,请不要开启本参数。开启后,整体耗时将可能增加数百毫秒。
|
327
327
|
# @type NeedRotateDetection: Integer
|
328
|
+
# @param FaceMatchingStrategy: 若图片中包含多张人脸,指定选取策略,默认为0。
|
329
|
+
# - 0:选取其中置信度最高的人脸
|
330
|
+
# - 1:选取其中面积最大的人脸。
|
331
|
+
# @type FaceMatchingStrategy: Integer
|
328
332
|
|
329
|
-
attr_accessor :ImageA, :ImageB, :UrlA, :UrlB, :FaceModelVersion, :QualityControl, :NeedRotateDetection
|
333
|
+
attr_accessor :ImageA, :ImageB, :UrlA, :UrlB, :FaceModelVersion, :QualityControl, :NeedRotateDetection, :FaceMatchingStrategy
|
330
334
|
|
331
|
-
def initialize(imagea=nil, imageb=nil, urla=nil, urlb=nil, facemodelversion=nil, qualitycontrol=nil, needrotatedetection=nil)
|
335
|
+
def initialize(imagea=nil, imageb=nil, urla=nil, urlb=nil, facemodelversion=nil, qualitycontrol=nil, needrotatedetection=nil, facematchingstrategy=nil)
|
332
336
|
@ImageA = imagea
|
333
337
|
@ImageB = imageb
|
334
338
|
@UrlA = urla
|
@@ -336,6 +340,7 @@ module TencentCloud
|
|
336
340
|
@FaceModelVersion = facemodelversion
|
337
341
|
@QualityControl = qualitycontrol
|
338
342
|
@NeedRotateDetection = needrotatedetection
|
343
|
+
@FaceMatchingStrategy = facematchingstrategy
|
339
344
|
end
|
340
345
|
|
341
346
|
def deserialize(params)
|
@@ -346,6 +351,7 @@ module TencentCloud
|
|
346
351
|
@FaceModelVersion = params['FaceModelVersion']
|
347
352
|
@QualityControl = params['QualityControl']
|
348
353
|
@NeedRotateDetection = params['NeedRotateDetection']
|
354
|
+
@FaceMatchingStrategy = params['FaceMatchingStrategy']
|
349
355
|
end
|
350
356
|
end
|
351
357
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1122
|
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-
|
11
|
+
date: 2025-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|