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

Requires fixed barcode length #1

Open
designosis opened this issue May 12, 2023 · 1 comment
Open

Requires fixed barcode length #1

designosis opened this issue May 12, 2023 · 1 comment

Comments

@designosis
Copy link

This appears to only work with fixed barcode lengths assigned to characterCount, and therefore is useless for QR codes.

Any thoughts on a fix?

@ChristianVermeulen
Copy link
Contributor

Well, a QR code is not a barcode. A barcode is numerical and fixed length, while qr-code is alpha-numeric and can contain any sort of information of any length. Therefore it is pretty impossible to automatically recognise a string to originate from a qr code.

The best thing you can do is implement a regex specifically for the data format you expect to be in your QR code.

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