File: FuzzyOcr.scansets

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 (63 lines) | stat: -rw-r--r-- 1,421 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# This file contains the scansets
# Do not modify this on your own unless you have read the manual and know what you're doing

# Note: If the focr_minimal_scanset option is enabled (default),
# not all of these scansets run for every picture. But be aware
# that for ham images, all of them will always run.


# Standard Ocrad Scanset
scanset ocrad {
    command = $ocrad
    args = -s5 $input
}

# Inverted Ocrad scanset
scanset ocrad-invert {
    command = $ocrad
    args = -s5 -i $input
}

# Inverted Ocrad scanset with decolorization
scanset ocrad-decolorize-invert {
    preprocessors = ppmtopgm
    command = $ocrad
    args = -s5 -i $input
}

# Ocrad scanset with decolorization
scanset ocrad-decolorize {
    preprocessors = ppmtopgm
    command = $ocrad
    args = -s5 $input
}

# Standard Gocr Scanset
scanset gocr {
    command = $gocr
    args = -i $input
}

# Tweaked Gocr Scanset
scanset gocr-180 {
    command = $gocr
    args = -l 180 -d 2 -i $input
}

# An example Scanset how to use tesseract
scanset tesseract {
    preprocessors = maketiff
    command = $tesseract
    args = $input $output 
    force_output_in = $output.txt
}

# Another example, this basically does the same as the inverted Ocrad Scanset
# Only listed here to serve as example, ocrad-invert does this already
#
#scanset gocr-invert {
#    preprocessors = normalize, invert, normalize
#    command = $gocr
#    args = -i $input
#}