Hi Lada,
Since you are already using opencv, it might be an option for extracting the region based on shape. Adrian Rosebrock has an example of shape detection with opencv here [1]. I put together a simple example [2] in python that extracts the biggest rectangle, which would be the area with the number in the sample.
art
---
1. http://www.pyimagesearch.com/2016/02/08/opencv-shape-detection/
--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
tesseract-oc...@googlegroups.com.
To post to this group, send email to
tesser...@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tesseract-ocr/a7b1369c-af13-470f-8ac0-5a2e09028f2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
aa_lregion-Binarized is what I 've got and the other one is what I need (cropped by hand).