Class: Tesseract::Engine::Iterator::Word
- Inherits:
-
Element
- Object
- Element
- Tesseract::Engine::Iterator::Word
show all
- Defined in:
- lib/tesseract/engine/iterator.rb
Instance Method Summary
collapse
Methods inherited from Element
#baseline, #binary_image, #bounding_box, #confidence, for, #image, #initialize, #inspect, #orientation, #text
Instance Method Details
#font_attributes ⇒ Object
96
97
98
|
# File 'lib/tesseract/engine/iterator.rb', line 96
def font_attributes
FontAttributes.new(@iterator.word_font_attributes)
end
|
#from_dictionary? ⇒ Boolean
101
102
103
|
# File 'lib/tesseract/engine/iterator.rb', line 101
def from_dictionary?
@iterator.word_is_from_dictionary?
end
|
#numeric? ⇒ Boolean
106
107
108
|
# File 'lib/tesseract/engine/iterator.rb', line 106
def numeric?
@iterator.word_is_numeric?
end
|