Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Add books straight to your Google Library
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Craig  
View profile  
 More options Jul 29 2010, 8:17 am
From: Craig <craiglof...@gmail.com>
Date: Thu, 29 Jul 2010 05:17:20 -0700 (PDT)
Local: Thurs, Jul 29 2010 8:17 am
Subject: Add books straight to your Google Library
Taking inspiration from the old "6 lines" barcode scanner I've written
a pretty simple script to scan and add books straight to your Google
Library using the Google Book Search API exposed by the SL4A
gdata.books module.

http://craigloftus.net/blog/2010/07/29/google-books-android-script/

Its by no means pretty code, but it has made adding books pretty
efficient for me.

One word of warning... this may not work via your 3G connection as
some providers, e.g. Three, filter traffic in some way, perhaps by
user agent.

Cheers,
Craig


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sjb  
View profile  
 More options Jul 30 2010, 4:11 am
From: sjb <ott...@gmail.com>
Date: Fri, 30 Jul 2010 09:11:29 +0100
Local: Fri, Jul 30 2010 4:11 am
Subject: Re: Add books straight to your Google Library
Craig wrote on 29/07/10 13:17:

> Its by no means pretty code, but it has made adding books pretty
> efficient for me.

Nice!

I just scanned a random selection of books from my desk ..

http://books.google.com/books?uid=10072237719234546165

.. and it worked great (until I exited the scanner without scanning a
book ;-)

sjb


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Craig Loftus  
View profile  
 More options Jul 30 2010, 7:08 am
From: Craig Loftus <craiglof...@googlemail.com>
Date: Fri, 30 Jul 2010 12:08:24 +0100
Local: Fri, Jul 30 2010 7:08 am
Subject: Re: Add books straight to your Google Library

> .. and it worked great (until I exited the scanner without scanning a book

It is doesn't really have any modern conveniences like error
handling... although I have updated the code  in the blog post to fix
the error you report.

I also have yet to come across a book that it fails to scan, so who
knows what it will do then!

Craig

On 30 July 2010 09:11, sjb <ott...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sjb  
View profile  
 More options Jul 30 2010, 8:37 am
From: sjb <ott...@gmail.com>
Date: Fri, 30 Jul 2010 13:37:22 +0100
Local: Fri, Jul 30 2010 8:37 am
Subject: Re: Add books straight to your Google Library
Craig Loftus wrote on 30/07/10 12:08:

> I also have yet to come across a book that it fails to scan, so who
> knows what it will do then!

That's what beta testers are for ;-)

Coincidentally, the app that I wrote to talk to Google docs is now
working, as opposed to returning the 302 response I was getting
previously. I didn't change anything at my end, so maybe Google was
having some problems previously.

Anyhoo, using Google docs as an online OCR works fairly well, with this
deliberately mediocre original ..

http://www.ottaky.com/IMAG0056.jpg

.. exported as this PDF ..

http://www.ottaky.com/pdf_out.pdf

I think it's possible to export as a plain text file, so it may be
possible to knock up a halfway decent photo -> text OCR in a few lines
of code.

That'll give me something to do this afternoon(!)

sjb


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sjb  
View profile  
 More options Jul 30 2010, 9:04 am
From: sjb <ott...@gmail.com>
Date: Fri, 30 Jul 2010 14:04:35 +0100
Local: Fri, Jul 30 2010 9:04 am
Subject: Re: Add books straight to your Google Library
sjb wrote on 30/07/10 13:37:

> That'll give me something to do this afternoon(!)

Turns out that cameraInteractiveCapturePicture() will only take photos
at a resolution of 640x384 with no way to increase the resolution in the
camera settings.

Boo!

sjb


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sjb  
View profile  
 More options Jul 30 2010, 11:22 am
From: sjb <ott...@gmail.com>
Date: Fri, 30 Jul 2010 16:22:32 +0100
Local: Fri, Jul 30 2010 11:22 am
Subject: Re: Add books straight to your Google Library
sjb wrote on 30/07/10 14:04:

> Turns out that cameraInteractiveCapturePicture() will only take photos
> at a resolution of 640x384 with no way to increase the resolution in the
> camera settings.

Also, gdata.docs.service.SUPPORTED_FILETYPES doesn't include JPE?G. It
does accept PNG, but converting JPEGs to PNGs is a can of worms I don't
want to open.

So, let's assume that you've taken a high resolution photo of some text
and uploaded it to Google Docs. Providing Google was able to OCR it, you
can now run this ..

http://groups.google.com/group/android-scripting/web/sl4a_gdocs.py

.. choose the image you uploaded and, if you're very lucky, get the text
back.

Should also work for other document types.

sjb


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jay curry  
View profile  
 More options Aug 1 2010, 11:06 am
From: jay curry <rusty0...@gmail.com>
Date: Sun, 1 Aug 2010 10:06:51 -0500
Local: Sun, Aug 1 2010 11:06 am
Subject: Re: Add books straight to your Google Library

For those people not really interested in typing it in, I've created a
qrcode block for the program as you've posted it on your blog which you can
find at http://www.beresourceful.net/~rusty/images/bookscan.png

Presumptions: you have ASE with the Python interpreter installed, or SL4A
once that is released. Barcode Scanner is installed as well.

Instructions for people using ASE, Open ASE, Menu, Add, From Barcode, scan
in the image.

You should now have the program in your list of apps as 'bookscan.py'. Edit
this app and change the email and password as appropriate, Save and start
using.

-Rusty

On Fri, Jul 30, 2010 at 6:08 AM, Craig Loftus <craiglof...@googlemail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »