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

Test if multiple barcodes might have been single barcode with multiple reads #4

Open
claybarrett opened this issue Feb 1, 2021 · 0 comments

Comments

@claybarrett
Copy link
Contributor

When multiple barcodes are detected, sometimes there's actually just one, and one result is a partial read, like this result:

[{'type': 'CODE39', 'data': '2660'}, {'type': 'CODE39', 'data': '102660'}]

Maybe a simple regex to check if one result is completely contained within another would allow a smarter choice for these (after a test if they are not of the same length, same length results would not be "nested reads"). Otherwise we had discussed some sort of config file option to test the read barcode format against.

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

1 participant