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...
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.
Hopefully this helps.
Regards,
Hughesthe1st
(I work for HP)
Try Ocrad.js. Demos:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With