Live data from Hacker News

Hosted Microsoft OCR library: Free OCR API web service

blog.a9t9.com

1–10 of 31 posts

Re: Hosted Microsoft OCR library: Free OCR API web service

#4
I tried this API with a document I had lying around which contains a lot of text in different tables. The text is pretty clear but this API was not able to parse the text to the point it's usable.

To give an example, a part of the text read "the limit" and was parsed as as "he imit". This despite it being extremely clear / easy to read for a human.

Update: Took another picture and uploaded a JPG instead of the original PDF. It worked fine this time.

Re: Hosted Microsoft OCR library: Free OCR API web service

#5
Never used an OCR library before so gave it a challenge with the latest xkcd cartoon.

curl https://ocr.a9t9.com/api/Parse/Image --data "apikey=helloworld&url=http://imgs.xkcd.com/comics/bells_theorem.png" { "ParsedResults": [ { "FileParseExitCode": 1, "ParsedText": "T-as IS CALLED I THEOREM. IT LAS FIRST\u2014 t: 1 wostcop n, FASTER- FIRM-LIGHT com)MCBT10N IS E6SlBLE! EL's rta\u201eNDERSTRtDlNGS ELLS THEX\u00dcI I-IPPPEN VIOLATE LOCALITY", "ErrorMessage": "", "ErrorDetails": "" } ], "OCRExitCode": 1, "IsErroredOnProcessing": false, "ErrorMessage": null, "ErrorDetails": null }

Re: Hosted Microsoft OCR library: Free OCR API web service

#9
post #5

Never used an OCR library before so gave it a challenge with the latest xkcd cartoon. curl https://ocr.a9t9.com/api/Parse/Image --data "apikey=helloworld&url= http://imgs.xkcd.com/comics/bells_theorem.png" { "ParsedResults": [ { "FileParseExitCode": 1, "ParsedText": "T-as IS CALLED I THEOREM. IT LAS FIRST\u2014 t: 1 wostcop n, FASTER- FIRM-LIGHT com)MCBT10N IS E6SlBLE! EL's rta\u201eNDERSTRtDlNGS ELLS THEX\u00dcI I-I…

Doesn't look like it likes xkcd hand lettering or the font that approximates it. I had better luck with a this...

curl https://ocr.a9t9.com/api/Parse/Image --data "apikey=helloworld&url=http://www.uky.edu/Providers/ScannedText/page1s.jpeg" {"ParsedResults":[{"FileParseExitCode":1,"ParsedText":"In 1830 there were but twenty-three \r\nmiles of railroad in operation in the \r\nUnited States, and in that year Ken- \r\ntucky took the initial step in the work \r\nwest of fhe Alleghanies. An Act to \r\nincorporate the Lexington & Ohio \r\nRailway Company was approved by \r\nGov. Metcalf, Jarinary 27, 1830.. It \r\nprovided for the construction and reÔÇó \r\n","ErrorMessage":"","ErrorDetails":""}],"OCRExitCode":1,"IsErroredOnProcessing":false,"ErrorMessage":null,"ErrorDetails":null}

Re: Hosted Microsoft OCR library: Free OCR API web service

#10
post #7

Can anybody recommend any good open source OCR libraries that run under *nix?

Tesseract:

https://github.com/tesseract-ocr/tesseract

http://neilshroff.com/tesseract-ocr/doc/tesseracticdar2007.p...

https://ryanfb.github.io/etc/2014/11/13/command_line_ocr_on_...

Post reply on HN