|
From: | Antonio Diaz Diaz |
Subject: | [Bug-ocrad] Re: A bug discovered in Bitmap::analyse_layout |
Date: | Fri, 02 Sep 2005 17:29:16 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.3) Gecko/20040913 |
Georgi Demirchev wrote:
Your application is great.
Thank you. :)
In function: int Bitmap::analyse_layout( std::vector< Rectangle > & rv, const int layout_level ) const throw()
...
---to be removed if( rv.size() > 1 ) to be removed---
...
The above if( rv.size() > 1 ) check causes the algoritm to behave improperly when there is only 1 block in the page.
Yes, it is a bug. It will be fixed in the next version of ocrad (0.13). Thanks.
Regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |