Class: Xberg::DetectionResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDetectionResult

Returns a new instance of DetectionResult.

Parameters:

  • page_width: (Integer)
  • page_height: (Integer)
  • detections: (Array[LayoutDetection])


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

def initialize: (page_width: Integer, page_height: Integer, detections: Array[LayoutDetection]) -> void

Instance Attribute Details

#detectionsArray[LayoutDetection] (readonly)

Returns the value of attribute detections.

Returns:



2060
2061
2062
# File 'sig/types.rbs', line 2060

def detections
  @detections
end

#page_heightInteger (readonly)

Returns the value of attribute page_height.

Returns:

  • (Integer)


2059
2060
2061
# File 'sig/types.rbs', line 2059

def page_height
  @page_height
end

#page_widthInteger (readonly)

Returns the value of attribute page_width.

Returns:

  • (Integer)


2058
2059
2060
# File 'sig/types.rbs', line 2058

def page_width
  @page_width
end