aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tesseract.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Formula/tesseract.rb b/Library/Formula/tesseract.rb
index b159cd7cc..c93fa3cc6 100644
--- a/Library/Formula/tesseract.rb
+++ b/Library/Formula/tesseract.rb
@@ -13,6 +13,17 @@ class Tesseract <Formula
depends_on 'libtiff'
+ def about
+ <<-EOF
+ Tesseract is an OCR (Optical Character Recognition) engine.
+
+ The easiest way to use it is to convert the source to a Grayscale tiff:
+ `convert source.png -type Grayscale terre_input.tif`
+ then run tesseract:
+ `tesseract terre_input.tif output`
+ EOF
+ end
+
def install
# Executable 'tesseract' segfaults on 10.6 when compiled with llvm-gcc (LLVM build 2206)
ENV.gcc_4_2