Detect qr code in image python 

for various applications aimed at mobile-phone users. detectAndDecode — Both detect and decode QR code. QR Codes With Inverted Color. Actually, it’s a big hack! The encoder is based on Fukuchi Kentaro's libqrencode, with a small python hack from Stefano Pedemonte's PyQrCodec. names, qrcode-yolov3-tiny. You’ll be using the Python’s imageai library to detect objects using the YOLO object detector. 74 MB. If he finds a pixel with the color we need, then he marks that same pixel on the second image as black. This API is part of the new capabilities project. My goal was to detect from a saved image in phone gallery. QR codes, like AruCo markers, are another type of specifically designed object, used to store information and describe 3D space. In this tutorial, we’re not going to do any additional training on top of the out-of-the-box object detection model. jpg image in 2D matrix of bits form as BitMatrix object. The python script in this case uses edge detection , finds the contours in the edge map, and then loops over the contours found applying the calculated pixel density to physical size measurement to calculate the aiocv Is A Python Library Used To Track Hands, Track Pose, Detect Face, Detect Contours (Shapes), Detect Cars, Detect Number Plate, Detect Smile, Detect Eyes, Control Volume Using Gesture, Read QR Codes And Create Face Mesh On Image/Video. About Decode Code Qr . Then type Rekognition in the search bar and select Rekognition to open the service console. decode — Decodes QR code in the image once it’s found by the detect() method. In this tutorial, you will learn how you can detect shapes (mainly lines and circles) in images using Hough Transform technique in Python using OpenCV library. com. This installs the numpy python package which is used for working with arrays. Aug 08, 2021 · Generating a QR code with this qrcode library can be easily done with 1 line of code: img = qrcode. While some of that seems like 1440p60, here is a full breakdown of how that command works: In this tutorial we will learn how to detect and decode a QR Code on an image, using Python and OpenCV. Oct 27, 2021 · After properly configuring Zbar and OpenCV, I will show how to use them to scan the barcode and QR code on an image. Figure 2. The tutorial is divided into two parts. h" bool qrReader::find(Mat img) {. Aruco Marker QR Code . In this tutorial we will develop a machine learning project - Real-time Face Mask Detector with Python. Detecting and locating barcodes in images of complex background is an essential yet challenging step in the process of automatic barcode reading. I've used IDLE, a Python IDE. The barcode is widely used in logistics, identification, and other applications. 0 or later. Correctly decoded ones are highlighted in green and failures in red. There is a Python package called "qrcode" that lets users quickly encode data inside of a QR code and then export it as an image. QR codes are everywhere these days, but how are they made? You can create your own QR code in Python and even decode QR codes. rotate(270) filename = "AudiRotated2. This first release is the 1. The code is: May 01, 2021 · Aruco Marker vs QR Code. Compared with traditional barcodes, it can store more information. Let's put our Python AprilTag detector to the test! Make sure you use the "Downloads" section of this tutorial to download the source code and example image. Python Program to detect motion and activating the alarm system using Raspberry Pi. findContours () function. Introduction · People · Discuss; ARTag-Detection Jul 31, 2021 · How to generate QR code using python July 31, 2021 Add Comment To generate QR code using python first install the below mentioned libraries 1) pyqrcode pip install pyqrcode 2) png pip install pypng Af A graphical interface for creating and reading QR codes. png containing string data text for qrcode is generated. From that point on, the demasked QR code is then traversed. Read and Decode. It is also playing an important role in real-time operation. Colorful QR Codes. 3, pp and then run the following Python script to save 20 QR code images in the blink of an eye: #!/usr/bin/env python3 import pyboof as pb import numpy as np Recognize QR Codes in images from scratch. qr_date: the content of the QR code being detected. Can only detect a single QR Code in an image. It consists of black squares arranged in a square grid on a white background. Draw(image) for barcode in decode(image): rect = barcode. image = Image. This 2022 Barcode and QR Code Reader OpenCV Python was created with Python OpenCV, and in this post, I’ll teach you how to use Python to create a barcode and QR code reader. The only plugins I wrote in C: Video Source for Intel Realsense Camera (in 2016), QR-Code detection for Robot platform (in 2019). Generating QR Code using Python. 37% qrcode qrcode-decoder qrcode-detector homography image-projections virtual-reality opencv python. decode("QR_Code. Introduction · People · Discuss; ARTag-Detection Sep 13, 2021 · QR code encoder / decoder Python Project. We run a python script which takes in the image name and the size of the left most object (a 1inch by inch qr code in the image) . . We will do object detection in this article using something known as haar cascades . Execute the next command. Ability to scan image and video file; Ability to show live Qr-Code from webcam; Show data text of qr codes LIVE May 31, 2019 · Generate QR code image from the command line. rectangle( (. Now my issue is that when I disable Vuforia Behaviour and re-enable it, the text read by the QR Dec 10, 2021 · Pure python QR Code generator. QR Code creation from the command line. The user can select with --code-type option which code to detect. QR Code readers require a white margin to detect QR Codes. Install python3 and pip3 in server/machine May 12, 2019 · How to create an API endpoint that generates a QR Code image, with Python 3 Flask-RESTPlus and python-qrcode When you have an API endpoint that generates a QR Code image, another device with a QR Code scanner will be able to get the encoded value to perform some action. parse_args ()) # load the input image image = cv2. Latest version: v7. If you intend to detect multiple QR codes in a single image, make sure that the We moved on to generate QR Code using the python-qrcode module. Although the l5 template found the most QR codes, the time cost is unbearable. Hi, I am new to OpenCV, and I have good knowledge on android sdk. Joined: 4/28/2015. In this tutorial we will learn how to detect and decode a QR Code on an image, using Python and OpenCV. 25-Feb-2020 Detect the qr code & decode it to read size values · So, if the size of QR-code(image) is not equal to the size which is mentioned inside it then scale the image 08-Dec-2019 In this tutorial we will learn how to detect and decode a QR Code on an image, using Python and OpenCV. For a standard install (which will include pillow for generating images), run:. GetField("messageString"). QR code stands for “Quick Response” code since it can be read simply by any digital device and allows users to obtain information instantly. Each renderer takes a file path or writable stream and draws the QR code there. # detect and decode data, bbox, straight_qrcode = detector Feb 04, 2022 · This tutorial demonstrates how to detect objects within images using the YOLO (You Only Look Once) algorithm. 2. py. Pyzbar can detect multiple QR Codes but we will keep it simple and import our QR Code image (that we 13-Feb-2021 Python 3 (OpenCV + Numpy + Qrcode) Example Script to Scan or Read Qr detectAndDecode(img) # check if there is a QRCode in the image if 14-Oct-2016 Is anyone aware of a QR code detector library, preferrably in Python, that's efficient enough to locate and track QR Codes in an image in How to Detect and Decode QR Code from an image in C++ with OpenCV. The module can automates most of the building process for creating QR codes. Open your preferred text editor for writing Python code and create a new file detector. Jun 21, 2017 · Quick Response QR barcode detection in nonarbitrary environment is still a challenging task despite many existing applications for finding 2D symbols. py script, we make use of the aforementioned function to detect and decode QR codes. Cela créera une image de code QR (MUOQRCode. The goal of this tutorial is to go through the code that allows the user to create a qr code and barcode reader using Python. First identify the barcode and QR code on an image. A lot of companies often times have easter eggs and similar stuff hidden in their codes which can give the user quite a surprise. We’ll include the header file and create a function that does the detection: #include "qrReader. Decodes QR code on a curved surface in image once it's found by the detect() method. Now, let's start to learn how to detect and decode a QR Code. QR() qr. In this step, you will use the facial analysis feature in Amazon Rekognition to see the Jan 26, 2022 · Intro to Autoencoders. S. A1, C5, E7, etc Jul 09, 2021 · A QR code (Quick Response Code) consists of black squares arranged in a square grid on a white background, which can be read by an imaging device such as a camera. The goal of this tutorial is to go through the code that allows the user to create a qr code and barcode reader using Python. Binarization is the base of QR code decoding and directly influences the recognition rate of QR code. Various QR code recognition approaches have been proposed to improve the accuracy of decoding QR code. These Quick Response codes are marketing opportunities for businesses to connect with you through the web. After searching, there are about two libraries available: One is zbar. Mar 26, 2011 · The improved method can enhance the recognition speed of two-dimensional code and accuracy and some improvements are presented in the image tilt correction, image orientation, image normalization and so on to speed up the image processing and to achieve more simply. Zbar image QR code recognition byzbarIdentify the QR code in the picture, and recognize the multiple QR code pictures contained in the picture. Press the windows key + R and type "cmd": cd into the bot directory: Type the command:QR Code is also named as Denso Barcode, QRCode, Quick Response Code, JIS X0510, ISO/IE18004. Jul 06, 2019 · July 6, 2019 sun chunyang. May 30, 2021 · pip install opencv-python Decoding QR code Image. Nov 15, 2020 · In this step we’ll validate the image and get the Open-CV version installed in the image. 23-Oct-2020 Pillow is the extension of PIL, which stands for Python Image Library. YOLO QR Code Detection with OpenCV Python. Oct 12, 2020 · Quick response (QR) codes are widely used in many fields. While QR codes were once Sep 29, 2019 · QR code is widely used on internet, python provides some libraries to create qr code. There are a fixed set of QR code sizes: from 21 to 177 rows/columns, increasing in steps of four. It must be used with the function named form_parser() that is defined in the previous script for getting information about the registration form. QR Code Extractor Features Important Notes Methodology - How it works Step One: Remove noise from sample image Step Two: Narrow down search to only QR code locators StepThe Python code works in both Python 2 and Python 3. Let's open up our QR code with Pillow's Image package21-Jan-2022 The following code works fine with me:brew install zbarpip decode a QR-code image in (preferably pure) Python detect and decode29-Dec-2020 Topcoder is a crowdsourcing marketplace that connects businesses with hard-to-find expertise. Scan QR code from image. Dec 01, 2021 · In multiple QR code scenario, we hope to find QR codes as many as possible. Generate QR codes. Introduction · People · Discuss; ARTag-Detection Jan 22, 2016 · QR Code Details [Optional Reading] Here is a little more about how QR codes work; you don't necessarily need to know this to be able to generate a QR code. An NFT Generator created using Download and install Python from the site. This function tacks three arguments. It supports many popular symbologies (types of bar codes) includingCode to read QR Code from Image: import qrtools qr = qrtools. for obj in scan: print ("Type:", obj. The Shape Detection API detects faces, barcodes, and text in images. Step 3. Real world tested. 9k Jan 31, 2022 QR codes, on the other hand, add another dimension from which information can be typed and scanned. Below you will find tutorial-barcode-detector. It was integrated into OpenCV with the release 4. After converting the image to binary image, we can see the black and white are inverted for QR code: Using OpenCV to Invert the Color. png. In this tutorial, we will introduce to how to create qr code with image backgourd using myqr library. With the continuous development of the Internet of things, QR code has been gradually applied in various industries due to its strong information storage capacity, convenient and quick reading advantages, and safe and reliable coding technology [9,10]. This image lays out those different fixed patterns: Aug 02, 2021 · Pyzbar is a Python library enabling your scripts to read one-dimensional barcodes and QR codes. PyPNG. You can now find QR Codes stylishly delivering great amounts of information quickly identify the presence of a QR Code in an image and it's orientation. pip install opencv-python Decoding QR code Image. Feb 23, 2020 · Here are the steps I need to perform in the same order: Detect the qr code & decode it to read size values So, if the size of QR-code (image) is not equal to the size which is mentioned inside it then scale the image to equal Then crop the image towards all sides from QR code image according to See full list on techtutorialsx. Let's start by importing all the libraries into our python file. Detect QRCode and BarCode using OpenCV in Python. com Nov 20, 2020 · YOLO QR Code Detection with OpenCV Python. Mar 31, 2021 · Générer un code QR. QR_CODE So far, the QR code detection model is ready to be used. Jan 20, 2022 · Detect QRCode OpenCV. However, the recognition of distorted QR codes with one missing position detection pattern (PDP) remains a problem. Pour générer le code, créez un nouveau fichier avec une extension . pip install qrcode[pil] What is a QR Code? A Quick Response code is a two-dimensional pictographic code used for its fast readability and comparatively large storage capacity. Recognize and decode the barcode / QR code that we are going to 22-Apr-2021 Then import them both. I've seen them, as well, and wondered what I'm supposed to do with thA WhatsApp QR code helps you in adding contacts without even entering the mobile number. points. import cv2 import numpy as np import pyzbar. # detect and decode data, bbox, straight_qrcode = detector How to detect a single QR code using OpenCV, Python and zbar I'm using the bottom camera of an AR Drone to detect a QR code in order for me to know the whereabouts of the drone on a chessboard. In this example the QR Code is a text "QR Code output text". qr_x: the center coordinate x value of the QR code to be detected, the range is 0~320. Programming language: Python. 2)numpy. This takes an optional module drawer to control the shape of the QR Code, an optional colorThe following are 30 code examples for showing how to use qrcode. So write the following program. For ZBar, I use pyzbar library as the python wrapper. From there, open up a terminal, and execute the following command: $ python detect_apriltag. make('Hello world!') Jul 04, 2021 · aiocv Is A Python Library Used To Track Hands, Track Pose, Detect Face, Detect Contours (Shapes), Detect Cars, Detect Number Plate, Detect Smile, Detect Eyes, Control Volume Using Gesture, Read QR Codes And Create Face Mesh On Image/Video. The only package which supports/decodes multiple QR codes in a single image. Introduction · People · Discuss; ARTag-Detection This installs the qrcode python package which is used for generating and reading QR codes. Returns UTF8-encoded output string or an empty string if the code cannot be decoded. We will be using the open source app "qrtools" to read image. Introduction · People · Discuss; ARTag-Detection Oct 28, 2020 · Hey guys welcome to my new tutorial How To Generate QR Code With Python. Jun 19, 2016 · The pyqrcode module is a QR code generator that is simple to use and written in pure python. Nov 20, 2020 · YOLO QR Code Detection with OpenCV Python. org is the best online tool. QRCodeDetector(). By Vishnu Chand. Many algorithms may be used for image binarization [6]. This work proposed an algorithm that localizes and segments two-dimensional quick response (QR) barcodes. Installing OpenCV in 08-Dec-2021 See below for an image from a live stream of a Raspberry Pi camera as it sees a QR Code, draws a blue box around it, successfully reads the OpenCV: QRCode detection and extraction; Tutorial Python: Contours Hierarchy; Wiki: Pixel Connectivity; Image Processing: Connect; Wiki: Image Moment; Wiki: 14-Oct-2016 Is anyone aware of a QR code detector library, preferrably in Python, that's efficient enough to locate and track QR Codes in an image in 30-Jun-2020 having that QR code in the image and detecting it, the pattern colors Python library that ”converts a set of input images into a new, This tutorial will teach you how to scan QR codes using the Raspberry Pi module Zbarlight to decode and find the QR code present in the processed image. You can scan the QR code with your mobile phone to directly access the Topcoder website. It comes with QRCodeQR code is a type of matrix barcode that is a machine-readable optical label that contains information about the item to which it is attached. Copy model. Now, I need to detect the QR code from this document image and in the first step I need to compare the size of QR code in captured image of document with the size which is mentioned in the decoded information for example if in the captured image the size of the QR image is 90X90px and the size from decoded info is QR_DETECTION. The JavaScript version was ported by Lazar Laszlo. Introduction · People · Discuss; ARTag-Detection The above python script is using pillow python package and defining a function for loading CAPTCHA image. As you can see from the code below and in my first example I imported an image. Learn how to build QR Code Digital Menu with Python/Django and React. com ). Google's Vision API has replaced the ZXING QR Scanner that we…Aruco Marker vs QR Code. After searching, there are about two libraries availableDetects QR codes in image and returns the vector of the quadrangles containing the codes. BitMatrix represents a 2D matrix of bits. Jun 09, 2021 · A Quick Response Code or a QR Code is a two-dimensional bar code used for its fast readability and comparatively large storage capacity. ) Scans multiple QR in one image. To install it, run: pip3 install qrcode[pil] Then you can import it into a script and generate a PIL image with: import qrcode code = qrcode. How to Detect and Decode QR Code with YOLO, OpenCV, and Dynamsoft Barcode Reader. There are also three image based renderers. Install python module Install system dependencies Instal Feb 04, 2022 · This tutorial demonstrates how to detect objects within images using the YOLO (You Only Look Once) algorithm. Introduction · People · Discuss; ARTag-Detection The detection of QR codes, a type of 2D barcode, as described in the literature consists merely in the determination of the boundaries of the symbol region in images obtained with the specific Pure python QR Code generator. Source code explained. An NPM package for node which takes image path and finds and decodes QR codes in it. You can get qrcode. QtQR can read QR codes from image files or from a webcam. As the name suggests, it was developed and contributed by the WeChat Computer Vision team. 0. png'). 0 version, it supports: * Encoding text, url, emails, sms and telephone numbers * Decoding an image file with a QR Code inside; the programs informs the data type and prompts for a default action asociated to the data type. g. So follow this till the end. pyzbar as pyzbar. The project is divided intoSoftware (i'm using opencv to detect human hand and find the distance between palm center and finger tips. This is very simple method to create a QR code. 63% Python 10. This installs the Image python package which provides a number of functions to load images from files and to create new images. * Pure python. make ('QR Code') xxxxxxxxxx. Install OpenCV ( CPU only) via pip: pip install opencv-python. The methods should auto-detect which is which. /qrcode_rotated. Ability to scan image and video file; Ability to show live Qr-Code from webcam; Show data text of qr codes LIVE; Show known qr-code with GREEN color and unknown with RED color; ProgramsAs the title says, I spent a year very casually learning JavaScript, switched to Python recently as just couldn't grasp some of the intricate details in JavaScript and kept hitting a wall. The key idea is that there's a ratio in the number of black Sep 07, 2020 · Decode QR Code: detectAndDecode() function takes an image as an input and decodes it to return a tuple of 3 values: the data decoded from the QR code, the output array of vertices of the found QR code quadrangle and; the output image containing rectified and binarized QR code. In this tutorial, you will learn how to generate and read QR codes in Python using qrcode and OpenCV libraries. 3)pyzbar. You can find QR codes almost ev Jun 21, 2021 · Now we need to create the QR code that wll use this cropped image. The point situated at the coordinates (x, y) in the new image is equal to the point (xp, yp) in the input image. Then, we instantiate a QRCodeDetector Object and use the detectAndDecode method to find the data 26-Oct-2020 QR code is a two-dimensional barcode which stores encoded data. QR code Library in Python (pyqrcode) Python provides library pyqrcode which allows implementing QR code in Python Tkinter. Once you have qrcode installed, you can use the qr command. But that was hard to do in App Inventor because web view doesn’t allow you to use file input type to be processed. We will use OpenCV 4. 3)we errode the image to remove unwated May 18, 2018 · 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. Opencv Python Hand Detection and Tracking: Aim of the project is to move a robotic hand, mimicking humand hand based on a camera feed. For this program, we need three packages, which are OpenCV, NumPy, and pyzbar. The decoding process begins by modifying the image so that it removes all white space outside of the QR Code and scales it to a 1 block to pixel ratio. Jun 15, 2020 · To read QR codes, we’ll be using the JavaScript port of the Java-based image processing library written by ZXing. imread ( "qrcode_rotate_45_image. See the below image for the output I The finder pattern. libraries needed-> 1)opencv. Sep 28, 2015 · You can now compile and run your app. add_argument ("-i", "--image", required=True,help="path to input image") ##args = vars (ap. When I run the script, it shows each image and prints the type and data of it, press any key and you'll get the next image, here is my output:Step 2: Next, we need to start the camera for capturing the QR code. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. All you need to scan that image is a QR code scanner app installed on your phone. Feb 04, 2022 · This tutorial demonstrates how to detect objects within images using the YOLO (You Only Look Once) algorithm. to #Dnn #Deep Learning #deep-neural-networks #deep-learning-tutorial #object-detection Aug 28, 2020 · Image QR Code Scanner. The Hough Transform is a popular feature extraction technique to detect any shape within an Testing the code. png and then imread it with Opencv and do it that way, but I'd like to avoid Scan QR code from image. 0 or above to run the code. Finally, I will show how to deploy the real-time QR Code & bar Dec 15, 2020 · Let’s create a program that scans the QR codes and Barcodes from an image. gradle:Hello YouTube, In this video we'll be talking about how can we read a #QR code using #OpenCV and #python #QRreaderDownload free programming ebooks on moSmart Code Engine SDK (previously known as Smart BarcodeReader) finds and scans 1D barcodes (CODABAR, CODE_39, CODE_93, CODE_128, EAN_8, EAN_13, ITF, UPC_A, UPC_E) and 2D barcodes (QR Code, AZTEC, PDF417 and DataMatrix). Create a QR code 1-M "QR Code Symbol" and serialize it as PNG image. open('. This takes an optional module drawer to control the shape of the QR Code, an optional color mask to change the colors of the QR Code, and an optional image to embed in the center. VideoCapture(0). straight_qrcode. Disclaimer: I have borrowed some code and ideas from Hugo for this Dec 01, 2021 · How to Optimize Parameters for Multiple QR Code Decoding in a Single Image with YOLO This page summarizes the projects mentioned and recommended in the original post on dev. Introduction · People · Discuss; ARTag-Detection Photos and images constitute the largest chunk of the Web, and many include recognisable features, such as human faces or barcordes/QR codes. Micro QR code; General QR code; The above figure represents the different sections of a QR code. Feb 28, 2019 · For Scanning Qr Code – Opencv with Python with the webcam the procedure is similar to that used for the single image. com and we have given the output file name as codingshiksha. Here you can see we are getting the output type as QRcode and Data is the link we have given in the above snippet and we can try with any QRcode and it scans the information from the QRcode. Keywords— Barcode Detection, Python, OpenCV, Computer Vision, Image Processing, Android App. OpenCV 4. 5. We create an original image because we modify our image throughout the code. cv2. After implementing this algorithm, we made a Barcode Detection Android App. pytesseract: It will recognize and read the text present in images. It is able to recognise a number of specific types of QR code including web links, email addresses/messages, SMS messages and telephone numbers. The QR Code used this command string: mVr1440p60tw55x. You can take the Qr code 27-Oct-2021 After we get the image or video frame, we can transfer it to the special barcode decoding library in Python, such as Zbar. pyzbar is a QR code and Barcode decoder library available in python. Before going to our main topic, we need to understand some basics idea of QR code. QR Code Scanner Using OpenCV in Python: In today's world we see QR code and Bar code are being used almost every where from product packaging to Online Payments and now-a-days we see QR codes even in restaurant to see the menu. For decoding, we import "decode" module from Pyzbar and just pass our imported QR Code image. cpp allows to detect either a QR code or Data Matrix on a single image. After you have created your folders, your Object detection folder should have the following sub-folders: ├── input ├── models └── output 3 directories, 0 files. 0 to detect and decode the QR Code. In the past two weeks, I trained a custom YOLOv3 model for QR code detection and tested it with Darknet. detectAndDecode(image) # bbox is the main thing in the qrcode # if it 14-May-2020 The most common applications of Digital Image Processing are object detection, Face Recognition, and people counter. face tagging, or web URL redirection. Introduction · People · Discuss; ARTag-Detection Nov 15, 2020 · In this step we’ll validate the image and get the Open-CV version installed in the image. So no doubt that it is the big think now. cfg and qrcode-yolov3-tiny. rect draw. Each renderer takes a scale parameter. This post will be updated as the Shape Jan 27, 2022 · Build a User Authentication System with QR Code Scanner using OpenCV Image Analysis, Libraries, Python Vehicle Detection and Counting System using OpenCV Now, I need to detect the QR code from this document image and in the first step I need to compare the size of QR code in captured image of document read the QRCODE image #in case if QR code is not black/white it is better to convert it into grayscale img = cv2. Oct 16, 2021 · I used Zbar and OpenCV to read the QR code in the image below but both failed to detect it. imread ("D:\QrReaderOutput\thresh. 3. imread(filename, 0)# Zero meansIn this tutorial we will learn how to detect and decode a QR Code on an image, using Python and OpenCV. :param face (image): This image tack PIL image as first argument. The key points are commented next. BoofCV provides a QR Code detector is designed to be fast on Object Detection is a computer technology related to computer vision, image processing, and deep learning that deals with detecting instances of objects in images and videos. The JavaScript version was Feb 04, 2022 · This tutorial demonstrates how to detect objects within images using the YOLO (You Only Look Once) algorithm. In most other cases Python was sufficient. Introduction · People · Discuss; ARTag-Detection May 28, 2019 · Create a QR Code containing Image date, filename, and inspection result. To test the previous code, simply run it in an environment of your choice. We will first look at the basic and then 21-May-2018 Use Python 3 (the official zbar Python bindings only support Python 2