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
  Problems writing a large text file in python Vilius 4 1,025 Dec-21-2024, 09:20 AM
Last Post: Pedroski55
  How to read a file as binary or hex "string" so that I can do regex search? tatahuft 3 1,154 Dec-19-2024, 11:57 AM
Last Post: snippsat
  Read TXT file in Pandas and save to Parquet zinho 2 1,281 Sep-15-2024, 06:14 PM
Last Post: zinho
  Pycharm can't read file Genericgamemaker 5 1,606 Jul-24-2024, 08:10 PM
Last Post: deanhystad
  Python is unable to read file Genericgamemaker 13 3,845 Jul-19-2024, 06:42 PM
Last Post: snippsat
  Connecting to Remote Server to read contents of a file ChaitanyaSharma 1 3,352 May-03-2024, 07:23 AM
Last Post: Pedroski55
  Recommended way to read/create PDF file? Winfried 3 4,869 Nov-26-2023, 07:51 AM
Last Post: Pedroski55
  python Read each xlsx file and write it into csv with pipe delimiter mg24 4 3,897 Nov-09-2023, 10:56 AM
Last Post: mg24
  problem in using pyqrcode module to create QRcode akbarza 9 6,595 Aug-23-2023, 04:17 PM
Last Post: snippsat
  read file txt on my pc to telegram bot api Tupa 0 2,648 Jul-06-2023, 01:52 AM
Last Post: Tupa

Forum Jump:

User Panel Messages

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