[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ocrad] GNU Ocrad 0.25 released
From: |
Antonio Diaz Diaz |
Subject: |
Re: [Bug-ocrad] GNU Ocrad 0.25 released |
Date: |
Fri, 19 Feb 2016 16:55:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.8.1.4) Gecko/20070601 SeaMonkey/1.1.2 |
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.