PeculiarVentures / js-zxing-pdf417

Javascript port of the PDF417 detector and decoder from http://github.com/zxing/zxing (Keywords: Barcode, PDF 417, Javascript)
Apache License 2.0
142 stars 46 forks source link

Barcode recoginization failed with Low quality Images #3

Open vrvmadan opened 8 years ago

vrvmadan commented 8 years ago

This is working great with Excellent Quality Images. I am facing the Issues when I try to recognize the Barcode through Camera(Low Resolution). I came to know that the Problem is with Binarizing the low quality Images. You have any suggestions on Improving the Binarization to recognize the barcodes on low quality Images.
are you planning to work on this Improvisation. let me know if you aware of any open sources to solve this Issue.

rmhrisk commented 8 years ago

It is a known issue. More work is needed to get the library to with lower quality images. We have tried a few different approaches of pre-processing but none fair better than what we have here. I am still confident there is a workable model here we just need more time to get to it. We will take a look again, maybe middle of next year (were focused on other projects at the time). Pull requests accepted ;)

vrvmadan commented 8 years ago

Thanks for Quick reply. Mean while you have any suggestions for me to look into. I tried with The below mentioned changes with no luck https://groups.google.com/forum/#!topic/zxing/Y1OPo44e93Y

rmhrisk commented 8 years ago

The core issue in our tests has been lack of focus on getUserMedia - https://code.google.com/p/chromium/issues/detail?id=343894

One approach we have not tried that I think has promise is capturing via video and doing frame averaging to sharpen the picture trying candidates along the way.

rmhrisk commented 8 years ago

We should look at some of the techniques applied here http://www.windytan.com/2016/02/barcode-recovery-using-priori.html and see if we can improve results at all.

kjhe11e commented 7 years ago

Hi @rmhrisk , are there currently any plans to revisit this? I would love to help in any way I can, but I am new to writing code for pattern recognition. Thanks

rmhrisk commented 7 years ago

@kjhe11e I would love to but at this point it is unclear when I can get back to this.

kjhe11e commented 7 years ago

OK thanks, I appreciate the quick reply.

rmhrisk commented 6 years ago

Useful for anyone looking to fix this:

https://medium.freecodecamp.org/lets-enhance-how-we-found-rogerkver-s-1000-wallet-obfuscated-private-key-8514e74a5433