module RTesseract::Text

Public Class Methods

run(source, errors, options) click to toggle source
# File lib/rtesseract/text.rb, line 7
def self.run(source, errors, options)
  text = RTesseract::Command.new(source, 'stdout', errors, options).run
  text = text.gsub("\f", '') if text.is_a?(String)
  text
end