Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where do I start for Text Pattern Recognition - Java Based

I am seriously considering doing a Optical Character Recognition program. I am well versed with Java and would love to know about libraries available out there. Basically, I want to convert something like the following to text. I will need to give manual interruption to specify a pattern. For example, I would need to ask user to mark f in this text, so that I know where f occurs.

enter image description here

I am a newbie to this entirely, so I dont mind learning from scratch as well. Need guidance.

like image 538
bragboy Avatar asked Mar 29 '26 16:03

bragboy


1 Answers

If you are thinking of coding an OCR program from scratch, reading up on techniques may be useful. I found an OCR Survey from 1996 which reviews some of the popular techniques from a decade and a half ago. Reading that might be helpful; track down papers it cites or papers which cite it.

Usually the process goes as follows:

find text
find characters in the text
extract features from the characters found
do pattern matching
report suspected character

While getting a user to annotate text is fun and exciting, finding a collection of handwriting which is already annotated might save you a lot of time, that way you can focus on the nuts and bolts of doing OCR rather than building your own database of annotated text.

To start with a slightly easier task you might want to consider building a system to detect handwritten digits. The USPS produced a corpus for developing systems to do this for zip code processing. The link was something I found with a quick search.

like image 105
Atreys Avatar answered Mar 31 '26 04:03

Atreys



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!