qr-code

OpenCV QR Code Detector gives circle instead of box

OpenCV QR Code Detector gives circle instead of box Question: I am at an fairly beginner level with OpenCV,and more advanced python code I am trying to make a QR Code Detector (from an image-not from cam feed) to work. I ve searched on the internet, found a code in order to start learning from …

Total answers: 1

how to generate qr code with python and when scanned make it open a url defined?

how to generate qr code with python and when scanned make it open a url defined? Question: How do I generate a qr code which when scanned opens a url? is it possible to use a library like qrcode or pyqrcode to accomplish this? something like this : pyq = QRCode() pyq.generate(url="http://google.com/") Asked By: RekWolf …

Total answers: 2

module 'qrcode' has no attribute 'make'

module 'qrcode' has no attribute 'make' Question: While integrating python library qrcode==6.1 with django==3.1.2. I have been trying to generate a qrcode which will contain the URL links for my other websites. Models.py from django.db import models import qrcode from io import BytesIO from django.core.files import File from PIL import Image, ImageDraw # Create your …

Total answers: 4

Generating and reading QR codes with special characters

Generating and reading QR codes with special characters Question: I’m writing Python program that does the following: Create a QR code > Save to a png file > Open the file > Read the QR code information However, when the data on the code has special characters, I got some confusion output data. Here’s my …

Total answers: 2

import pyzbar.pyzbar – Unable to find zbar shared library

import pyzbar.pyzbar – Unable to find zbar shared library Question: I want to make a script for detecting and reading QR codes from photos. I would like to use PyZbar for that, but I have a problem with some errors. I’m working in google colaboratory !sudo apt install tesseract-ocr !pip install pytesseract !pip install pyzbar[scripts] …

Total answers: 4

Preprocessing images for QR detection in python

Preprocessing images for QR detection in python Question: I used Zbar and OpenCV to read the QR code in the image below but both failed to detect it. For ZBar, I use pyzbar library as the python wrapper. There are images that QR is detected correctly and images really similar to the successful ones that …

Total answers: 3

How to decode a QR-code image in (preferably pure) Python?

How to decode a QR-code image in (preferably pure) Python? Question: TL;DR: I need a way to decode a QR-code from an image file using (preferable pure) Python. I’ve got a jpg file with a QR-code which I want to decode using Python. I’ve found a couple libraries which claim to do this: PyQRCode (website …

Total answers: 9