summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpdf2txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf2txt b/pdf2txt
index e8632be..65590fc 100755
--- a/pdf2txt
+++ b/pdf2txt
@@ -10,6 +10,7 @@ OUTF=$(basename $1 .pdf)
FMT=${TIFF_FMT:-"tiffgray"} #tiff24nc
gs -r300x300 -sDEVICE=${FMT} -sOutputFile=$TIFF -dBATCH -dNOPAUSE $1
+#convert -monochrome -density 200 $1 $TIFF
tesseract $TIFF $OUTF
rm $TIFF
echo "output : ${OUTF}"