1 / 16

Barcodes, MMS, and the Internet’s Cheapest Prices

Create a cell phone based system to compare prices by receiving and decoding barcodes from images, and finding the best price online to respond to the user with product information. This project aims to automate price comparison using barcodes.

leeannr
Download Presentation

Barcodes, MMS, and the Internet’s Cheapest Prices

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Barcodes, MMS, and the Internet’s Cheapest Prices Greg McGrath & Greg Maier Advisors: Professor Cotter, Professor Rudko ECE-499 March 01, 2008

  2. Afraid of Getting Screwed? http://www.sgilpin.com/screwed.jpg

  3. Project Goals Create a cell phone based system to compare prices by doing the following: • Receive image from email • Locate automatically the barcode in image • Decode the barcode • Find best price online • Respond to user with product information

  4. Barcode Standards • 30 Black Bars • 29 White Space • Each digit has unique 7-bit binary code • Guard bars http://en.wikipedia.org/wiki/Universal_Product_Code

  5. Barcode Location Algorithm • Divide image into 8x8 blocks • Take DCT of those blocks • Compare each DCT block to average DCT block • Find regions with a high sum, which implies a higher probability that the barcode is in that 8x8 region

  6. Barcode Location Algorithm Cont. • Threshold the image to remove low-value areas • Convert remaining pixels to black and white • Perform morphological operators to smooth barcode region

  7. Crop image to most relevant area Locate middle “guard bar” lines of barcode Find left and right edges of barcode Barcode Location Algorithm Cont.

  8. Decode and Read Barcode • Find thickness of each black bar and white space in terms of pixels • Repeat a number of times to minimize error • Find mean each row scan • Read left “guard bar” to indicate thickness of “one binary digit” • Divide by pixel width by “one binary digit” to convert to binary form • Convert from binary to UPC using standard table

  9. Automate price comparison • The UPC number is passed from MATLAB to Python • Python opens http://www.google.com/products? q=PRODUCT&btnG=Search+Products&show=dd&scoring=p • “Reads” HTML file to find price tags • Saves lowest price (first item in list)

  10. Connect with the consumer MMS email

  11. Results and Performance • 85% success rate • Common source of error: 7-digit binary representation for each digit is slightly off

  12. Problems Cell Phone Camera Lack of user-determined focus Blurring Distortion

  13. Cell Phone Camera

  14. Digital Camera

  15. Future Work • Be able to send system the UPC directly • Improve algorithm to work in more situations • Allow the user to access more data about the product • Average of the lowest five prices • Name of the product • Consumer Reports • Recalls • Improve error detection • UPC Recognition • Utilize error checking bit more effectively

  16. Questions

More Related