P5-image-ocr-tesseract

Jul 20, 2023

Read an image with Resseract OCR and get output

Provides a perl interface to tesseract.

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

Also accepts any image input- takes care of converting your imput image to a tiff to the required specs, without changing the original.

Example usage

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



Checkout these related ports:
  • Zphoto - Zooming photo album generator
  • Zint - Barcode generator (library and utilities)
  • Zimg - Image-generator that uses ASCII input files to create PNGs/EDFs
  • Zgv - Graphics viewer for SVGAlib
  • Zbar - ZBar barcode reader
  • Zathura - Customizable lightweight pdf viewer
  • Zathura-ps - PostScript support for Zathura PDF viewer
  • Zathura-pdf-poppler - Poppler render PDF plugin for Zathura PDF viewer
  • Zathura-pdf-mupdf - MuPDF render PDF plugin for Zathura PDF viewer
  • Zathura-djvu - DjVu support for zathura
  • Zathura-cb - Comic book plugin for Zathura PDF viewer
  • Yukon - Real-time capture tool for OpenGL applications
  • Yed - Editor for graphs and diagrams
  • Yafaray - Montecarlo raytracing engine
  • Yacreader - Yet another comic reader