File: FuzzyOcr.preps

package info (click to toggle)
fuzzyocr 3.6.0-15
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 804 kB
  • sloc: perl: 3,127; sh: 45; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 498 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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 PNM to TIFF (this is used for tesseract)
preprocessor maketiff {
    command = pnmtotiff
    args = -color -truecolor
}