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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20220927/models.rb +10 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abd00a19264d436ded06575e511ce726c83f637b
4
- data.tar.gz: abb5c8a6319670dbd1b30d3d1a452c71498ee92f
3
+ metadata.gz: 140ca08d3c81a0878a560acc49e5ceb8a06b0265
4
+ data.tar.gz: 6809cb6f5a658a504e3d0fc8b4567a6aca67c528
5
5
  SHA512:
6
- metadata.gz: 6c3051e8a19e633b1a53e25de256bfa650c1aac5a5f80c263696c5acff483e40839c9da8e784c341324959b1ffed2e4b8540705f1a2757999f89230a280d30f9
7
- data.tar.gz: 1c24d085ef880be12053d40e9269e0960f6edc51bf49e7a7744bf05b486be5ff6c7027663892403f8b07155e8c3f118fcb24a7b0c7b1ca746dc3577f2f29f24a
6
+ metadata.gz: 5e746616a5d24197fca9b11117e03ac71a3da9ee25b18d6f67d1968477de400f0ea70885d32b33c727d421a9b05239dea10ea20915a7f61c449d9a45723a9e50
7
+ data.tar.gz: de6855674cd5f92857cad21067a1db3ade52c63a486ed815195d5de416464c9f4f25e6f69f504583a22c9f784ed23f1052f2f0d2ccdf15f4d24f632bb3294a70
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.660
1
+ 3.0.661
@@ -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.660
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-15 00:00:00.000000000 Z
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