[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ocrad] GNU Ocrad 0.25 released
From: |
Raffaele Sena |
Subject: |
Re: [Bug-ocrad] GNU Ocrad 0.25 released |
Date: |
Fri, 19 Feb 2016 10:29:59 -0800 |
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 <address@hidden> 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.
>