From d621c888287cff34cc7e9c508b3d555fe4a4c8c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 26 Aug 2011 08:54:42 +0200 Subject: pdf2txt: add commented line using convert --- pdf2txt | 1 + 1 file changed, 1 insertion(+) 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}" -- cgit v1.1-2-g2b99