bug-ocrad
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ocrad] bad parameter building a Rectangle


From: Antonio Diaz Diaz
Subject: Re: [Bug-ocrad] bad parameter building a Rectangle
Date: Sun, 15 Aug 2010 15:40:02 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Tilman Hausherr wrote:
As a *temporary* workaround pending the real fix, I have tried a
"symptom" fix, because I prefer a less perfect ocr output than an abort
with no output at all. I added two code lines just before the rectangle
construction:

Your temporary workaround is OK.

I think I have found the source of invalid data at line 88 of character_r12.cc:
         only_guess( 0, b1.left() ); add_guess( 'f', b2.left() );
should be
         only_guess( 0, b1.left() ); add_guess( 'f', b2.left() - 1 );


But I am reworking the whole mechanism to split merged characters because I have also found it sometimes splits the wrong blob. I expect to release a corrected version in less than a week.


Regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]