Sha256: 7c9c805f50ef3bb85998f6d73960e87cb089b6e0e5f44f5883deb015b22df1d8

Contents?: true

Size: 240 Bytes

Versions: 2

Compression:

Stored size: 240 Bytes

Contents

class RTesseract
  module Tsv
    extend Base

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rtesseract-3.0.2 lib/rtesseract/tsv.rb
rtesseract-3.0.1 lib/rtesseract/tsv.rb