Sha256: fa9e9df1c0990dbaf90dc362e466dba5b40d2aa4fe8dac100b19c1133f09fba9

Contents?: true

Size: 384 Bytes

Versions: 1

Compression:

Stored size: 384 Bytes

Contents

# frozen_string_literal: true

class RTesseract
  module Tsv
    extend Base

    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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rtesseract-3.1.3 lib/rtesseract/tsv.rb