Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > ba02fe3850f2de2ce34a7aefd196fe40 > files > 2

spamassassin-FuzzyOcr-3.6.0-5.fc14.noarch.rpm

# This file contains the preprocessors
# Do not modify this on your own unless you have read the manual and know what you're doing

# Normalizes a PNM
preprocessor normalize {
    command = pnmnorm
}

# Inverts a PNM
preprocessor invert {
    command = pnminvert
}

# Converts PPM (Color PNM) to PGM (Greyscale PNM)
preprocessor ppmtopgm {
    command = ppmtopgm
}

# Converts PAM to PNM
preprocessor pamtopnm {
    command = pamtopnm
}

# Uses thresholding on the PAM file
preprocessor pamthreshold {
    command = pamthreshold
    args = -simple -threshold 0.5
}

# converts PNM to TIFF (this is used for tesseract)
preprocessor maketiff {
    command = pnmtotiff
    args = -color -truecolor
}