The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

ocr - read an image as text and output to stdout

DESCRIPTION

This is just an interface to make it quick an easy to get ocr output from an image file. No matter what image you provide, imagemagick convert is called to turn it into the format for tesseract.

USAGE

ocr [OPTION]... FILE...

   -b          blowup (useful for small images)
   -d          debug
   -h          help
   -l string   language
   -v          version

Usage Examples

   ocr ./image.jpg > ./savetext.txt
   ocr ./image.png
   ocr ./image1.jpg ./image2.jpg > ./alltext.txt
   ocr ./image*jpg

AUTHOR

Leo Charre leocharre at cpan dot org

SEE ALSO

Image::OCR::Tesseract tesseract convert