-
Notifications
You must be signed in to change notification settings - Fork 206
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
PDF417 decoding is incomplete #3
Comments
It looks like PDF417 support is incomplete. So someone should have access to the standard and finish the implementation. |
Thanks for answering. That's what I thought, yes. Unfortunately I'm not skilled enough to do that and it looks awfully complex. So I guess I'll just keep looking for some other c library that has that |
I double-checked at the code with some debug bits enabled. It seems that the pdf417 code already parses the image correctly. However, it misses the part of the code with would be producing the actual image decoding, as commented on its source: |
Thank you @mchehab Hopefully it'll be implemented soon! I ended up using a cpp port of ZXing which can compile to wasm and be used with WebAssembly. It works Ok, but not better than the pure JavaScript implementation. The output wasm file is also quite large. |
Unfortunately, ZXing is Apache licensed. For us, the better would be either if someone with time could finish the implementation from scratch or if we could use some code from another LGPL 2.1 compatible project. I did a quick search for other ZBar patches that might be floating around, but didn't see anything finishing the PDF417 implementation. I probably won't have any time myself to do such coding. So, volunteers for this task are wanted! |
Is there any update on getting pdf417 support for zbar? I would help but way above my skill set. I'm looking a writing a perl solution to reading these barcodes. |
Any update to PDF417 support? It's becoming an important barcode format. Thanks. |
Same here - any update on this PDF417 support in zbar? |
The zint implementation is in c an should be LGPL2.1 comaptible AFAIU(BSD-3-Clause), although I think it's encode only. |
I am attempting to use the ZBar library to decode PDF417 barcodes on the web using Web Assembly. I need help with detecting PDF417. I have tested the ZBar library with other types of barcodes, and it works perfectly, so the issue is specific to PDF417 decoding. Could someone from the community or the ZBar development team help me troubleshoot this issue? Is there a workaround or a fix that I can apply to resolve this problem? |
From my understanding pdf417 support is effectively completely broken in zbar and would need significant development work to make functional. |
I am facing this issue in production. I need urgent help on this. Can anyone help me on this please. |
I had the same issue, but was not able to solve it via zbar. Thus I ended up with pdf417decoder. |
You probably need to look into using something like ZXing for pdf417 decoding at the moment.
The ZXing library supports webassembly. |
Hello!
I am attempting to make a PDF417 barcode reader for the web using Web Assembly (there's a few out there but the only reliable one is licenced). The idea is simple, just build a binary file with C code that can be called via JavaScript.
I followed this guide which got me almost there! I had to add
--enable-codes=pdf417
as a parameter toconfigure
to enable PDF417 symbols and disable all the others I'm not interested in.The code actually works amazingly well for any other type of symbol (see demo) but if I compile ZBar to accept PDF417, it detects it but throws a warning:
And of course, no decoding is done. Those assertions are on lines 71 and 86 of ZBar.
You can see all the code I'm using in the guide I mentioned earlier (the only difference is that I enabled PDF417 before compiling)
For any other type of barcode it works amazingly! Is PDF417 not fully implemented? Is there anything I can do to make it work?
The text was updated successfully, but these errors were encountered: