Sha256: 7ce6cd5f1842a918008cf4ac5ba45dac059d2d78f3a0b6623e0f3d4ab3496069
Contents?: true
Size: 474 Bytes
Versions: 1
Compression:
Stored size: 474 Bytes
Contents
# encoding: UTF-8 # Add to rtesseract a image without manipulation module NoneProcessor def self.setup end def self.a_name?(name) %w(none NoneProcessor).include?(name.to_s) end def self.image_to_tif(source, _points = {}) tmp_file = Tempfile.new(['', '.tif']) tmp_file.write(read_with_processor(source)) tmp_file end def self.need_crop?(*) end def self.read_with_processor(path) File.read(path) end def self.image?(*) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rtesseract-2.0.0 | lib/processors/none.rb |