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)


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

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

Instance Attribute Details

#area_fractionFloat?

Returns the value of attribute area_fraction.

Returns:

  • (Float, nil)


1589
1590
1591
# File 'sig/types.rbs', line 1589

def area_fraction
  @area_fraction
end

#bounding_boxBoundingBox?

Returns the value of attribute bounding_box.

Returns:



1588
1589
1590
# File 'sig/types.rbs', line 1588

def bounding_box
  @bounding_box
end

#class_nameString?

Returns the value of attribute class_name.

Returns:

  • (String, nil)


1586
1587
1588
# File 'sig/types.rbs', line 1586

def class_name
  @class_name
end

#confidenceFloat?

Returns the value of attribute confidence.

Returns:

  • (Float, nil)


1587
1588
1589
# File 'sig/types.rbs', line 1587

def confidence
  @confidence
end