Last Updated on 2021–03–15
Add the AAMVA PDF417 Write Barcode Code Once the above code has been added, create a new method WriteAAMVABarcode (RasterImage image, AAMVAID driversLicenseID and call the method inside the main method. See above main method for where to place this new method. Add the below code to write the PDF417 barcode to a RasterImage. This stacked, linear 2D barcode can be found in many types of identification such as your driver’s license. It is the also the chosen standard by the USPS and Department of Homeland Security due to its advanced capabilities, such as encoding links to more than one data file. This Quick Reference Guide contains user instructions for using the USA Driver License Parsing. This feature allows the selection and output of data elements from a USA Driver License PDF417 barcode. The reader can be configured for this option using either Datalogic Aladdin or programming barcodes. . One-dimensional bar code symbologies: Code 39 and Code 128. Two-dimensional bar code symbology: PDF417 6.1 One-dimensional bar codes Code 39 symbols must conform to ISO/IEC 16388 -1999, Automatic identification and data capture techniques — Bar code symbology specifications — Code 39.
According to the Card Design Standard by AAMVA, the PDF417 two-dimensional bar code symbology is the minimum mandatory machine-readable technology that must be present on compliant driving license/identification documents. The barcode encodes key information about the cardholder, including name, date of birth, sex, eye color, height, and many others.
There are two ways to extract data from a driver license for a machine:
- Using OCR technology to recognize the characters printed on an ID
- Use barcode recognition technology to decode the PDF417 symbology and then parse it into human-readable formats
Generally speaking, the latter is more accurate and cost-effective than the former. In this article, we discuss how to use barcoding technology for text extraction from a driver’s license.
Extract Data from PDF417 of Driver Licenses on Mobile
Option 1: Decode PDF417 from Cameras in a Web Application
If you are looking to read a driver’s license from a camera source, please refer to the instructions in the article: How to Recognize US Driver’s License in JavaScript.
Download the full sample
Option 2: Read Driver’s Licenses in Android and iOS Native Apps
Driver’s License Pdf417 Barcode Fields
If you are looking to read a driver’s license in a native app, please refer to the instructions in the article: How to Recognize US Driver’s License on Android Mobile Apps.
Parse PDF417 Results into a Human-readable Format
After the PDF417 value is decoded, we can then parse it into separate fields.
Read PDF417 from Scanners
If the driver’s license is copied on paper, you can digitalize it from a document scanner using Dynamic Web TWAIN first.
To see how this works, you can give it a try at the demo here.
Ohio Drivers License Barcode Format
Please note that this demo also features document scanning, which is powered by Dynamsoft’s Web TWAIN SDK.
Try Dynamsoft Barcode Reader
If you’re at the stage where you’re testing different options, try Dynamsoft Barcode Reader online demo or download a 30-day free trial. There’s no commitment necessary.