Changeset 96
- Timestamp:
- 08.12.2006 00:09:57 (2 years ago)
- Files:
-
- trunk/devel/FuzzyOcr.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/devel/FuzzyOcr.pm
r94 r96 701 701 next; 702 702 } 703 if ($scancmd =~ m/ocrad/ and $$pic{width} < 16 and $$pic{height} < 16) { 703 if (($scancmd =~ m/ocrad/) and 704 ($$pic{width} < 16 or $$pic{height} < 16)) { 704 705 warnlog("Skipping $scanlabel, image too small"); 705 706 next; … … 786 787 $modus_match = 0; 787 788 } 788 infolog("Enough OCR Hits without space stripping, skipping second matching pass...");789 debuglog("Enough OCR Hits without space stripping, skipping second matching pass..."); 789 790 last; 790 791 } elsif (not $modus) { 791 infolog("Not enough OCR Hits without space stripping, doing second matching pass...");792 debuglog("Not enough OCR Hits without space stripping, doing second matching pass..."); 792 793 if ($mcnt == $cmcnt) { 793 794 $modus_match = 1; … … 884 885 } 885 886 } 886 infolog("FuzzyOcr ending successfully...");887 debuglog("FuzzyOcr ending successfully..."); 887 888 return 0; 888 889 }
