Python Forum
can't read QRcode in large file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can't read QRcode in large file
#1
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 ?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recommended way to read/create PDF file? Winfried 3 2,784 Nov-26-2023, 07:51 AM
Last Post: Pedroski55
  python Read each xlsx file and write it into csv with pipe delimiter mg24 4 1,309 Nov-09-2023, 10:56 AM
Last Post: mg24
  problem in using pyqrcode module to create QRcode akbarza 9 1,797 Aug-23-2023, 04:17 PM
Last Post: snippsat
  read file txt on my pc to telegram bot api Tupa 0 1,049 Jul-06-2023, 01:52 AM
Last Post: Tupa
  parse/read from file seperated by dots giovanne 5 1,043 Jun-26-2023, 12:26 PM
Last Post: DeaD_EyE
  Formatting a date time string read from a csv file DosAtPython 5 1,161 Jun-19-2023, 02:12 PM
Last Post: DosAtPython
  How do I read and write a binary file in Python? blackears 6 6,016 Jun-06-2023, 06:37 PM
Last Post: rajeshgk
  Converted EXE file size is too large Rajasekaran 0 1,445 Mar-30-2023, 11:50 AM
Last Post: Rajasekaran
  Read csv file with inconsistent delimiter gracenz 2 1,140 Mar-27-2023, 08:59 PM
Last Post: deanhystad
  Read text file, modify it then write back Pavel_47 5 1,501 Feb-18-2023, 02:49 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020