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