Page 1 of 1

Google Cloud Vision

Posted: 19 Feb 2016, 21:19
by JZL003
Google just released an interesting API called Google Cloud Vision:https://cloud.google.com/vision/. It has some really crazy image analysis but it also offers OCR.

FYI, I have not used it but, they offer 1,000 `units`/images per month for free and then $2.5 per thousand after that. I know running your own software is free but, it possibly could be faster and it's still pretty cost effective. However, the benefit I see is that, while it would lose page formatting/images (which is a non trivial loss), it seems very accurate and would probably not degrade with even extreme lighting issues or perspective warping.

I just thought it was an interesting piece of (basically) free tech

Re: Google Cloud Vision

Posted: 08 Mar 2016, 10:31
by spamsickle
I'm not sure how you conclude that it "seems very accurate" if you haven't tried it, unless that's an assumption based on Google's reputation.

I tried it on one typical image from a recent book scan, and it dropped a lot of the text altogether. While the image was not enhanced for contrast, and was a few times larger than the "500K or less" which Google recommends for image size, I didn't consider the result complete enough to be useful.

On the plus side, it did handle the mixed French and English on the same page acceptably well, and the text it did recognize was accurate. The dropped text was puzzling -- it would recognize the beginning of the line, and the end, but would often replace large sections of the middle with a newline (\n). While my eyes don't see anything different about the text that is being skipped, I hypothesize that the results might be improved by some kind of preliminary image processing -- contrast stretching or even binarization, perhaps.

In any case, thanks for the tip. I hadn't used Google cloud services at all before, and now I have a $300 credit which I either have to use within a month or lose. I hope I can find time to use it, somehow.

It will be interesting to see how other online OCR-as-a-service providers compare.