diff -Nur -x '*.orig' -x '*.rej' FuzzyOcr-3.5.1/FuzzyOcr.cf mezzanine_patched_FuzzyOcr-3.5.1/FuzzyOcr.cf --- FuzzyOcr-3.5.1/FuzzyOcr.cf 2007-01-07 09:04:46.000000000 -0700 +++ mezzanine_patched_FuzzyOcr-3.5.1/FuzzyOcr.cf 2007-01-07 08:58:22.000000000 -0700 @@ -96,8 +96,9 @@ # Include additional scanner/preprocessor commands here: # -focr_bin_helper pnmnorm, pnminvert, pamthreshold, ppmtopgm, pamtopnm -focr_bin_helper tesseract +#focr_bin_helper pnmnorm, pnminvert, pamthreshold, ppmtopgm, pamtopnm +#focr_bin_helper tesseract +focr_bin_helper pnmnorm, pnminvert, pamditherbw, ppmtopgm, pamtopnm ### ### Step 2: diff -Nur -x '*.orig' -x '*.rej' FuzzyOcr-3.5.1/FuzzyOcr.preps mezzanine_patched_FuzzyOcr-3.5.1/FuzzyOcr.preps --- FuzzyOcr-3.5.1/FuzzyOcr.preps 2007-01-07 04:55:44.000000000 -0700 +++ mezzanine_patched_FuzzyOcr-3.5.1/FuzzyOcr.preps 2007-01-07 08:57:35.000000000 -0700 @@ -22,9 +22,15 @@ } # Uses thresholding on the PAM file -preprocessor pamthreshold { - command = pamthreshold - args = -simple -threshold 0.5 +#preprocessor pamthreshold { +# command = pamthreshold +# args = -simple -threshold 0.5 +#} + +# Uses thresholding on the PAM file +preprocessor pamditherbw { + command = pamditherbw + args = -threshold } # converts PNM to TIFF (this is used for tesseract) diff -Nur -x '*.orig' -x '*.rej' FuzzyOcr-3.5.1/FuzzyOcr.scansets mezzanine_patched_FuzzyOcr-3.5.1/FuzzyOcr.scansets --- FuzzyOcr-3.5.1/FuzzyOcr.scansets 2007-01-07 04:55:44.000000000 -0700 +++ mezzanine_patched_FuzzyOcr-3.5.1/FuzzyOcr.scansets 2007-01-07 09:02:06.000000000 -0700 @@ -20,14 +20,14 @@ # Inverted Ocrad scanset with decolorization scanset ocrad-decolorize-invert { - preprocessors = ppmtopgm, pamthreshold, pamtopnm + preprocessors = ppmtopgm, pamditherbw, pamtopnm command = $ocrad args = -s5 -i $input } # Ocrad scanset with decolorization scanset ocrad-decolorize { - preprocessors = ppmtopgm, pamthreshold, pamtopnm + preprocessors = ppmtopgm, pamditherbw, pamtopnm command = $ocrad args = -s5 $input }