Library for using ruby and tesseract
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 3 commits ahead, 1 commit behind scottdavis:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
Gemfile
LICENSE
Rakefile
Readme.md
tesseract.gemspec

Readme.md

Ruby Tesseract

This is a library for using the tesseract OCR in ruby applications

Dependcies

  1. Terreract
  2. ImageMagick - Note the command line program convert needs to be accessible to ruby
  3. *nix based operating system

##Usage

Please Note the default language is english

tess = Tesseract::Process.new("photo.jpg")
tess.to_s

Config options are also supported

tess = Tesseract::Process.new("photo.jpg", {:lang => :fra, :tesseract_options => {:chop_enable => 0}})
tess.to_s