Naahuel / poc-dni-pdf417-WA

Demo de lectura del código de barras 2D de los DNI argentinos (formato PDF417)
https://poc-dni-pdf417-wa.now.sh
2 stars 3 forks source link

Question/Help #1

Open sashenmoodley3 opened 4 years ago

sashenmoodley3 commented 4 years ago

Hi Naahuel,

I know its been a while since you where on the repo and was wondering if you could assist me with the below questions.

  1. Was the speed/performance better on the WebAssembly version or JS version and where you successfully able to scan PDF417 on drivers license cards.

  2. Have you done any more work on reading PDF417's I would love to get your view on what you have tried.

I have done some work on native and would love to see if we can get something up and running on web if you are interested.

Naahuel commented 4 years ago

Hey @sashenmoodley3

Sorry but I haven't made any more tests with this. This was just a proof of concept for a little project I needed.

Honestly I thought the WA version would work better but as I recall, they are not that different.

I did succeed in reading PDF417 codes in Argentinian passports & ID cards. You can see the demos in each repo (you'll have to inspect the code because it expects a certain data format to come from the code). They work "ok".

If you want to see something impressive, I remember finding this https://www.dynamsoft.com/Products/barcode-recognition-javascript.aspx

It's not free though. But works amazingly.

I did my best (but didn't succeed) to find a version of ZBar that would support PDF417 because it's the fastest and more reliable library I could find: https://github.com/mmalecki/zbar/issues/2 https://stackoverflow.com/questions/54487079/zbar-attempting-to-read-pdf417-codes

I ended up using ZXing which does support PDF417.