You need to slice the image. Check the dimensions of the image, then choose regions to send to Tesseract. Then use pattern matching, such as regular expressions, to choose which text you want. Bank and personal checks follow a very regular pattern, so it is not very hard.
Sven
Hi, I am looking at building an app on Android which can take a picture of a bank check and then pull out account number as well as the check number from it. I do not want all text in the scanned image to be OCRed (which seems to be happening with many apps doing this). The same goes with a Driving License - I would like to pull the DL Number and the name of the person holding the license from the scanned image of a DL. Can anyone help on this?
--
``All that is gold does not glitter,
not all those who wander are lost;
the old that is strong does not wither,
deep roots are not reached by the frost.
From the ashes a fire shall be woken,
a light from the shadows shall spring;
renewed shall be blade that was broken,
the crownless again shall be king.”