GSoC 2009/Barcode scanner

Barcode Project

The way I see it, there are 3 areas in which work could be done, or all 3 or combinations thereof could be combined. These are:


 * 1) Barcode decoding
 * 2) writing new algorithms to decode barcodes for which there is existing code
 * 3) improving the speed of existing code
 * 4) supporting new barcode types
 * 5) writing wrapper/glue code to present a unified API to the user
 * 6) adding quick “identifier” functions, which can be used to select which barcode type is being scanned (this is useful if the main decoders are somewhat slow and therefore you don’t want or have the time to run each one back-to-back on the same image data)
 * 7) Obtaining information about a decoded barcode. I’m thinking mainly of 1D codes here, and therefore using the EAN/UPC/ISBN data. 2D codes also have lots of uses and someone might want to try to obtain data for these after they are decoded.
 * 8) Parsing e.g. Amazon (though I envisage having parsers for lots of different providers) to obtain
 * 9) Description (and other general info about the product)
 * 10) Price
 * 11) Images/thumbnails
 * 12) Track listing (in the case of CDs)
 * 13) Reviews
 * 14) Once we know what the product is, there is the option to search other providers to see where said product is cheapest, which provider is the closest (i.e. using integration with on-device location services), etc.
 * 15) Presenting and storing the above information so it is useful for the user. I have started doing some work on this last bit (see the simon_wip branch of maemo-barcode), but my code is very basic at the moment, and certainly needs lots more work if someone wants to work on this part (or even wants to replace it). I envisage something along these lines:
 * 16) GUI interface to scan barcodes (i.e. image/live-view window to see what you’re pointing at)
 * 17) Display of information about a scanned barcode (i.e. barcode/isbn + online look-up info if a web connection is available, or ask if the user wants to connect to look-up the product). If the barcode is 2D and contains a URL then spawn the browser, if it just contains text then display the text, etc.
 * 18) Database functionality in which to store multiple arbitrary tables containing the above information about each product (and probably a thumbnail too). E.g:
 * 19) CDs, DVDs, Books, etc. I own
 * 20) CDs, DVDs, Books, I’d like to get (i.e. a wishlist)
 * 21) Things I’ve leant to someone (saying when and who)
 * 22) Shopping list
 * 23) Etc. (multiple tables, so the choice is up to the user)