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.
* 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:
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:

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-