php-qrcode-detector-decoder: Wrong result
This file can not be decoded with QrReader! it just returns (bool)false. But the text encoded in the QR Code is w_537244_40.
$QrReader = new QrReader('wrong.png');
echo $QrReader->text();

The correct result can be proved with the online Zxing.org encoder here. It returns:
Raw text w_537244_40
Raw bytes 40 27 75 f1 01 a1 93 d1 00 d7 cd 0c 00 ec 11 ec
Barcode format QR_CODE
Parsed Result Type TEXT
Parsed Result w_537244_40
About this issue
- Original URL
- State: open
- Created 8 years ago
- Reactions: 2
- Comments: 25 (3 by maintainers)
To fix my issue like as your issue, I used
imagecopyresampledFor example you can see my code:The percentage of detected QRcodes increased from 10% to 90% for me.
Your solution saved my day! Thanks a bunch ❤️
@shoaib-sme in my code. After the try
To fix my issue like as your issue, I used
composer require topthink/think-imageFor example you can see my code: