Class: Xberg::LayoutRegion

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLayoutRegion

Returns a new instance of LayoutRegion.

Parameters:

  • class_name: (String)
  • confidence: (Float)
  • bounding_box: (BoundingBox)
  • area_fraction: (Float)


1463
# File 'sig/types.rbs', line 1463

def initialize: (?class_name: String, ?confidence: Float, ?bounding_box: BoundingBox, ?area_fraction: Float) -> void

Instance Attribute Details

#area_fractionFloat (readonly)

Returns the value of attribute area_fraction.

Returns:

  • (Float)


1461
1462
1463
# File 'sig/types.rbs', line 1461

def area_fraction
  @area_fraction
end

#bounding_boxBoundingBox (readonly)

Returns the value of attribute bounding_box.

Returns:



1460
1461
1462
# File 'sig/types.rbs', line 1460

def bounding_box
  @bounding_box
end

#class_nameString (readonly)

Returns the value of attribute class_name.

Returns:

  • (String)


1458
1459
1460
# File 'sig/types.rbs', line 1458

def class_name
  @class_name
end

#confidenceFloat (readonly)

Returns the value of attribute confidence.

Returns:

  • (Float)


1459
1460
1461
# File 'sig/types.rbs', line 1459

def confidence
  @confidence
end