Qr-scanner: multiple QR codes in one image


I am testing the qrcode reader and wanted to share a condition that causes reader to fail.

I have tested the “qr-scanner” demo with image files, and the problem situation is, if there are more than one QRcodes present in image, its failing to read any of them. In my case, there are two (duplicate) physical qrcode labels in image file, to backup each other in case if one is unreadable (this happens if four corners remain intact but inner dots get damaged), but unfortunately, its not working as planned.

Therefore I am wondering if its possible to check availability of multiple qr codes in image, and try to get a read result from at least one of them ?