Sep-16-2020, 08:52 AM
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 :
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 ?