module RTesseract::Tsv
Public Class Methods
Source
# File lib/rtesseract/tsv.rb, line 7 def self.run(source, errors, options) options = options.merge({ tessedit_create_tsv: 1 }) RTesseract::Command.new( source, temp_file_path, errors, options ).run do |output_path| File.open("#{output_path}.tsv", 'r') end end