From cb0bef96ffde33f29160ec1650bd6ec4249949a9 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Fri, 11 Feb 2022 11:41:37 +0100 Subject: [PATCH] modified ocr script --- ocr.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ocr.sh b/ocr.sh index bae5933..f91469e 100644 --- a/ocr.sh +++ b/ocr.sh @@ -1 +1,2 @@ -ocrmypdf -l deu --force-ocr $1 $1 +file=$1 +ocrmypdf -l deu --force-ocr --jbig2-lossy ${file} ${file%.*}-ocr.pdf