Skip to content
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

Ability to scan inverted (white on black) codes #63

Open
Romanizat opened this issue May 4, 2024 · 2 comments
Open

Ability to scan inverted (white on black) codes #63

Romanizat opened this issue May 4, 2024 · 2 comments

Comments

@Romanizat
Copy link

I use your library to activate video scanning from a device and it's active until it scans the QR code, and it works great, thanks!

But...

I require scanning of inverted QR codes (white code on black background), and I've been trying all kinds of hacks to get it to work, but apparently it only registers black code on white background.

I have been trying to invert the input video, but to no avail.

@id1945
Copy link
Owner

id1945 commented May 26, 2024

@Romanizat Thank you for raising the above issue. Currently I don't have a way to solve this problem.

@Romanizat
Copy link
Author

@id1945 Thank you for the reply.

If it is any help, I have found jsQR and am using it in my project now for scanning inverted and normal QR codes.

This is a pure javascript library for which i need to make a wrapper for the webcam and mobile devices that already exist in your library.

I don't know which underlying library you are using for the scanning, but if you can just replace it with this one, or try both, I think it will solve the issue and provide a better expansion to your library.

All the best!

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

No branches or pull requests

2 participants