alexzhirkevich/custom-qr-generator

Highlight anchor elements for better recognition

Closed this issue · 0 comments

When set background image to the qr code for some images, scanner not able to scan the qr code.
i did research and found if background image has black part at any of 4 corners that eye can't be differentiated by the scanner and scanner can't read it.

Versions
Library : '8b2a97c5e6' and '1.6.1'
Android: '13'

  1. Here is the QR Code which generated using this Library with background image (NOT SCANNABLE)
    Screenshot_20230501_105542

  2. Here is the QR Code which generated online using same background image. (SCANNABLE)
    Screenshot_20230501_105602

Screenshot_20230501_1056021

When adding background image to the qr code they are adding some opacity around the eyes so scanner can differentiate eyes and background. also they highlight the fourth small eye (may be this can help to read qr code easily but i am not sure) check i marked with red arrow. Can you add this option or flag to add opacity around the eyes?