Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 1.04 KB

Readme.md

File metadata and controls

24 lines (22 loc) · 1.04 KB

Introduction

The tesseract-ocr AppImage is built on Ubuntu 18.04, using Docker container that provides all the required up-to-date dependencies.

Instruction

  1. Download AppImage from releases page
  2. Open your terminal application, if not already open
  3. Browse to the location of the AppImage
  4. Make the AppImage executable:
    $ chmod a+x tesseract*.AppImage
  5. Run it:
    ./tesseract*.AppImage -l eng page.tif page.txt

Building

  1. Cloning a Git repository:
    git clone https://github.com/AlexanderP/tesseract-appimage.git
    cd tesseract-appimage && git submodule update --init
    cd tesseract && git submodule update --init test
    cd ..
  2. Create Docker image:
    docker build -t tess_buildenv .
  3. Run build.sh:
    docker run --rm -v $PWD:/build --device=/dev/fuse --cap-add SYS_ADMIN --security-opt apparmor:unconfined tess_buildenv bash build.sh -l "spa fin por fra rus deu"
  4. Run AppImage:
    ./tesseract*.AppImage Apache.tif -