--- FuzzyOcr.preps 2006-12-10 08:32:24.000000000 -0700 +++ FuzzyOcr.preps 2006-12-10 12:39:32.000000000 -0700 @@ -32,3 +32,10 @@ command = pnmtotiff args = -color -truecolor } + +# Uses pamditherbw with thresholding on the PAM file +preprocessor pamthreshold { + command = pamthreshold + args = -threshold +} + --- FuzzyOcr.scansets 2006-12-10 08:32:25.000000000 -0700 +++ FuzzyOcr.scansets 2006-12-10 12:37:32.000000000 -0700 @@ -18,20 +18,37 @@ args = -s5 -i $input } +## Inverted Ocrad scanset with decolorization +#scanset ocrad-decolorize-invert { +# preprocessors = ppmtopgm, pamthreshold, pamtopnm +# command = $ocrad +# args = -s5 -i $input +#} + +## Ocrad scanset with decolorization +#scanset ocrad-decolorize { +# preprocessors = ppmtopgm, pamthreshold, pamtopnm +# command = $ocrad +# args = -s5 $input +#} + # Inverted Ocrad scanset with decolorization +# (without pamthreshold - for netpbm < 10.34) scanset ocrad-decolorize-invert { - preprocessors = ppmtopgm, pamthreshold, pamtopnm + preprocessors = ppmtopgm, pamditherbw, pamtopnm command = $ocrad args = -s5 -i $input } # Ocrad scanset with decolorization +# (without pamthreshold - for netpbm < 10.34) scanset ocrad-decolorize { - preprocessors = ppmtopgm, pamthreshold, pamtopnm + preprocessors = ppmtopgm, pamditherbw, pamtopnm command = $ocrad args = -s5 $input } + # Standard Gocr Scanset scanset gocr { command = $gocr @@ -59,4 +76,4 @@ # preprocessors = normalize, invert, normalize # command = $gocr # args = -i $input -#} \ No newline at end of file +#}