Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 602 Bytes

Readme.md

File metadata and controls

21 lines (13 loc) · 602 Bytes

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