Extracting content from specific areas such as Account Number or Cheque Number from a Cheque

251 views
Skip to first unread message

Karthick S

unread,
Mar 6, 2014, 3:36:26 AM3/6/14
to tesser...@googlegroups.com
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?

Sven Pedersen

unread,
Mar 6, 2014, 9:54:21 AM3/6/14
to tesser...@googlegroups.com
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


On Thursday, March 6, 2014, Karthick S <skart...@gmail.com> wrote:
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?

--
--
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to tesser...@googlegroups.com
To unsubscribe from this group, send email to
tesseract-oc...@googlegroups.com
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 unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


--
``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.”

Kiran Patil

unread,
Aug 14, 2017, 7:49:05 AM8/14/17
to tesseract-ocr
Dear Karthick,

Did you resolve your issue to get the Account number, Check number and so on ?

May I know the steps you took ?

If you used any other solution, please let me know.

Regards,
Kiran.

Isaias Barroso

unread,
Aug 14, 2017, 8:21:04 AM8/14/17
to tesseract-ocr
Hi.

You will need some processing with a library like OpenCV, see that great post from PyImageSearch


In my experience, that type of task always needs a good pre processing before tesseract.


Best regards

sjsin...@gmail.com

unread,
Mar 22, 2019, 6:31:38 PM3/22/19
to tesseract-ocr
i am also developing this kind of app would you please share your experience with me as i am new to tesseract
any help is appreciated
Reply all
Reply to author
Forward
0 new messages