2023-02-22 08:31:38 +01:00
|
|
|
#/bin/sh -xe
|
|
|
|
. ${HOME}/.bin/_config
|
|
|
|
|
2023-12-12 08:39:33 +01:00
|
|
|
needs tesseract--
|
|
|
|
needs tesseract-deu--
|
|
|
|
needs tesseract-eng--
|
|
|
|
needs ocrmypdf--
|
|
|
|
|
2023-02-22 08:31:38 +01:00
|
|
|
cd ${PIMDIR}/documents/_incoming
|
2023-06-26 13:28:54 +02:00
|
|
|
find . -type f -maxdepth 1 -mindepth 1 -name "*.pdf" | xargs -P4 -n1 -t -r -I{} ocrmypdf -l deu $* "{}" "{}"
|