From 587fa63c8e8e0364c33e4384a1fad8794bb2f2f3 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Mon, 27 Jul 2015 20:42:16 -0700 Subject: [PATCH] --oversample: Default to 0 --- ocrmypdf/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocrmypdf/main.py b/ocrmypdf/main.py index ca740eb6..bf4ca96f 100755 --- a/ocrmypdf/main.py +++ b/ocrmypdf/main.py @@ -116,7 +116,7 @@ preprocessing.add_argument( '-i', '--clean-final', action='store_true', help="incorporate the cleaned image in the final PDF file") preprocessing.add_argument( - '--oversample', metavar='DPI', type=int, + '--oversample', metavar='DPI', type=int, default=0, help="oversample images to improve OCR results slightly") parser.add_argument(