Class: TencentCloud::Bda::V20200324::SegmentPortraitPicRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bda::V20200324::SegmentPortraitPicRequest
- Defined in:
- lib/v20200324/models.rb
Overview
SegmentPortraitPic请求参数结构体
Instance Attribute Summary collapse
-
#Image ⇒ Object
取值:GEN/GS。GEN为通用场景模式;GS为绿幕场景模式,针对绿幕场景下的人像分割效果更好。 两种模式选择一种传入,默认为GEN。.
-
#RspImgType ⇒ Object
取值:GEN/GS。GEN为通用场景模式;GS为绿幕场景模式,针对绿幕场景下的人像分割效果更好。 两种模式选择一种传入,默认为GEN。.
-
#Scene ⇒ Object
取值:GEN/GS。GEN为通用场景模式;GS为绿幕场景模式,针对绿幕场景下的人像分割效果更好。 两种模式选择一种传入,默认为GEN。.
-
#Url ⇒ Object
取值:GEN/GS。GEN为通用场景模式;GS为绿幕场景模式,针对绿幕场景下的人像分割效果更好。 两种模式选择一种传入,默认为GEN。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(image = nil, url = nil, rspimgtype = nil, scene = nil) ⇒ SegmentPortraitPicRequest
constructor
A new instance of SegmentPortraitPicRequest.
Constructor Details
#initialize(image = nil, url = nil, rspimgtype = nil, scene = nil) ⇒ SegmentPortraitPicRequest
Returns a new instance of SegmentPortraitPicRequest.
1452 1453 1454 1455 1456 1457 |
# File 'lib/v20200324/models.rb', line 1452 def initialize(image=nil, url=nil, rspimgtype=nil, scene=nil) @Image = image @Url = url @RspImgType = rspimgtype @Scene = scene end |
Instance Attribute Details
#Image ⇒ Object
取值:GEN/GS。GEN为通用场景模式;GS为绿幕场景模式,针对绿幕场景下的人像分割效果更好。两种模式选择一种传入,默认为GEN。
1450 1451 1452 |
# File 'lib/v20200324/models.rb', line 1450 def Image @Image end |
#RspImgType ⇒ Object
取值:GEN/GS。GEN为通用场景模式;GS为绿幕场景模式,针对绿幕场景下的人像分割效果更好。两种模式选择一种传入,默认为GEN。
1450 1451 1452 |
# File 'lib/v20200324/models.rb', line 1450 def RspImgType @RspImgType end |
#Scene ⇒ Object
取值:GEN/GS。GEN为通用场景模式;GS为绿幕场景模式,针对绿幕场景下的人像分割效果更好。两种模式选择一种传入,默认为GEN。
1450 1451 1452 |
# File 'lib/v20200324/models.rb', line 1450 def Scene @Scene end |
#Url ⇒ Object
取值:GEN/GS。GEN为通用场景模式;GS为绿幕场景模式,针对绿幕场景下的人像分割效果更好。两种模式选择一种传入,默认为GEN。
1450 1451 1452 |
# File 'lib/v20200324/models.rb', line 1450 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
1459 1460 1461 1462 1463 1464 |
# File 'lib/v20200324/models.rb', line 1459 def deserialize(params) @Image = params['Image'] @Url = params['Url'] @RspImgType = params['RspImgType'] @Scene = params['Scene'] end |