Class: Xberg::LayoutDetection

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLayoutDetection

Returns a new instance of LayoutDetection.

Parameters:



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

def initialize: (class_name: LayoutClass, confidence: Float, bbox: BBox) -> void

Instance Attribute Details

#bboxBBox (readonly)

Returns the value of attribute bbox.

Returns:



2044
2045
2046
# File 'sig/types.rbs', line 2044

def bbox
  @bbox
end

#class_nameLayoutClass (readonly)

Returns the value of attribute class_name.

Returns:



2042
2043
2044
# File 'sig/types.rbs', line 2042

def class_name
  @class_name
end

#confidenceFloat (readonly)

Returns the value of attribute confidence.

Returns:

  • (Float)


2043
2044
2045
# File 'sig/types.rbs', line 2043

def confidence
  @confidence
end