git clone https://github.com/OCR4all/ocr4all-docker
- Copy the
template.env
to a file named.env
that should be placed in the same directory as thedocker-compose.yml
file - Set all required environment variables to the desired values
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.
A default administrator user is created. The login credentials are
- username:
admin
- password:
ocr4all
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