Sha256: fee536e11c76067d6b190e84eeeb224020ce7111f6ea14fa14aeb955d9742d42

Contents?: true

Size: 257 Bytes

Versions: 3

Compression:

Stored size: 257 Bytes

Contents

class RTesseract
  module Tsv
    extend Base

    def self.run(source, errors, options)
      options.tessedit_create_tsv = 1

      RTesseract::Command.new(source, temp_file, errors, options).run

      File.open(temp_file('.tsv'), 'r')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rtesseract-3.0.5 lib/rtesseract/tsv.rb
rtesseract-3.0.4 lib/rtesseract/tsv.rb
rtesseract-3.0.3 lib/rtesseract/tsv.rb