AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Default WidthAspectRatio is 2:1. 4:1 looks similar to ID barcodes in the wild.
'S 2D Barcode Drivers License AnyIf youve renewed your drivers license any time in the last few years, you have likely noticed an increase in its visual complexity.Many governing bodies have made significant strides towards making forgery more difficult. The unfortunate side-effect from that positive change is that traditional recognition algorithms are more difficult with the many colors, backgrounds, holograms, and layouts. Thankfully, new drivers 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. ![]() Since Drivers Licenses are so broadly accepted as forms of identification, there are a wealth of opportunities for reading the information from them. We covered those concepts in an earlier white paper on Capturing Customer Information from Drivers Licenses, so we wont repeat them here. That paper also discussed using the PDF417 barcodes before they were regulated by AAMVA. Since then, LEADTOOLS has added a new AAMVAID class which does all the field parsing for you. Whats the big deal Take a look at the raw data for an AAMVA barcode: nu001erANSI 636004080002DL00410266ZN03070017DLDAQ123456789123nDCSDOEnDDENnDACJANEnDDFNnDADnDDGNnDCACnDCBNONEnDCDNONEnDBD08152015nDBB08151987nDBA08152020nDBC2nDAU070 innDAYBROnDAG1100 NEW BERN AVENUEnDAIRALEIGHnDAJNCnDAK276970001nDCF0123456789nDCGUSAnDAZBROnDCLU nDCK000012345678NCSVTL01nDDB10242014nDDK1nDDL1nZNZNADUPnZNBnZNC0n. ![]() There may be fewer reasons for generating AAMVA barcodes, but every motor vehicle agency in every state or province in the United States, Canada, and Mexico needs the ability to print them on the licenses they issue. Naturally, you cant just print any old barcode onto licenses and IDs. As with most specifications, they are hard to follow and can cause a significant development roadblock due to the RD requirements. LEADTOOLS simplifies this in two ways: generating the AAMVA string and creating the PDF417 barcode. First, you need to convert your customer data into a valid AAMVA string value. To aid in this process, LEADTOOLS provides the AAMVAIDBuilder class. The builder will help organize the data and output it conforming to the 2016 AAMVA CDS. Here we initialize the AAMVAIDBuilder, add some information and then use the Build function to generate the AAMVAID object: AAMVAIDBuilder builder new AAMVAIDBuilder(). Now that our customers information is correctly encoded for AAMVA, we will create the PDF417 barcode. Thanks to LEADs nearly three decades of experience in with raster and document imaging technologies, this process is even simpler than writing the AAMVA string despite the barcodes greater complexity. Here we generate the BarcodeEngine, set a few options to help the proportions make AAMVA happy, and LEADTOOLS takes care of the rest. In this simple case, we simply created a blank image using the calculated bounds of the barcode: BarcodeEngine engine new BarcodeEngine(). ID barcodes in the wild.
0 Comments
read more
Leave a Reply. |