From 939a148812cbdba1c3cbc77af1c5fc310799e41c Mon Sep 17 00:00:00 2001 From: fritz-hh Date: Tue, 23 Apr 2013 00:33:48 +0300 Subject: [PATCH 1/2] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d0e79097..ba06f667 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,11 @@ To get the script usage, call: ./OCmyPDF.sh -h Features -------- -- Generates a searchable PDF/A file from a PDF file containing only images -- Keeps the exact resolution of the original embedded images +- Generate a searchable PDF/A file from a PDF file containing only images +- Keep the exact resolution of the original embedded images - If requested deskew and / or clean the image before performing OCR -- Validates the generated file against the PDF/A specification using jhove - +- Validate the generated file against the PDF/A specification using jhove +- Provides debug mode to enable easy verification of the OCR results Motivation ---------- From 9aa83215c45ab9a77d88519f62759244bdeb38b3 Mon Sep 17 00:00:00 2001 From: fritz-hh Date: Tue, 23 Apr 2013 00:35:42 +0300 Subject: [PATCH 2/2] OCRmyPDF.sh: typo in usage --- OCRmyPDF.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OCRmyPDF.sh b/OCRmyPDF.sh index 56c8c9e3..d6159f79 100644 --- a/OCRmyPDF.sh +++ b/OCRmyPDF.sh @@ -25,7 +25,7 @@ Usage: OCRmyPDF.sh [-h] [-v] [-g] [-k] [-d] [-c] [-i] [-l language] inputfile -c : Clean each page before performing OCR -i : Incorporate the cleaned image in the final PDF file (by default the original image image, or the deskewed image if the -d option is set, is incorporated) --l : Set the language of the PDF file in order to improve OCR results(default "eng") +-l : Set the language of the PDF file in order to improve OCR results (default "eng") Any language supported by tesseract is supported. inputfile : PDF file to be processed -------------------------------------------------------------------------------------- @@ -288,4 +288,4 @@ if [ $KEEP_TMP -eq 0 ]; then rm "$FILE_OUTPUT_PDF" fi -exit 0 \ No newline at end of file +exit 0