News for hackers. Stuff that matters.
Re:OCR by uploading images to Google Docs by anty on Friday November 26, 2010 @11:28AM (#1942654)
In case anyone wonders: I tried if Google could solve its own captchas. It can, if each character is separated, but once they overlap, like they usually do, it doesn't work.
Re:OCR by uploading images to Google Docs by nodata on Friday November 26, 2010 @07:57AM (#1942280)
Does anyone know if this uses Google's open source tesseract-ocr software?
Re:OCR by uploading images to Google Docs by l0nwlf on Friday November 26, 2010 @12:36PM (#1942800)
I was unable to find any reference regarding this. Personally gocr worked better for me than tessearct/pytesseract. Google docs inbuilt OCR gives pretty satisfactory results too.
Re:OCR by uploading images to Google Docs by CWuestefeld on Friday November 26, 2010 @09:29AM (#1942436)
I find it tremendously frustrating that so many people are creating this problem for themselves.

Anything that needs to be data should be data, not images. Except for some very specific cases, you're not doing anybody any favors by outputting PDF. That format is a data black hole. It allows you to transmit very well-formatted output, but it absolutely stops you from reliably using anything in that content.

I beg you all: if it's anything that contains data, or really, if it's anything for which layout and formatting is not absolutely critical, please don't use PDF. Send data as data.

Re:OCR by uploading images to Google Docs by slouch on Friday November 26, 2010 @10:06AM (#1942498)
99% of the time I want to OCR a document or image I am not the creator of said item.
Re:OCR by uploading images to Google Docs by CWuestefeld on Friday November 26, 2010 @11:12AM (#1942627)
Obviously. But if we could make everyone understand, then we'd be covered.

Every few months here, we get a customer asking why we can't automatically handle purchase orders that they send us in PDF format, and every time they get the same explanation.

Re:OCR by uploading images to Google Docs by nostrademons on Friday November 26, 2010 @03:54PM (#1943272)
If we could make everyone understand, we wouldn't need computer programmers. We could just have computers talk to each other, and all their formats would be magically compatible, and the vast body of data conversion code wouldn't exist.

The problem is that computers are made for humans, and humans are often wantonly illogical. You're not going to change this, short of Skynet and the rise of the machines. So it makes sense to put up with a fair amount of coding pain to make things easier for your users. It's lucrative, at least.

Think of it as a full-employment theorem for data-miners.

Re:OCR by uploading images to Google Docs by haribilalic on Friday November 26, 2010 @05:02PM (#1943469)
I scan in all my documents as PDFs. The text, including tables, gets scanned in as text. I can copy from the document and paste it anywhere else. Spotlight and Google can index the PDFs.

The only thing I can't do easily is edit the documents, but I don't need to do that with scanned documents (e.g. tax statements).

Re:OCR by uploading images to Google Docs by alecco on Friday November 26, 2010 @09:50AM (#1942464)
It's not that easy. What about fonts?
Re:OCR by uploading images to Google Docs by CWuestefeld on Friday November 26, 2010 @11:13AM (#1942630)
Do you care about the data, or do you care about the fonts? These don't usually coincide.
Re:OCR by uploading images to Google Docs by khandelwal on Friday November 26, 2010 @12:18PM (#1942759)
Layout often also conveys information, and makes documents easier to read. Fonts are part of that layout information, but so is spacing.
Re:OCR by uploading images to Google Docs by ylem on Saturday November 27, 2010 @10:51AM (#1945142)
Has anyone checked to see if this works with Japanese, Korean, or Chinese? What about Arabic or Hindi? This would shed some light on whether it's likely to be tesseract or ocrpus....
Re:OCR by uploading images to Google Docs by joakin on Friday November 26, 2010 @08:19AM (#1942312)
Wow I just tested with an image, and you get a GDoc with the image on top and the OCRed text in the bottom.

Pretty cool.

I wonder what are they using for Google Goggles and this

Re:OCR by uploading images to Google Docs by Estragon on Friday November 26, 2010 @10:30AM (#1942557)
Incidentally, I noticed that if you try to use tesseract on an image taken from a Google Books page, you get terrible OCR accuracy. Anyone know why that is?
Re:OCR by uploading images to Google Docs by zzleeper on Friday November 26, 2010 @11:18AM (#1942638)
I recall that on some google-scanned books, there was some metadata from abbyy finereader. So that may be why.

Also, tesseract often needs to be configured.

Re:OCR by uploading images to Google Docs by Tichy on Friday November 26, 2010 @09:34AM (#1942443)
Is there an API by any chance?
Re:OCR by uploading images to Google Docs by mseebach on Friday November 26, 2010 @09:53AM (#1942472)
I suppose this will work: http://code.google.com/apis/documents/

You can both upload and specify format when downloading. I guess that includes the OCR applied if necessary.

Re:OCR by uploading images to Google Docs by mikecane on Friday November 26, 2010 @12:18PM (#1942760)
G1ver whar OCR locks lice in g00gLe ePubs in g0og1e Buuks, th1s w111 du we11.
Re:OCR by uploading images to Google Docs by trezor on Friday November 26, 2010 @09:36AM (#1942448)
Trying to improve some scanned forms I have, I got an average of 5 characters per page recognized. Also form formatting recognized as "1 1 1 1 1 1 1 1 1 1 1 1 1".

I may not rely entirely on google docs for my OCR needs in future ;)

Re:OCR by uploading images to Google Docs by andybak on Friday November 26, 2010 @12:34PM (#1942792)
Can you upload your document or part of it somewhere where others can take a look?

I find it hard to believe Google would release this if it was that useless (no jokes about Buzz or Wave, please).

Re:OCR by uploading images to Google Docs by rorrr on Friday November 26, 2010 @05:30PM (#1943534)
I wonder what's stronger - google OCR or google captcha?