Added PDF OCR script using pdfsandwich.

This commit is contained in:
Markus Birth 2016-11-15 20:34:55 +01:00
parent c4d62be1d6
commit e0d2c414a0

4
pdfocr.sh Executable file
View File

@ -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"