[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Bug-ocrad] improving detection of "rv" instead of "N"
From: |
lode leroy |
Subject: |
RE: [Bug-ocrad] improving detection of "rv" instead of "N" |
Date: |
Fri, 29 Jul 2005 16:29:11 +0200 |
maybe this is nicer... just starting to understand the rest of the code :-)
character_r11.cc:97
if ( code == 'N' && f.rp.increasing(b.vpos(25)-b.left()) ) // Looks for
merged 'rv'
{
int mincol = f.hp.iminimum(0,2);
if ((mincol > f.hp.pos(40)) && (mincol < f.hp.pos(50))) {
if (b.top() >= charbox.top() ) {
only_guess(0, b.left() ); add_guess ( 'r', b.left()+mincol );
add_guess( 'v', b.right() ); return;
}
}
}
From: "lode leroy" <address@hidden>
To: address@hidden
Subject: [Bug-ocrad] improving detection of "rv" instead of "N"
Date: Fri, 29 Jul 2005 15:43:45 +0200
This improves the discrimination between "N" and merged "rv".
-- lode