We recently completed a trade show engagement where we had to scan the QR code of an attendee, send that information to the show's webhook, and wait for it to return the attendee's userdata.
It got our wheels turning that Driver's Licenses are standardized in their barcode, and we're asking the community if anyone has built a DL scanner/parser from the PDF417 format for AAMVA? The barcode scan returns raw text data in this format:
- DCA: Vehicle class(es) the cardholder is allowed to drive
- DCB: Restrictions on driving privileges (e.g., only automatic transmission)
- DCD: Additional privileges granted to the cardholder (e.g., transportation of hazardous material)
- DBA: Expiration date of the document
- DCS: Last name
- DAC: First name
- DAD: Middle name(s)
- DBD: Issue date of the document
- DBB: Date of birth
- DBC: Gender
- DAY: Eye color
- DAU: Height
- DAG: Address: Street name
- DAI: Address: City name
- DAJ: Address: State name
- DAK: Address: Postal code
- DAQ: ID number of the cardholder
- DCF: ID number of the document
- DCG: Country in which the document was issued
- DDE: Indicator that the last name is truncated
- DDF: Indicator that the first name is truncated
- DDG: Indicator that the middle name(s) are truncated
When scanning, this all dumps to a single cell - has anyone parsed it out yet?
Anyone try this yet in a working environment?