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])


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

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:



2164
2165
2166
# File 'sig/types.rbs', line 2164

def detections
  @detections
end

#page_heightInteger (readonly)

Returns the value of attribute page_height.

Returns:

  • (Integer)


2163
2164
2165
# File 'sig/types.rbs', line 2163

def page_height
  @page_height
end

#page_widthInteger (readonly)

Returns the value of attribute page_width.

Returns:

  • (Integer)


2162
2163
2164
# File 'sig/types.rbs', line 2162

def page_width
  @page_width
end