Thanks Antonio! It turns out most of the cases where numbers with underscore weren't picked up was because of the options I was using (I was trying out the --layout option, that seems to help in some cases but would break this particular case.
And I'll try the custom filter. -- Raffaele On Fri, Feb 19, 2016 at 7:55 AM, Antonio Diaz Diaz <[email protected]> wrote: > Hi Raffaele, > > Raffaele Sena wrote: > >> I am using ocrad 0.25 and I found that it doesn't recognize underlined >> characters / digits. Do you have any suggestion on how to get it to work ? >> > > If the underline touches the characters, then ocrad can't recognize them. > Sorry. > > > Also, how do I write a filter that only generates letters or number ? I can >> use upper_num, but then it doesn't outputs lowercase letters. >> > > This is easy. Just write a filter file[1] consisting just of the following > line: > [0-9A-Za-z] > > You may add other lines with a conversion for each character you want > recognized: > '(' = 'C' > > And that is all. > > [1] http://www.gnu.org/software/ocrad/manual/ocrad_manual.html#Filters > > > Best regards, > Antonio. > _______________________________________________ Bug-ocrad mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-ocrad
