Driver S License Pdf417 Barcode Application

Posted on -
Driver S License Pdf417 Barcode Application Rating: 4,4/5 2659 reviews
Active3 years, 8 months ago

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? 4/ANS, 10/ANS, 5/ANS, etc. Highly recommended I was looking for an app that is able to read PDF417 barcodes. My HOA is considering scanning drivers licenses for all visitors and rather than looking at the clear text info on the front of the card reading the barcode on the back has more and better information.

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
38.2k70 gold badges210 silver badges311 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.

Driver
craig65535craig65535

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 FAnthony F
4,8883 gold badges22 silver badges32 bronze badges

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).

Robert SmithRobert Smith

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

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.

Driver License Barcode Information

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 Feb 21, 2014

Hi,
We are integrate pdf417 in our project to scan US driving license but it is not scanning though it is in pdf417 format. any lead or should we purchase license for it ?

Thanks,
Bhavin

commented Feb 21, 2014

Hello Bhavin,
can you please tell us more about the conditions, device and barcode? Are lighting conditions good? Which device are you using? Is PDF417 barcode large (i.e. contains more than 10 columns). For scanning large barcodes, device with high quality camera is required (at least 720p, preferably 1080p video resolution).

Can you please send us the high resolution images/scans of barcode you are trying to scan so we can identify the problem.

Thank you for your report,
Nenad

commented Feb 21, 2014

Hi DoDoENT,
This is condition,device information:
https://gist.github.com/lanetteam-bhavin/9134696

and I am trying to scan image is below:

It is scanning successfully in iphone using same image and I am getting data like this:
https://gist.github.com/lanetteam-bhavin/9134757

Is anyway to decode this data ?

Thanks,
Bhavin.

BarcodeDriver S License Pdf417 Barcode Application

commented Feb 21, 2014

Hi Bhavin,

the image you have sent to us has got too low resolution to be successfully read. Based on data you've sent us, we regenerated the high resolution image of the same barcode (available here).

This high resolution image can be read with device that has got 480p video preview (Samsung Galaxy Ace). If a device does not support video preview of at least 640x480 resolution (preferably 1280x720), device will not be able to read such large barcodes. In order to successfully read the PDF417 barcode, each dot in barcode must be at least 1.5 pixels large in image.

Best regards,
Nenad

commented Feb 22, 2014

Hi Nenad,

I am able to scan with the barcode you regenerated.
And I got the data like this:
https://gist.github.com/lanetteam-bhavin/9134757

Is there any way to decode this data?

Thanks,
Bhavin

Pdf417 Barcode Generator Driver License

commented Feb 22, 2014

Hello Bhavin,

if I understood correctly you were able to scan the barcode and obtain a string that is written inside barcode? Our library just scans the barcode and returns its contents. The user of the library is responsible to interpret/decode the barcode data as they wish.

Please note that we are currently preparing a parser for US driver's license PDF417 format and it should be available for purchase in the following months. Our free non-commercial version of the library just returns the data that is contained inside the barcode - it does not perform any additional parsing logic on the data. For more information about our library, please visit http://pdf417.mobi/

Best regards,
Nenad

commented Feb 24, 2014

Hello Nenad,

Thank you very much for your help and let me know once the parser is being available to purchase.

Best regards,
Bhavin

commented Mar 29, 2015

@DoDoENT can you explain how it is you regenerated the same barcode for @lanetteam-bhavin? Was it through any sort of image manipulation (sharpening, etc?)

commented Mar 29, 2015

California License Pdf417 Generator

@rmhrisk I used this barcode generator

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