Driver License Parser Error

Posted by admin

The Autodesk License File Parser reads your license file and presents its contents in a table format. The parser is useful for getting license details when you specify parameters in an options file. If the current track cannot be processed (for example, a different start character appears on the track that what is documented for an AAMVA format driver's license), we assume the user must have swiped something other than a driver's license. I'm not sure if the reader we use supports reading image data or not. The Texas Department of Public Safety (DPS) online License Eligibility system is available to help Texas drivers: Pay fees charged to you for your driver license suspension offenses; View compliance items needed to determine and understand your license eligibility; Track your driving eligibility status.

All of this is fairly straight forward.
1. 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.
2. Open up the image in Photoshop and cut out the 2d barcode. The 2d barcode is the one on the bottom in the picture. Most states use the PDF-417 (Portable Data File, with 17 modules each containing 4 bars and spaces, thus 417). Edit the barcode so that it is exactly 2000 or less pixels long because that is the maximum the program will allow, and save it.
3. Open swipe toolkit pdf417 barcode reader, available to download in the last step, and load your barcode into it. Click decode image, and a window with all your information should pop up. The picture shows the window that I got ( I removed thinks I should probably care about). As you can see, you can view the information processed, in raw bytes, or in hex. An interesting thing to note is if your card contains your social security number, some states put it on and some states don't.

Download

Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments

commented Aug 21, 2015

I have tried this sample after implementing other camera solutions (cwac-cam2, native camera). I have not successfully been able to decode a pdf417 or Driver License bar code. I have no problem with 1D or QR codes.

commented Aug 21, 2015

There is a known issue with driver's licenses from certain states (for example, Illinois) not conforming to the PDF417 spec. We have developed a fix and hope to release it soon.

commented Aug 23, 2015

Awesome, great to hear! Thank you.

commented Aug 27, 2015

All License Parser

You can capture all barcodes and process only the type you need.
You can get the specific type by using the following code:detector = new BarcodeDetector.Builder(getActivity().getApplicationContext())
.setBarcodeFormats(Barcode.DRIVER_LICENSE Barcode.PDF417)
.build();
You can also check the format type and if it equals what you want to evaluate then continue processing or capture the barcode.
Hope this helps or answers your question. If not, let me know.

La Bouche - Be My Lover(DiscoTech Remix) Label:RCA,BMG Ariola Country:US Released:1995 Genre. La bouche be my lover acapella group name. 'Be My Lover' is a song recorded by German Eurodance group La Bouche. It was released in March 1995 as the second single from their album, Sweet Dreams. It is one of their biggest hits, alongside 'Sweet Dreams'. This song was dubbed into many megamix tracks and has had remix versions. It reached number six on.

How can I only recognize one specific barcode type?—
Reply to this email directly or view it on GitHub.

commented Aug 27, 2015

hanzo3: We're getting off-topic, but this isn't entirely correct:

detector = new BarcodeDetector.Builder(getActivity().getApplicationContext())
.setBarcodeFormats(Barcode.DRIVER_LICENSE Barcode.PDF417)
.build();

setBarcodeFormats() only works with the barcode format constants (e.g. Barcode.PDF417). DRIVER_LICENSE is a value format type that is only used in the detector output via Barcode.valueFormat.

commented Aug 28, 2015

Oh yeah, good catch. I was going to test that as it seemed odd since DL is PDF417 but never got the Drivers License to work in my state. I did get it to work from an online example from a different state and should have read the doc instead of assuming with code assist. Thanks!

Open

commented Mar 17, 2016

The PDF417 decoding fix was released with Play Services 8.3:

For drivers license parser improvements, please refer to issue #77.

Closed
Closed
Closed

Driver License Parser Error Message

Open

File Parser

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment