Zebraimg

A while back I set up an account with Shelfari. Stuck without a barcode scanner, I came up with an alternative method of importing the ISBN numbers…

Take a photo of each book spine (with barcode) with the pocket digital camera, and stick them on the computer. With the magic of Zebraimg and Bash, it spits out a list of ISBN numbers ripe for importing in Shelfari.

echo ISBN > /tmp/isbn.txt && zebraimg -q *.JPG  | grep -i ean-13 | sed -e s/EAN-13:// | uniq | sed -e s/^/[/ | sed -e s/$/]/  >> /tmp/isbn.txt