Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Do not detect colors? #81

Open
Vogod opened this issue Nov 9, 2019 · 2 comments
Open

Do not detect colors? #81

Vogod opened this issue Nov 9, 2019 · 2 comments

Comments

@Vogod
Copy link

Vogod commented Nov 9, 2019

First of all, congratulations on the scanner and thanks for sharing.

I have created a QR code with colors and the reader does not read it. Can it be configured in any way?

If I try to read the code with the iPhone camera, it does recognize it.

I have done the test at https://www.qrcode-monkey.com. If I create a code in black on a white background, the scanner reads it. If I take, for example, yellow over red background, the scanner is not able to read it.

Thanks!

@gitbreaker222
Copy link

yellow over red background

Several years ago I worked with QR codes in University. At that time I've read somewhere, that QR-Code specification says, that the "pixels" and anchors have to be dark and the background light, but some scanners can read inverted QR codes, because they internally invert the camera image.

Some reference I just searched for: http://qrcode.meetheed.com/question2.php?s=s

So my suggestion to ensure best readability for your QR-Code: Always use dark "pixels" and light background. You may want to test the colored code, by applying a grayscale filter and check if the contrast is clearly visible.

Does this solve this issue @Vogod ?

@gokulkrishh
Copy link
Member

@gitbreaker222 Good suggestion 👍 @Vogod Try gitbreaker suggestion and let us know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants