Driver License's Format Recommended by (AAMVA) Track1 Format: | ||
Field Letter | Element/Definition | Size |
A | Start Sentinel This Character must bed used at the beginning of the track. | 1 |
B | State of Province (addressee) (Mailing or Residential code)this field will use the ANSI D-20 standard | 2 |
C | City This field should be truncated with a field separator ^ if less than 13 characters long. If a field separator is used, the 'NAME' field follows immediately. EXAMPLE: Bear^ | 13 |
D | Name This field should be truncated with a field separator ^ if less than 35 characters long. If a field separator is used. The 'ADDRESS' field follows immediately. The $ symbol is to be used as a delimiter between names. EXAMPLE: Roe$Chery1$A^ EXAMPLE using 'City and Name' Bear^Roe$Chery1$A^ at this point a total of 19 bytes have been used, allowing the remainder to be used for the address. | |
E | Address This field has a minimum length of 29 which can be exceeded when utilizing the space from either the city and/or name field. The $ symbol can be used a as delimiter of multiple address lines. EXAMPLE: Using the City, Address Combination: Bear^Roe$Chery1$A^123 Something St^ | 29 |
F | End Sentinel This character must be the next to the last character of the track. | 1 |
G | LRC This character must be used at the end of the track. | 1 |
- State Driver's License Format - National Traffic Safety Institute
- See Full List On Metacpan.org
- Aamva Driver License Format Example
Track2 Format: | ||
Field Letter | Element/Definition | Size |
A | Start Sentinel This character must be used at the beginning of the track. | 1 |
B | ANSI User Code This field is assigned by ANSI for the utilization of Track2 | 1 |
C | ANSI User ID This field is the assigned identification number from ISO (International Standards Organization). | 5 |
D | Jurisdiction ID/DL Number This field is used to represent the ID/DL number assigned by each jurisdiction. If less than 13 bytes are used the field is truncated by a field separator character. If 13 bytes are used the field separator character MUST appear in the 14th position. Overflow can be accommodated in field letter g. | 14 |
E | Expiration Date This field will be represented in the following format YYMM. | 4 |
F | Birthdate This field will be represented in the ANSI D-20 Standard YYYYMMDD | 8 |
G | Remainder of Jurisdictional ID/DL This field is used to handle the overflow from the jurisdiction ID/DL field. | 5 |
H | End Sentinel This character must be the next to the last character of the track. | 1 |
I | LRC This character must be used at the end of the track. | 1 |
AAMVA Version Number This is a decimal value between 00 and 99 that specifies the version level of the PDF417 bar code format. Version '0' and '00' is reserved for bar codes printed to the specification of the American Association of Motor Vehicle Administrators (AAMVA) prior to the adoption of the AAMVA DL/ID-2000 standard. Driver License's Format Recommended by (AAMVA), time and attendance, labor tracking, data terminals, plastic card printers, barcode scanners, magstripe readers writers, embossers tippers, thermal label printers, media labels ribbons accessories. Interest is being expressed by a variety of stakeholders, including driver license administrators, legislators, vendors, and the general public. To respond to this growing interest in Mobile Driver Licenses/Identification Cards (mDL) AAMVA. DRIVER'S LICENSE SAMPLE DONOR Barcode Reader Calibration Sheet - 2011 AAMVA Standard Revision Date: This sheet may be printed on a standard desktop laser printer at 600dpi resolution.
Track3 Format: | ||
Field Letter | Element/Definition | Size |
A | Start Sentinel This character must be used at the beginning of the track. | 1 |
B | Template Version# 1 byte table, value 01-63, this field will be used to store the magnetic stripe version being used. It will be necessary to register the use with AAMVA. | 1 |
C | Security Version #. 1 byte table, value 01-63, this field will be used to store the magnetic stripe security version used. 00 represents security is not used. | 1 |
D | Postal Code This field will be used to store an 11 position Zip Code or the Canadian postal code. 11 Alphanumeric digits will soon be required to meet postal standards. Left justified with spaces filled. Use no hyphens. | 11 |
E | Class This field will be alphanumeric and will represent the type of license. Use ANSI D-20 codes as modified for CDLIS. | 2 |
F | Restrictions This field will be alphanumeric and will use the ANSI D-20 standard. | 10 |
G | Endorsements This field will be alphanumeric and will use the ANSI D-20 standard. | 4 |
H | Sex Represent as alphanumeric | 1 |
I | Height Represent as numeric. See ANSI D-20 | 3 |
J | Weight Represent as numeric. See ANSI D-20 | 3 |
K | Hair Color Represent as alphanumeric. See ANSI D-20 | 3 |
L | Eye Color Represent as alphanumeric. See ANSI D-20 | 3 |
M | This field can be utilized by each jurisdiction as needed, but if used it will be necessary to register the use with AAMVA | 10 |
N | Reserved Space This field can be utilized by each jurisdiction as needed, but if used it will be necessary to register the use with AAMVA | 16 |
O | Error Correction This field can be utilized by each jurisdiction, but is not a mandatory field. | 6 |
P | Security This field is for the use of each jurisdiction. | 5 |
Q | End Sentinel This character must be the next to the last character for the track. | 1 |
R | LRC This character must be used at the end of the track. | 1 |
© Copyright 2000 Escan. All Rights Reserved
Last Updated on 2021-01-17
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
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.
AAMVA Version Number This is a decimal value between 00 and 99 that specifies the version level of the PDF417 bar code format. Version '0' and '00' is reserved for bar codes printed to the specification of the American Association of Motor Vehicle Administrators (AAMVA) prior to the adoption of the AAMVA DL/ID-2000 standard. Driver License's Format Recommended by (AAMVA), time and attendance, labor tracking, data terminals, plastic card printers, barcode scanners, magstripe readers writers, embossers tippers, thermal label printers, media labels ribbons accessories. Interest is being expressed by a variety of stakeholders, including driver license administrators, legislators, vendors, and the general public. To respond to this growing interest in Mobile Driver Licenses/Identification Cards (mDL) AAMVA. DRIVER'S LICENSE SAMPLE DONOR Barcode Reader Calibration Sheet - 2011 AAMVA Standard Revision Date: This sheet may be printed on a standard desktop laser printer at 600dpi resolution.
Track3 Format: | ||
Field Letter | Element/Definition | Size |
A | Start Sentinel This character must be used at the beginning of the track. | 1 |
B | Template Version# 1 byte table, value 01-63, this field will be used to store the magnetic stripe version being used. It will be necessary to register the use with AAMVA. | 1 |
C | Security Version #. 1 byte table, value 01-63, this field will be used to store the magnetic stripe security version used. 00 represents security is not used. | 1 |
D | Postal Code This field will be used to store an 11 position Zip Code or the Canadian postal code. 11 Alphanumeric digits will soon be required to meet postal standards. Left justified with spaces filled. Use no hyphens. | 11 |
E | Class This field will be alphanumeric and will represent the type of license. Use ANSI D-20 codes as modified for CDLIS. | 2 |
F | Restrictions This field will be alphanumeric and will use the ANSI D-20 standard. | 10 |
G | Endorsements This field will be alphanumeric and will use the ANSI D-20 standard. | 4 |
H | Sex Represent as alphanumeric | 1 |
I | Height Represent as numeric. See ANSI D-20 | 3 |
J | Weight Represent as numeric. See ANSI D-20 | 3 |
K | Hair Color Represent as alphanumeric. See ANSI D-20 | 3 |
L | Eye Color Represent as alphanumeric. See ANSI D-20 | 3 |
M | This field can be utilized by each jurisdiction as needed, but if used it will be necessary to register the use with AAMVA | 10 |
N | Reserved Space This field can be utilized by each jurisdiction as needed, but if used it will be necessary to register the use with AAMVA | 16 |
O | Error Correction This field can be utilized by each jurisdiction, but is not a mandatory field. | 6 |
P | Security This field is for the use of each jurisdiction. | 5 |
Q | End Sentinel This character must be the next to the last character for the track. | 1 |
R | LRC This character must be used at the end of the track. | 1 |
© Copyright 2000 Escan. All Rights Reserved
Last Updated on 2021-01-17
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
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.
State Driver's License Format - National Traffic Safety Institute
Please note that this demo also features document scanning, which is powered by Dynamsoft's Web TWAIN SDK.
See Full List On Metacpan.org
Try Dynamsoft Barcode Reader
Aamva Driver License Format Example
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.