QRcodesHowTo.com – QR Code Examples & Tips

QR code webcam to Excel or Google Spreadsheet (ZBar)

How to scan a QR-code from webcam to Excel or Google spreadsheet in real-time. Also, how to scan a regular barcode from webcam to Excel or Google spreadsheet in real-time.

 

QR code webcam to Excel or Google Spreadsheet


wpid1166-media_1331482495007.png

 

(Note: The ZBarSpreadsheet software in this post is free. In another article I wrote about QuickMark which is a different program that works with Excel but not with Google Spreadsheet.)

UPC barcodes appear on grocery store items and retail packaging. Code39 barcodes are the type that appear on UPS and Fedex shipping labels and on boxes for inventory control. Two-dimensional codes, the kind with "dots" such as the QR-code, are most often used to transfer information from the QR code to a smartphone, tablet or some other mobile device. However, when you use this webcam program to scan either a barcode or a QR-code the data is typed into Microsoft Excel or a Google spreadsheet (or other program) in real-time.

Why you might want to use a QR code for data capture:

  • A webcam can more easily read a QR code than a barcode: QR codes are designed to be quickly and easily read by cameras and webcams at any angle or rotation. Regular barcodes can be read by cameras, but they have to be positioned just right with the barcode positioned almost perfectly horizontal.
  • QR codes have built in error correction, barcodes don’t: When a standard barcode is unreadable, well, it’s simply unreadable. A QR-code has built in error correction that allows it to be accurately read even if it is partially defaced.
  • You don’t have adequate space for a (variable width) barcode, but you have space for a (fixed size) QR-code: Standard barcodes grow wider for each additional character in the barcode, but a single QR code can stay fixed in size even if the number of characters vary.
  • A QR code can store more data than a barcode: Standard Code 39 barcodes grow wider for each encoded character and have typical limit of 25 characters. A single QR code can contain thousands of characters but stays square and fixed in size.
  • Data Calculations: The scanned data appears in the spreadsheet in real -time so that you can perform calculations on the scanned data, if necessary.
 

ZBar Installation

ZBar is an "open source" (FREE) program for reading bar codes from webcams, video streams, and image files. ZBar reads the most popular types of bar codes including the QR codes, UPC codes and Code 39 bar codes. ZBar is small, fast and takes little memory.

ZBarSpreadsheet is a small program that works with ZBar to automatically type, in real-time, any scanned data into a spreadsheet or other program. ZBar Spreadsheet terminates each scan with a "down arrow" keystroke to advance to the next row of the spreadsheet.

First, download and install ZBar bar code reader from this direct link

Then, download ZBarSpreadsheet ZIP file from this direct link and follow the steps below:

  1. Press [Ctrl+J] in your browser to display downloaded files.
  2. Click on the ZbarSpreadsheet.ZIP file to display the contents.
  3. When the contents are displayed, locate and click the "Extract all files" link
  4. Browse to the folder containing the ZBar files, usually it is "C:\Program Files (x85)\ZBar"
  5. Click the [Extract] button

wpid1167-ZBar_Installation.png

 

ZBar and ZBarSpreadsheet work from a Command Window (CMD).

  1. Click the Windows button and from the list of Windows programs, select "ZBar Command Prompt"
  2. When the Prompt appears, type "zbarSS" to start the zbarSpreadsheet program
  3. A ZBarSpreadsheet dialog will appear with instructions.
  4. Wait for the ZBar and ZBarSpreadsheet programs to load. Thris could take 40 seconds or so. The status appears in the lower right corner of the screen.

wpid1164-media_1331478109277.png

 

QR code to Excel or Google Spreadsheet – How To

  1. When the ZCam software is finished loading, a live video screen will be displayed.
  2. ZBarSpreadsheet will prompt you to click on the first row of the spreadsheet to be populated, then click OK in the dialog box to dismiss it.
  3. After following the instructions, each bar code or QR code you hold up to your webcam will be automatically entered into an Excel or Google Spreadsheet

wpid1165-Running_ZBarSpreadsheet.png

 

2 Responses to "QR code webcam to Excel or Google Spreadsheet (ZBar)"

good

Wow!! Thanks for this super tutorial. I downloaded and set it up in less than 5 minutes. And it works super!!! It even scans the QR codes pretty fast as well.
Thank you :)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Free QR Code Generator QR Code Help

Written by