zerforschung / schnelltesttest.de

https://schnelltesttest.de
GNU Affero General Public License v3.0
229 stars 19 forks source link

Some barcodes can't be checked with our library #48

Open LilithWittmann opened 2 years ago

LilithWittmann commented 2 years ago
Screenshot 2022-01-22 at 16 05 26 Screenshot 2022-01-22 at 16 10 15
BengtHagemeister commented 2 years ago

Hi,

I tried to reproduce this issue with the following outcome:

To conclude, these might be just some bad prints on the packaging but not a general problem.

cyberman54 commented 2 years ago

I can confirm that the barcode on side of package of "Hotgen" tests is scannable, but it takes a while / some trying.

gidhap commented 2 years ago

Same here, scanning works of Hotgen works but needs good lighting (sunlight works very good), contrast of black on lightbrown might be the issue.

ericblade commented 2 years ago

fwiw, the title on the linked issue isn't exactly the cause of the problem, more a bit of an issue with clarity. I strongly suspect there are some processing improvements that could be made either inside quagga, or outside and then pass the resulting image to quagga to decode, as well as finding that different settings can often make for a very large difference in the quality of results.

I'm glad to see another project that is making use of quagga2!

I have the unfortunate situation where my application reads almost exclusively UPC/EAN13 codes and the decoder for those seems to do very, very well. I can't speak for the quality of all of the others, only that most of the other readers are more susceptible to failure than the UPC reader.

I suspect there are major improvements that could be made, if anyone knows anything about image processing. It's unfortunately a topic that although I'm interested in, I haven't had any time to delve into. And I'm probably a lot better at just maintaining and improving in general, moreso than fixing processing issues. :|