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

Using method decodeUrl only returns "Box" propriety #236

Closed
danisss9 opened this issue Sep 15, 2020 · 6 comments
Closed

Using method decodeUrl only returns "Box" propriety #236

danisss9 opened this issue Sep 15, 2020 · 6 comments

Comments

@danisss9
Copy link

Hello,

I have been using Quagga for LiveStream barcode reading and has been working fine. But I tried now using the decodeSingle() method and it doesn't return the decoded code, only the "Box" propriety:

Result

This is the config I'm using (imageUrl is usually a DataUrl):

Config

Why doesn't it return the decoded "result" propriety like it does on "LiveStream" mode? Am I missing something in the config?

Thank you

@github-actions
Copy link

Thank you for filing an issue! Please be patient. :-)

@danisss9
Copy link
Author

Seems to be working now, without any changes

@ericblade
Copy link
Owner

ericblade commented Sep 16, 2020

Good to know that Data URI works, I believe we had an outstanding ticket to examine that. Yes, we do, it's #189 . Any chance you've tried Data URI in the browser? Or was that in browser not in node? I'm going to ping you over on that thread to reply to this question actually.

As to why it only returned a partial result, all I can think of is that it found a box, but failed to decode the barcode, but I don't know that that should be an expected result.

If you can repeat it not working, then working, with any specific data, please definitely report on that.

@edcsquared
Copy link

Hello, I got same issue regarding on the results. It's only returning [{box: []}], there's no code or something. Am I missing something? thanks

@ericblade
Copy link
Owner

Hello, I got same issue regarding on the results. It's only returning [{box: []}], there's no code or something. Am I missing something? thanks

hi! i'd probably need some images of the barcodes in question to try to diagnose. Usually the configuration parameters can be adjusted to find something that works for your specific needs. Please submit a new issue, with at least one or more images of the barcode in question, along with the type of barcode that it is. Thanks!

@edcsquared
Copy link

edcsquared commented Apr 26, 2024

Thanks for your response @ericblade , here's the issue #537. Thanks

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

3 participants