Python Forum
can't read QRcode in large file - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: can't read QRcode in large file (/thread-29693.html)



can't read QRcode in large file - simoneek - Sep-16-2020

Hello,

I want to read the position of 4QRcode. When I use the picture"QRcode2.png" I find 2 QRcode (result : OK). But when I print this same QRcode and scan the sheet (file : capture1.jpg) I read only 1 QRcode on the 4.

Here the file :
https://we.tl/t-3Yv0sZRzmI

Here the code :
import cv2 import matplotlib.pyplot as plt import math import numpy as np image = cv2.imread("png.png") #image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) qrCodeDetector = cv2.QRCodeDetector() points = qrCodeDetector.detectMulti(image) #decodedText, points, _ = qrCodeDetector.detectAndDecode(image) QRnumero = 0 print("point") print(points)
Do you have any idea ?


This forum uses Lukasz Tkacz MyBB addons.
Forum use Krzysztof "Supryk" Supryczynski addons.