Changeset 37

Show
Ignore:
Timestamp:
15.11.2006 13:29:33 (2 years ago)
Author:
decoder
Message:

Added example for an ocrad scanset in .cf file
The string "$ocrad" is now correctly replaced in the scanset

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/devel/FuzzyOcr.cf

    r33 r37  
    5757# Each scanset is run seperately on the PNM data, results are combined in scoring. 
    5858focr_scansets $gocr -i $pfile, $gocr -l 180 -d 2 -i $pfile, $gocr -l 140 -d 2 -i $pfile 
     59# 
     60# An example that involves ocrad as well 
     61#focr_scansets $gocr -i $pfile, $gocr -l 180 -d 2 -i $pfile, $ocrad -s5 -T 0.5 $pfile 
     62# 
     63# Another one for ocrad only 
     64#focr_scansets $ocrad -s5 -T 0.5 $pfile 
    5965# 
    6066# To use only one scan with default values, uncomment the next line instead 
  • trunk/devel/FuzzyOcr.pm

    r34 r37  
    454454            my $scan = $scanset; 
    455455            $scan =~ s/\$gocr/$conf->{"focr_bin_gocr"}/; 
     456            $scan =~ s/\$ocrad/$conf->{"focr_bin_ocrad"}/; 
    456457            $scan =~ s/\$pfile/$pfile/; 
    457458            $scan =~ s/\$efile/$efile/g;