Hello:
Thanks for your rapid reply. does the input for tesseract which is a
line_image  is binary or a gray scale ?how can i chek that ? My
problem is with image which have colored background and text writen in
white.in this case after binarization ,lines are not detected so I
have modified this  function
 for(int x=0; x<image_width; x++){
                for(int y=0; y<image_height; y++){
                     if (gray_image(x,y) < threshold) /////// '< '
replaced by  ' >'
                        bin_image(x,y) = MAXVAL-1;
                    else
                        bin_image(x,y) = 0;
                }
            }
After that ocropus detect lines writen in white but the output at the
end was Illegible.I think that the problem is with the recognizer
(tesseract) thats why i want to know th input of the recognizer !!!
I m sorry for my english i hope that you undrestand my problem and
that you can help me !






--~--~---------~--~----~------------~-------~--~----~
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