QR Code Detector with Webcam (Python / OpenCV / Pyzbar)

This project is forked from zbar library, I added some modifications, so the webcam can be used as an image reader to detect QR and Barcodes.

code128_1

* Pure python
* Works with PIL / Pillow images, OpenCV / Numpy, Matplotlib and raw bytes
* Decodes locations of barcodes
* No dependencies, other than the zbar library itself
* Tested on Python 2.7, and Python 3.4 to 3.6

Here is a quick look at the final output:

Capture

You could download and clone the project from my Github:Webcam_QR_Detector.

There are two Jupyter-Notebooks will help you go through all the details:

  1. [Lab_01_QR_Bar_Code_Detector_Basic];
  2. [Lab_02_QR_Bar_Code_Detector_Webcam].

Encourage the Author to create more useful and interesting articles.

All the money will be donated to the Standford Rural Area Education Program (reap.fsi.stanford.edu).

A$2.00

-END-

Leave a comment