Driver License Barcode

Ever wonder what's in that barcode on the back of your driver's license?
I just got a new toy that I'm playing around with, and I'd like to incorporate A5 to allow me to use it for something useful. It's a Handheld 2D Barcode Scanner, and I want to use it to scan the barcode on the back of a driver's license, then populate forms with the resulting data. I'm using a special 'sample' Maryland driver's license for testing, but it conforms to the AAMVA standards for universal license data coding. (In other words, it should pretty much work the same way on a license from any state using the AAMVA format.)
So what's in the that funny looking barcode? Well when scanned into a simple wordpad, the result of this particular license looks like this:
@AAMVA6360030101DL00290197DLDAQD-123-456-789-000DAADOE,JOHN,MICHAEL,JRDAG26 MAIN STDAIVILLAGE PARKDAJMDDAK20912 DARC DAS DAT DAU600DAW167DBA20110124DBB19820124DBC1DBD20051126DBHN
And here is how the data breaks down, and how they separate the data fields:
@AAMVA6360030101DL00290197
DL (Means 'Driver's License' as opposed to a non-driver ID card)
DAQ
D-123-456-789-000 (Driver's License Number)
DAA
DOE (Last Name)
JOHN (First Name)
MICHAEL (Middle Name)
JR (Suffix)
DAG
26 MAIN ST (Address)
DAI
VILLAGE PARK (City)
DAJ
MD (State)
DAK
20912 (Zip)
DAR
C (License Class)
DAS
DAT
DAU
600 (Height)
DAW
167 (Weight)
DBA
20110124 (Expiration Date)
DBB
19820124 (DOB)
DBC
1 (Sex 1=M, 2=F)
DBD
20051126 (Issue Date)
DBH
N (Organ Donor Y/N?)
So now that I know all this, I'm looking for a simple (if possible) way to scan it to a field on a web page, then upon clicking submit, having the data parsed correctly into separate fields for use on that particular web form.
Has anyone worked with anything like this, or have any ideas on how to set it up? I've played around a little bit with using an 'operation' to break apart the fields, but since the delimiters change with every field, it didn't work too well, plus operations are a desktop function, and I'm looking to do this on the web.
  • Required Knowledge. Get familiar with the basic steps of creating a project by reviewing the Add References and Set a License tutorial, before working on the Write AAMVA Driver's License Barcode - Console C# tutorial.
  • Scan the back of your license / permit using a medium - high resolution. The resolution should be set so that the 2d barcode is about 2000 pixels long.
  • Florida Driver License and Identi cation Card 2D Barcode (PDF417) from Card Back. Sample Class E Florida Driver License Example PDF 417 decodes as: This example displays a typical Class E driver license, with sample data populated. Refer to the following page for full detail of the 2D barcode possible contents.

Thankfully, new driver’s licenses also have PDF417 barcodes on them, and in North America, follow specifications laid out by the American Association of Motor Vehicle Administrators (AAMVA). These barcodes are small, error resistant, and can encode a lot of information.

California Drivers License Barcode Format: software, free download. Fake driver's license. California governor Jerry Brown recently declared an end. Revealing a bar code and the class of the license. AB221 passed in September 2015 requires the DMV to complete a study of creating a digital mobile driver's license application for smartphone use. According to the data source US State Georgia uses encryption. The PDF417 code on a Michigan license encodes DOB, lastname, firstmiddlenames, date of issue, date of expiration, address, DL number, and a long string I haven’t found a meaning for yet. I’ll go pester your source.

  1. State Driver’s License Formats State License Format Alabama 1-8Numeric Alaska 1-7Numeric Arizona 1 Alpha + 8 Numeric OR 9 Numeric Arkansas 4-9Numeric California 1Alpha+7Numeric.
  2. If the barcode isn’t created properly, it won’t read properly. With the AirTrack S2 scanner you can scan the code on the back of a driver’s licenses from any state to verify someone’s age quickly and accurately due to the scanner’s ability to parse all the data correctly for you.

I am given a task to develop a small library which needs to be able to read PDF417 barcode located on the back of the Driver's License card and parse the data out to our custom object.

However I need to know what data types are these Data types denoting?

The complete documentation can be found at: http://www.dol.wa.gov/external/docs/barcodeCalibration-basic.pdf

TarikTarik

California Driver's License Barcode Format

38.5k70 gold badges210 silver badges313 bronze badges

3 Answers

Guessing here, but <field length>/ANS, where A is alphabetic, N numeric and S spaces?

For example, 3/A is 3 alphabetic characters like USA.

Funny that weight and sex are both 1/N, but the example given (2 in both cases) fits my hypothesis.

The Washington spec is based on the AAMVA standard here:http://www.aamva.org/DL-ID-Card-Design-Standard/

The 2013 ID Card Design Standard is here: http://www.aamva.org/WorkArea/DownloadAsset.aspx?id=4435

The PDF 417 barcode specifications start on page 51 (65) of that document. On page 58 (72) they list the type definitions: 'A=alpha A-Z, N=numeric 0-9, S=special, F=fixed length, V=variable length'

Anthony F

Canadian Driver's License Number Formats

Anthony F
4,9103 gold badges22 silver badges32 bronze badges

California Driver's License Barcode Format Free

6 A/N means it is a 6 digit or spaced (A)lpha/(N)umeric variable. For example 5'7' could be expressed as a variable that would fit the format as '067 in' (quotation marks only enclosing the actual variable. Very common definition of terms usually found in Database programming. Your variable will always be 6 characters long (including the space character)--3 alpha ( in) and 3 numeric (067).

License

California Driver's Handbook

Not the answer you're looking for? Browse other questions tagged c#.netbarcode or ask your own question.

According to the American Association of Motor Vehicle Administrators (AAMVA) specification, PDF417 symbology is used for storing personal information on US driver licenses. It comprises critical information about the cardholder, such as their name, gender, date of birth, height, etc. Many organizations, both government and private, use the driver’s license for identification purposes and age verification.

Barcode recognition technology is considered more accurate and cost-effective than OCR for extracting data. Because the driver’s license is widely accepted as a form of identification in different areas and is considered the primary method of identification in countries like the US, it is imperative to use a barcode reader that accurately reads and extracts the data.

Cross-platform and Cross-device ID Barcode Scanner

Dynamsoft Barcode SDK is designed to read barcodes from a variety of platforms and devices. Below are some of the ways you can use the barcode SDK for reading the PDF417 and extracting information on driver licenses.

Read from document scanners: decode driver’s licenses in web

Working together with Dynamic Web TWAIN, the barcode reader add-on allows you to scan a picture of a US driver’s license from a document scanner and extract data from PDF417.

Read from cameras: decode driver’s licenses in web

Dynamsoft JavaScript Barcode SDK provides high-performance barcode scanning functionality for web developers. It also offers built-in camera module APIs, making the process of creating an HTML5 barcode reader with cameras extremely convenient.

Read from cameras: decode driver’s licenses in mobile native apps

Driver

With Dynamsoft Barcode Reader SDK for iOS and Android, developers can easily create a barcode reader app to extract information from PDF417 codes on driver’s licenses.

PDF417 Driver's License Parser

Driver

Dynamsoft Barcode Reader SDK is capable of quickly parsing PDF417 barcode symbology. Once decoded, a parser is required to convert the information contained in the barcode into human-readable formats.

Barcode

The parser breaks down the decoded PDF417 values into field-value pairs, such as cardholder’s name, eye color, height, date of birth, etc.

An example of parsed PDF417 values is shown below:

First Name
HEIDIFIRSTNAMEUPTO40CHARACTERSXYWXYWXYWX
Given Name
HEIDIFIRSTNAMEUPTO40CHARACTERSXYWXYWXYWX
Middle Name or Initial
MIDDLENAMEUPTO40CHARACTERSXYWXYWXYWXYWXY
Middle Name
MIDDLENAMEUPTO40CHARACTERSXYWXYWXYWXYWXY
Mailing Street Address1
123 SAMPLE DRIVE
Mailing Street Address2
APT B
Mailing City
INDIANAPOLIS
Mailing Jurisdiction Code
IN
Mailing Postal Code
462040000

Case Studies

Driver License Barcode Creator

  • Millennial Vision, Inc.
  • VALID USA, Inc

Millennial Vision, Inc. (MVi) is known for providing enterprise content management and document management solutions to credit unions and various financial institutions across the United States and the Caribbean. While looking for a robust barcode reader SDK, MVi tried Dynamsoft Barcode SDK and selected it for its simplicity, power, and cost-effectiveness.

Our barcode reader SDK helps MVi scan PDF417 barcodes from driver’s licenses and further use the extracted data to auto-populate metadata fields for financial institution forms and applications.

Another essential factor in MVi’s decision to choose Dynamsoft Barcode Reader SDK was the time to market. With DBR, they saved a lot of time that would have been required to develop a barcode reader solution in-house.

VALID USA, Inc., a wholly-owned subsidiary of its Brazilian parent company VALID S.A, was looking for an image capture software development kit (SDK) for its popular product, WebLink ID. WebLink ID is an enrolment, credentials, and application management web app. The application is used for issuing mass student IDs, transit cards, access control cards, ID documents, and state driver’s licenses. Thus, document scanning/image capture capabilities were a requirement for the software. But, VALID did not want to build this capability from scratch in order to focus on its core expertise.

After trying and testing many products, VALID chose Dynamsoft's ImageCapture Suite SDK, which helped them shorten time to market and build better software.

Today, the application is used by thousands of workers to capture millions of images annually in diverse environments. Some of these are K-12 and higher education institutions, US state governments, the public transit industry, and many other vertical markets that require photo identification.

FAQ on Dynamsoft's Driver's License Reader

What is the barcode format on the back of the driving licenses?

According to the 2020 AAMVA DL/ID Card Design Standard, the PDF417 two dimensional bar code symbology is the minimum mandatory machine-readable technology that must be present on compliant DL/ID documents.

What information is included in the driver’s license barcode?

Mandatory data elements:

  • Family name
  • Given names
  • Date of birth
  • Date of Issue
  • Date of expiry
  • Customer identifier
  • Document discriminator
  • Portrait
  • Signature
  • Cardholder
  • Vehicle classifications
  • Endorsements
  • Restrictions
  • Cardholder sex
  • Height
  • Eye color

Driver License Barcode Sample

Does the driver’s license SDK need an internet connection to work?

No. The SDK works completely offline.

Is the driver’s license SDK secure?

License

Yes, it is GDPR-Compliant as the processing of the driver’s license data is on-device. All the captured user information stays in your closed system.

Does Dynamsoft have any other ID scanner SDKs?

Yes. Dynamsoft also provides an MRZ scanner SDK for passports.