Class: TencentCloud::Vclm::V20240523::SubmitImageAnimateJobRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vclm::V20240523::SubmitImageAnimateJobRequest
- Defined in:
- lib/v20240523/models.rb
Overview
SubmitImageAnimateJob请求参数结构体
Instance Attribute Summary collapse
-
#EnableAudio ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。.
-
#EnableBodyJoins ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。.
-
#EnableFace ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。.
-
#EnableSegment ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。.
-
#ImageBase64 ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。.
-
#ImageUrl ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。.
-
#LogoAdd ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。.
-
#LogoParam ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。.
-
#TemplateId ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imageurl = nil, imagebase64 = nil, templateid = nil, enableaudio = nil, enablebodyjoins = nil, enablesegment = nil, logoadd = nil, logoparam = nil, enableface = nil) ⇒ SubmitImageAnimateJobRequest
constructor
A new instance of SubmitImageAnimateJobRequest.
Constructor Details
#initialize(imageurl = nil, imagebase64 = nil, templateid = nil, enableaudio = nil, enablebodyjoins = nil, enablesegment = nil, logoadd = nil, logoparam = nil, enableface = nil) ⇒ SubmitImageAnimateJobRequest
Returns a new instance of SubmitImageAnimateJobRequest.
421 422 423 424 425 426 427 428 429 430 431 |
# File 'lib/v20240523/models.rb', line 421 def initialize(imageurl=nil, imagebase64=nil, templateid=nil, enableaudio=nil, enablebodyjoins=nil, enablesegment=nil, logoadd=nil, logoparam=nil, enableface=nil) @ImageUrl = imageurl @ImageBase64 = imagebase64 @TemplateId = templateid @EnableAudio = enableaudio @EnableBodyJoins = enablebodyjoins @EnableSegment = enablesegment @LogoAdd = logoadd @LogoParam = logoparam @EnableFace = enableface end |
Instance Attribute Details
#EnableAudio ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。
419 420 421 |
# File 'lib/v20240523/models.rb', line 419 def EnableAudio @EnableAudio end |
#EnableBodyJoins ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。
419 420 421 |
# File 'lib/v20240523/models.rb', line 419 def EnableBodyJoins @EnableBodyJoins end |
#EnableFace ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。
419 420 421 |
# File 'lib/v20240523/models.rb', line 419 def EnableFace @EnableFace end |
#EnableSegment ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。
419 420 421 |
# File 'lib/v20240523/models.rb', line 419 def EnableSegment @EnableSegment end |
#ImageBase64 ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。
419 420 421 |
# File 'lib/v20240523/models.rb', line 419 def ImageBase64 @ImageBase64 end |
#ImageUrl ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。
419 420 421 |
# File 'lib/v20240523/models.rb', line 419 def ImageUrl @ImageUrl end |
#LogoAdd ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。
419 420 421 |
# File 'lib/v20240523/models.rb', line 419 def LogoAdd @LogoAdd end |
#LogoParam ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。
419 420 421 |
# File 'lib/v20240523/models.rb', line 419 def LogoParam @LogoParam end |
#TemplateId ⇒ Object
默认开启人脸检测(true),拦截主体为人像但无人脸、人脸不完整或被遮挡的输入图。可选关闭人脸检测(false)。
419 420 421 |
# File 'lib/v20240523/models.rb', line 419 def TemplateId @TemplateId end |
Instance Method Details
#deserialize(params) ⇒ Object
433 434 435 436 437 438 439 440 441 442 443 444 445 446 |
# File 'lib/v20240523/models.rb', line 433 def deserialize(params) @ImageUrl = params['ImageUrl'] @ImageBase64 = params['ImageBase64'] @TemplateId = params['TemplateId'] @EnableAudio = params['EnableAudio'] @EnableBodyJoins = params['EnableBodyJoins'] @EnableSegment = params['EnableSegment'] @LogoAdd = params['LogoAdd'] unless params['LogoParam'].nil? @LogoParam = LogoParam.new @LogoParam.deserialize(params['LogoParam']) end @EnableFace = params['EnableFace'] end |