diff --git a/OCRmyPDF.sh b/OCRmyPDF.sh index a13f197f..d859e6eb 100644 --- a/OCRmyPDF.sh +++ b/OCRmyPDF.sh @@ -25,7 +25,7 @@ Usage: OCRmyPDF.sh [-h] [-v] [-g] [-k] [-d] [-c] [-i] [-l language] [-C filenam -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. -C : Pass an additional configuration file to the tesseract OCR engine. (this option can be used more than once) @@ -293,4 +293,4 @@ if [ $KEEP_TMP -eq 0 ]; then rm "$FILE_OUTPUT_PDF" fi -exit 0 \ No newline at end of file +exit 0 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 ----------