Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Library for using ruby and tesseract

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Rakefile
Octocat-spinner-32 Readme.md
Octocat-spinner-32 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
Something went wrong with that request. Please try again.