Class: Xberg::OcrElementConfig
- Inherits:
-
Object
- Object
- Xberg::OcrElementConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#build_hierarchy ⇒ Boolean?
Returns the value of attribute build_hierarchy.
-
#include_elements ⇒ Boolean?
Returns the value of attribute include_elements.
-
#min_confidence ⇒ Float?
Returns the value of attribute min_confidence.
-
#min_level ⇒ OcrElementLevel?
Returns the value of attribute min_level.
Instance Method Summary collapse
-
#initialize ⇒ OcrElementConfig
constructor
A new instance of OcrElementConfig.
Constructor Details
#initialize ⇒ OcrElementConfig
Returns a new instance of OcrElementConfig.
1655 |
# File 'sig/types.rbs', line 1655
def initialize: (?include_elements: bool, ?min_level: OcrElementLevel, ?min_confidence: Float, ?build_hierarchy: bool) -> void
|
Instance Attribute Details
#build_hierarchy ⇒ Boolean?
Returns the value of attribute build_hierarchy.
1653 1654 1655 |
# File 'sig/types.rbs', line 1653 def build_hierarchy @build_hierarchy end |
#include_elements ⇒ Boolean?
Returns the value of attribute include_elements.
1650 1651 1652 |
# File 'sig/types.rbs', line 1650 def include_elements @include_elements end |
#min_confidence ⇒ Float?
Returns the value of attribute min_confidence.
1652 1653 1654 |
# File 'sig/types.rbs', line 1652 def min_confidence @min_confidence end |
#min_level ⇒ OcrElementLevel?
Returns the value of attribute min_level.
1651 1652 1653 |
# File 'sig/types.rbs', line 1651 def min_level @min_level end |