khanamiryan / php-qrcode-detector-decoder

This is a PHP library to detect and decode QR-codes. This is first and only QR code reader that works without extensions.
Apache License 2.0
1.37k stars 325 forks source link

Getting bool(false) as result #18

Open Jayad opened 8 years ago

Jayad commented 8 years ago

using same code as mentioned. <?php

include_once('./lib/QrReader.php'); $qrcode = new QrReader('JayaAADHAR.jpg'); var_dump($qrcode); $text = $qrcode->text(); //return decoded text from QR Code var_dump($text); ?>

returning bool(false)

private $dataWidth => int(1021) private $dataHeight => int(2459) private $left => int(0) private $top => int(0) private $image => class Imagick#42 (0) { } private $width => int(1021) private $height => int(2459) } class QrReader#41 (1) { public $result => bool(false) }

bool(false)

Any help on what is going wrong?

Jayad commented 8 years ago

This is happening only when I am uploading a fullzise image with a QRcode section present. The online decoder https://zxing.org/w/decode.jspx gives perfect output even when we upload a fullsize image.

jondrover commented 8 years ago

Hey, having the exact same issue. Did you get any further with it?

Jayad commented 8 years ago

Hi, @jondrover, No this issue is still not resolved.

khanamiryan commented 8 years ago

Sorry friends, now I have no time to find what's going on :(

powtac commented 7 years ago

See #15