diff --git a/pdfocr.sh b/pdfocr.sh new file mode 100755 index 0000000..60c7676 --- /dev/null +++ b/pdfocr.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# Remove -noprepoc for bad scans +# TODO: Test with colour PDFs +pdfsandwich -debug -nopreproc -coo "-colorspace Gray -colors 256" -rgb -lang deu -verbose "$1"