anjlab / anjlab-ruby-tesseract

Library for using ruby and tesseract

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Library for using ruby and tesseract

License:Other


Languages

Language:Ruby 100.0%