Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

javascript OCR API [closed]

I'm looking for a JavaScript OCR API.

Something like: send a picture and an expected result type (e.g. numbers, object, text, mixed, etc) and receive the result as a string or JSON.

Does anyone know of such an API/Service which you can access easily via JavaScript?

EDIT: I forgot to say, the main use case would be just to recognize numbers (like floats and doubles) and prices (e.g. 0.02$).

I already found some "cloud-ocr APIs" like abbyy, but they are expensive ... 2 cents per request...

like image 922
Laokoon Avatar asked Nov 23 '12 12:11

Laokoon


2 Answers

I see this is an old post, but the topic is still open and there are some new players now. You could use the OCR API from HP Haven OnDemand. There are free developer accounts, you can try the API online with your own image, and they support JavaScript (amongst other languages) and provide output in JSON.

They also have a few tutorials for OCR with JavaScript that may be helpful to you.

  1. [javascript] Using OCR and Entity Extraction for LinkedIn Company Lookup
  2. [JavaScript] Extracting Contact Information from Business Cards

Hopefully this helps.

Regards,

Hughesthe1st
(I work for HP)

like image 188
Hughesthe1st Avatar answered Oct 14 '22 03:10

Hughesthe1st


Try Ocrad.js. Demos:

  • draw text
  • use the webcam
like image 40
Abinash Bishoyi Avatar answered Oct 14 '22 03:10

Abinash Bishoyi