Class: TencentCloud::Ocr::V20181119::ClassifyDetectInfo

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

Overview

卡证智能分类结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, type = nil, rect = nil) ⇒ ClassifyDetectInfo

Returns a new instance of ClassifyDetectInfo.



1219
1220
1221
1222
1223
# File 'lib/v20181119/models.rb', line 1219

def initialize(name=nil, type=nil, rect=nil)
  @Name = name
  @Type = type
  @Rect = rect
end

Instance Attribute Details

#NameObject

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

Parameters:

  • Name:

    分类名称,包括:身份证、护照、名片、银行卡、行驶证、驾驶证、港澳台通行证、户口本、港澳台来往内地通行证、港澳台居住证、不动产证、营业执照

  • Type:

    分类类型

  • Rect:

    位置坐标



1217
1218
1219
# File 'lib/v20181119/models.rb', line 1217

def Name
  @Name
end

#RectObject

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

Parameters:

  • Name:

    分类名称,包括:身份证、护照、名片、银行卡、行驶证、驾驶证、港澳台通行证、户口本、港澳台来往内地通行证、港澳台居住证、不动产证、营业执照

  • Type:

    分类类型

  • Rect:

    位置坐标



1217
1218
1219
# File 'lib/v20181119/models.rb', line 1217

def Rect
  @Rect
end

#TypeObject

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

Parameters:

  • Name:

    分类名称,包括:身份证、护照、名片、银行卡、行驶证、驾驶证、港澳台通行证、户口本、港澳台来往内地通行证、港澳台居住证、不动产证、营业执照

  • Type:

    分类类型

  • Rect:

    位置坐标



1217
1218
1219
# File 'lib/v20181119/models.rb', line 1217

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



1225
1226
1227
1228
1229
1230
1231
1232
# File 'lib/v20181119/models.rb', line 1225

def deserialize(params)
  @Name = params['Name']
  @Type = params['Type']
  unless params['Rect'].nil?
    @Rect = Rect.new
    @Rect.deserialize(params['Rect'])
  end
end