block_edges() has nothing to do with edge detection. Tesseract does not use it at all. It first binarizes entire images then extracts connected components (CCs). block_edges() is called to extract CCs' outlines from a binarized image.
Warm regards, Dmitri Silaev www.CustomOCR.com On Sat, Jun 23, 2012 at 10:43 AM, shahin youssefi <[email protected]> wrote: > Hello dear friends, > I wonder if anybody knows what edge detection algorithm does > tesseract 3.01 utilize when finding connected components? > More specifically in edgblob.cpp file there is a function called > "extract_edges" in which a function named "block_edges" is called > which is responsible to extract edges and find the outline of a block. > Correct me if I'm wrong but it seems that "block_edges" doesn't use > famous edge-detection methods like Canny, Sobel or Prewitt. > Thanks in advance. > > -- > You received this message because you are subscribed to the Google > Groups "tesseract-ocr" 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/tesseract-ocr?hl=en -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" 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/tesseract-ocr?hl=en

