Active12 months ago
Driver S License Pdf417 Barcode Specifications. Idscan OCR for Driver Licenses is a driver license scanner system that extracts. The OCR- A font characters. 'The PDF417 Barcode Font & Encoder was an. Developer License of the Font and. The appropriate PDF417 font. The PDF417 Barcode Font Encoder for.
I am writing a solution to scan PDF417 barcode (http://en.wikipedia.org/wiki/PDF417) at the back of a South African drivers license for iOS. I can't find any documentation or specification how to decode barcode. Does anyone have a link to a specification or sample code that can decode driver license data stored in PDF417 barcode? Thanks
bmargulies80.5k3131 gold badges156156 silver badges274274 bronze badges
LenniePdf417 Barcode Reader
Lennie75411 gold badge1717 silver badges3737 bronze badges
1 Answer
The data after scanning the PDF417 barcode is 720 bytes. First 4 bytes indicate the version of barcode.Version 2 covers all currently valid licenses.
Version 1:
01 e1 02 45
Version 2:
01 9b 09 45
Next two bytes are zero (
00 00
).Remaining 714 bytes form 6 blocks - 5 blocks of 128, 1 block of 74.
Different keys are used depending on version and and block size.
![Barcode Barcode](https://windows-cdn.softpedia.com/screenshots/PDF417-Barcode-Maker_1.png)
Pdf417 Driver's License Format
Version 1, 128 bytes
Version 1, 74 bytes:
Version 2, 128 bytes:
![Driver S License Pdf417 Barcode Font Driver S License Pdf417 Barcode Font](https://www.dol.wa.gov/driverslicense/images/DLsample-New-Barcodes-lg.png)
Version 2, 74 bytes:
Decrypt each block separately. Decrypted with RSA ENCRYPT function usingthe public key.
Pdf417 Barcode Generator Driver License
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
protected by Community♦Sep 20 '17 at 8:59
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Would you like to answer one of these unanswered questions instead?