New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images with more than one qrcode do not work #107
Comments
this is crazy. why would you decode such things? even phone and QR code scanners cannot read those all in our go. you need to cut this into many images and do some loops. In case I'm wrong and you manage to pull this, please share. someone might need that. happy coding :-) |
It might be crazy to decode this one, but it causes a fatal error because of its memory consumption. Other images show the same behaviour. |
Zbarimg (a command line tool) is capable of finding and decoding several barcodes in one image returning one code per result line. Unfortunately it doesn't do the job very good (often not finding the bar codes). Unfortunately khanamiryan/php-qrcode-detector-decoder is not capable of detecting bar codes in larger images (like a png of a sheet of paper), one instance would take up more than 1 GB of RAM to process the image. |
@benediktcarda This seems to a limitation of the Zxing platform that was ported to PHP here. Zxing can also only extract one bar code per image. |
If the image contains more than one qrcode it doesn't decode any of them.
The text was updated successfully, but these errors were encountered: