Skip to content

Latest commit

 

History

History
21 lines (21 loc) · 1.2 KB

README.md

File metadata and controls

21 lines (21 loc) · 1.2 KB

ocr4all-docker

Clone repository

git clone https://github.com/OCR4all/ocr4all-docker

Set environment variables

  • Copy the template.env to a file named .env that should be placed in the same directory as the docker-compose.yml file
  • Set all required environment variables to the desired values

Run

Start your OCR4all instance with the following command while inside the cloned directory

  • docker-compose up

Note

Starting up the whole stack might take some time so if you can't login through the frontend right away just wait a few seconds and try again when everything has fully booted up. By default, the frontend is started on port 8080.

Security

A default administrator user is created. The login credentials are

  • username: admin
  • password: ocr4all

Using ocr-d processors

Install models in ocr4all/opt/ocr-d/resources (see ocr-d resource list)

  • Calamari recognize download desired models in subfolder ocrd-calamari-recognize
  • Tesserocr recognize download desired models in subfolder ocrd-tesserocr-recognize