2008-07-29

Online OCR

I was thinking recently how to speed up in an intelligent way the creation of image maps with my online utility. Often users try to map images like this:

The user will select "Home" and try to map it, giving it an url, adding an alt attribute. Now what if we could prefill the alt attribute with the text "Home"? Optical character recognition (OCR) in javascript? Wow, that would rock!
Well, technically we can access pixel data with the advent of the canvas element, but since OCR is a processor heavy operation, as i see today (better to say as Google sees it), noone wasted the time to write a javascript based OCR yet. :)
Now what if we use some server-backed online service?
Technically speaking again, it is possible to crop one part of the image, get the image data, post it to the online OCR, and parse the result. Unfortunately these online services didnt produce too good results with the test image above. I know, it is noisy jpg and too small, but still, it is a real life example.

Anyway, here comes the list of online OCR services that i found, in order from best to worst, result of the process in brackets:

4 comments:

Anonymous said...

I suggest you to try online service http://www.onlineocr.net

Service recognized my scanned images very accuracy and converted text to PDF and DOC

AdeleB said...
This comment has been removed by the author.
AdeleB said...
This comment has been removed by the author.
Anonymous said...

This .net ocr library source is a nice share. My project is in c#, c# ocr examples are provided.