question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not detecting barcodes without successful scan

See original GitHub issue

Thank you for taking over maintainership of this package!

I noticed the live_w_locator example has changed behavior between versions 0.0.2 and 0.0.3. Earlier, the scanner was painting green squares when it started noticing barcodes without successfully scanning them, i.e., onDetected callback is not called. Now, the green squares are only painted when a barcode is successfully scanned. So it seems the content of result.boxes for the Quagga.onProcessed callback behaves differently after version 0.0.3. Is this a regression?

To reproduce

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
myrjolacommented, Oct 8, 2019

Thank you Erik for the fix! I can confirm that it works.

0reactions
ericbladecommented, Oct 2, 2019

Lessons learned today:

  1. my computer’s webcam does in fact work well enough to at least recognize boxes
  2. npm link + webpack dev server are an amazing combination
  3. fixing what appear to be tiny lint errors may introduce a change to a function that has sweeping effects on the rest of the software, so don’t even think about changing a return value until you have a complete understanding of where that return value might be used. (somewhere in the result handling, someone is expecting decodeFromBoundingBoxes to return undefined, which in the code inherited, was not an explicit return, so i fixed the function to always return a value, but that’s not correct.)

0.0.6 should fix this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Aren't My Barcodes Scanning? 3 Common Problems ...
If your scan issues aren't consistent, or you can otherwise confirm your scanner is set-up to read your barcodes, you may not be...
Read more >
When a Verified Barcode Fails to Scan-What To Do
If the verifier says the barcodes are good but the scanner cannot read them, check the scanner configuration for barcode data field size...
Read more >
The Most Common Causes of Unreadable Barcodes
For seemingly high-quality codes, it is a common misconception that no-read results are due to obscure or undetectable barcode characteristics that the reader ......
Read more >
Having Problems Reading Your Barcodes? Here's How to Fix It
Poor label placement. The most obvious culprit of an unreadable barcode is poor label placement. · Poor barcode/scanner position. A failed ...
Read more >
Barcode Scanner Troubleshooting - Labeling News
Barcode scanner not working? Here's some quick tips to try.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found