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.


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

  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).



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: