Documentation for OCR quality features

This commit is contained in:
James R. Barlow
2018-11-10 15:48:41 -08:00
parent 701ef1df3f
commit 700abbb8a5
3 changed files with 10 additions and 3 deletions
+2 -2
View File
@@ -250,12 +250,12 @@ preprocessing.add_argument(
"will not be included in OCR. This can eliminate false characters.")
preprocessing.add_argument(
'--mask-barcodes', action='store_true',
help="Mask out any barcodes that appear in the PDF so they are not "
help="EXPERIMENTAL. Mask out any barcodes that appear in the PDF so they are not "
"considered during OCR. Barcodes can introduce false characters into "
"OCR.")
preprocessing.add_argument(
'--threshold', action='store_true',
help="Threshold image to 1bpp before sending it to Tesseract for OCR. Can "
help="EXPERIMENTAL. Threshold image to 1bpp before sending it to Tesseract for OCR. Can "
"improve OCR quality compared to Tesseract's thresholder.")
ocrsettings = parser.add_argument_group(