0

I'm looking for a good python module to decode/read pdf417 barcodes on drivers licence. My research came up with only the PyZbar which works best for QRcodes and 1D-barcodes and not the PDF417.

I will like to extract information such as: first name, last name, DOB, Address, City, State, ZipCode, Height, Eye Color, Hair Color,

Sample Barcode Image from Google:

1
  • For better understanding, we need your sample codes. Please, share them with us. Commented Jun 25, 2020 at 19:10

1 Answer 1

4

There are two libraries that I know of for decoding PDF417 barcodes.

You can checkout python-zxing which is a python wrapper for the ZXing decoder or you can use pdf417decoder which is a native Python port of a C# PDF417 decoder library.

ZXing requires files to be saved to the disk first while pdf417decoder can take a PIL Image object directly.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.