Fi there!
Thanks for the time you spent on answering these questions.Actually what i 
tried to succeed was to create executables on windows platform.The programming 
environment i am using is Borland C++ builder 6.The thing is that i manages to 
include everything that was necessary for the deskew procedure to 
build(although i had lots of warnings.I can include the text result of the 
warnings if you are interested).The executable correctly works on the 
test_bin.ong file.On the test_gray.png file i see in the command prompt that 
sauvola technique starts working.Also, on the debugging procedure i went inside 
the conneceted component labelling thing!But as i moved on i noticed that this 
search function never ends.Actually the value of iter now (i am debugging it 
the same time i write this message) is 1996685 (almost 2million iteration 
without breaking!). Do you think that the code is correct and the problem is in 
the windows staff i use?I know that ocropus is still working only in unix 
systems.But i would like to inform you that the executables i managed to create 
for the binarization (2 executables,for the otsu technique and for the sauvola 
technique work fine!!).
It would be interesting to inform me in which number of iteration (in the 
CTextlineRASTBasic::search function) the for loop stops!!
I am really temptaded to finally make it!
Another thing is the lack of documentation for the class methods and the class 
hierarchy!Do you plan on including documentation in the next version of ocropus?
Thanks for your time!
Giorgos Louloudis 



Date: Fri, 12 Sep 2008 16:29:20 +0200From: [EMAIL PROTECTED]: [EMAIL 
PROTECTED]: Re: problem in search function of ocr-ctextline-rast.cc
Hi,The image works fine for me (although it takes about 25 secs to compute - 2 
GHz AMD 64-bit machine with 2GB RAM). How long does it take for you? Is the 
memory consumed by the program growing with time (it is a good sign)? Does it 
run out of memory?The search function tries to find the highest quality 
(longest) text-line in the page. The skew angle of that line is used as the 
skew estimate of the page. The reason for this being slow for this particular 
image is the presence of half-tone style noise. To better handle this type of 
images, you need text/image segmentation.Cheers,Faisal
2008/9/11 Giorgos Louloudis <[EMAIL PROTECTED]>

I only created a c++ console application making use of the 
main-ocr-deskew-rast.I managed to create a project in order ot be able to 
deskew png images.in the folder there exist two png images test-bin.png and 
test-gray.png. for the first one everything works fine.For the second one it 
seems that the program stays inside the for loop of the function i described 
you.I discovered that after thorough debugging!Are you sure that this search 
functions works well?and what is the meaning of that function?Thanks for your 
time Thomas!I think we have met at ICDAR2007 in CurutibaGiorgos Louloudis

Date: Thu, 11 Sep 2008 10:49:47 -0700From: [EMAIL PROTECTED]: [EMAIL 
PROTECTED]: Re: problem in search function of ocr-ctextline-rast.cc 



Please submit an issue to the issue tracker, with the input image and a small 
code snippet (preferably in Lua, but C++ will do).Cheers,Thomas
On Thu, Sep 11, 2008 at 05:49, Italian Dream <[EMAIL PROTECTED]> wrote:
Hello everyone!This is my first post!Well i am trying to create aconsole 
application using c++ builder making use of the deskew folderfiles.I created 
the project,corrected some things in order to be ableto build it.The problem is 
that although i managed to create an outputimage for the binary example, this 
is not the case for the grayscaleone.As i started debugging your code i noticed 
that the for loop thatstarts at line 217 (function CTextlineRASTBasic::search() 
) neverstops!!!! I am not able to figure out what you try to search in orderto 
do anything inside this function.Hope that you notice anything andinform me 
please!!Thank you for your time!Giorgos LouloudisUniversity of 
AthensGreece_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ocropus" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ocropus?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to