tencentcloud-sdk-facefusion 3.0.660 → 3.0.661
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/v20220927/models.rb +10 -3
- 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: 140ca08d3c81a0878a560acc49e5ceb8a06b0265
|
4
|
+
data.tar.gz: 6809cb6f5a658a504e3d0fc8b4567a6aca67c528
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e746616a5d24197fca9b11117e03ac71a3da9ee25b18d6f67d1968477de400f0ea70885d32b33c727d421a9b05239dea10ea20915a7f61c449d9a45723a9e50
|
7
|
+
data.tar.gz: de6855674cd5f92857cad21067a1db3ade52c63a486ed815195d5de416464c9f4f25e6f69f504583a22c9f784ed23f1052f2f0d2ccdf15f4d24f632bb3294a70
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.661
|
data/lib/v20220927/models.rb
CHANGED
@@ -320,16 +320,19 @@ module TencentCloud
|
|
320
320
|
# @type Url: String
|
321
321
|
# @param InputImageFaceRect: 上传的图片人脸位置信息(人脸框)
|
322
322
|
# @type InputImageFaceRect: :class:`Tencentcloud::Facefusion.v20220927.models.FaceRect`
|
323
|
-
# @param TemplateFaceID: 控制台上传的素材人脸ID
|
323
|
+
# @param TemplateFaceID: 控制台上传的素材人脸ID,不填默认取最大人脸。此字段仅适用于控制台上传素材的有素材场景。
|
324
324
|
# @type TemplateFaceID: String
|
325
|
+
# @param TemplateFaceRect: 模版图片人脸位置信息(人脸框),不填默认取最大人脸。此字段仅适用于自定义模版素材场景。
|
326
|
+
# @type TemplateFaceRect: :class:`Tencentcloud::Facefusion.v20220927.models.FaceRect`
|
325
327
|
|
326
|
-
attr_accessor :Image, :Url, :InputImageFaceRect, :TemplateFaceID
|
328
|
+
attr_accessor :Image, :Url, :InputImageFaceRect, :TemplateFaceID, :TemplateFaceRect
|
327
329
|
|
328
|
-
def initialize(image=nil, url=nil, inputimagefacerect=nil, templatefaceid=nil)
|
330
|
+
def initialize(image=nil, url=nil, inputimagefacerect=nil, templatefaceid=nil, templatefacerect=nil)
|
329
331
|
@Image = image
|
330
332
|
@Url = url
|
331
333
|
@InputImageFaceRect = inputimagefacerect
|
332
334
|
@TemplateFaceID = templatefaceid
|
335
|
+
@TemplateFaceRect = templatefacerect
|
333
336
|
end
|
334
337
|
|
335
338
|
def deserialize(params)
|
@@ -340,6 +343,10 @@ module TencentCloud
|
|
340
343
|
@InputImageFaceRect.deserialize(params['InputImageFaceRect'])
|
341
344
|
end
|
342
345
|
@TemplateFaceID = params['TemplateFaceID']
|
346
|
+
unless params['TemplateFaceRect'].nil?
|
347
|
+
@TemplateFaceRect = FaceRect.new
|
348
|
+
@TemplateFaceRect.deserialize(params['TemplateFaceRect'])
|
349
|
+
end
|
343
350
|
end
|
344
351
|
end
|
345
352
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-facefusion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.661
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|