Class: TencentCloud::Ivld::V20210903::ImageLogo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210903/models.rb

Overview

图片中出现的Logo信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logo = nil, appearrect = nil) ⇒ ImageLogo

Returns a new instance of ImageLogo.



1606
1607
1608
1609
# File 'lib/v20210903/models.rb', line 1606

def initialize(=nil, appearrect=nil)
  @Logo = 
  @AppearRect = appearrect
end

Instance Attribute Details

#AppearRectObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Logo:

    图片中出现的Logo识别结果

  • AppearRect:

    Logo在图片中出现的位置



1604
1605
1606
# File 'lib/v20210903/models.rb', line 1604

def AppearRect
  @AppearRect
end

#LogoObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Logo:

    图片中出现的Logo识别结果

  • AppearRect:

    Logo在图片中出现的位置



1604
1605
1606
# File 'lib/v20210903/models.rb', line 1604

def Logo
  @Logo
end

Instance Method Details

#deserialize(params) ⇒ Object



1611
1612
1613
1614
1615
1616
1617
# File 'lib/v20210903/models.rb', line 1611

def deserialize(params)
  @Logo = params['Logo']
  unless params['AppearRect'].nil?
    @AppearRect = Rectf.new
    @AppearRect.deserialize(params['AppearRect'])
  end
end