[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ocrad] bad parameter building a Rectangle
From: |
Tilman Hausherr |
Subject: |
Re: [Bug-ocrad] bad parameter building a Rectangle |
Date: |
Thu, 12 Aug 2010 18:49:36 +0200 |
Update:
I was able to create a test image by using the "explosion" effect of the
irfanview imaging software and creating these "garbage" images in a loop
for thousands of times until OCRAD couldn't handle one of them. I can
send you this image if needed.
Tilman
On Thu, 12 Aug 2010 17:59:52 +0200, Antonio Diaz Diaz wrote:
>Tilman Hausherr wrote:
>> bad parameter building a Rectangle
>> l = 742, t = 691, r = 741, b = 706
>>
>> In Textline::recognize2(), in the segment
>> // separate merged characters recognized by recognize1
>
>Not in vain this segment has the comment "// FIXME this block sucks". :-)
>
>It will likely take me some time to fix this because the values
> c.gv[0] code 0, value 738
> c.gv[1] code 102, value 741
> c.gv[2] code 105, value 741
>are incorrect input for this loop.
>
>> I can't send you the image, sadly, because as soon as I remove anything
>> meaningful, the error no longer happens. But I can offer you more trace
>> output if needed.
>
>Thanks, I'll tell you if I need it.
>
>Textline::recognize2() tries to process the "remaining" characters with
>some defect, so it is probably the buggiest part of ocrad.
>
>
>Best regards,
>Antonio.