Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker container running tesseract-ocr as executable
Full Description

Tesseract OCR

Docker container running tesseract-ocr as executable

Usage as executable and extract as txt file

  • docker run --rm joergpatz/tesseract
  • docker run --rm -v `pwd`:/tmp joergpatz/tesseract [-l lang] john3_16.png outputtext

Usage as executable and extract as HOCR file

  • docker run --rm -v `pwd`:/tmp joergpatz/tesseract [-l lang] john3_16.png outputtext hocr

Usage inside the container

  • docker run --rm -v `pwd`:/tmp -it --entrypoint /bin/bash joergpatz/tesseract
    • including imagemagick library for converting files, e.g. convert -density 300 foobar.pdf foobar.tif

Alias docker run command

  • alias tesseract='docker run --rm -v `pwd`:/tmp joergpatz/tesseract'
  • tesseract -l eng john3_16.png outputtext
Docker Pull Command
Owner
joergpatz
Source Repository

Comments (0)