This fork includes dutch language for tesseract. TravisCI is included to further automate docker image building and pushing to dockerhub.
Thanks @jbarlow83 and @bernmic for all the work!
This is a simple watchdog for OCRMyPDF (and maybe others). It watches a given folder for new files with definable extensions and runs then ocrmypdf (or another command) to convert files to pdf.
The Dockerfile creates an image based on the jbarlow83/ocrmypdf image and adds the watchdog.
The docker-compose creates a container from the image. The first time it has to be started with the --build flag to build the image:
docker-compose up --build
There are 2 volumes: /in and /out The docker-compose.yml shows how to use them.
docker push samvdb/ocrmypdf-watchdog:latest
The watchdog looks for the following environment variables:
- OCRMYPDF_IN
- OCRMYPDF_OUT
- OCRMYPDF_BINARY
- OCRMYPDF_PARAMETER
- WATCHDOG_EXTENSIONS
- WATCHDOG_FREQUENCY
The watchdog accepts the following parameters:
- --in
- --out
- --frequency <in seconds)
- --ocrmypdf