Giter Club home page Giter Club logo

Comments (3)

wadearnold avatar wadearnold commented on May 26, 2024

Although it would be nice to scan the barcode we still will need to get a copy of the front and back of the card that is then used to manually verify the inputted data.

US Drivers License use PDF417 to encode the data printed on the card. That data is now mandated for every state-issued identification after the Real ID Act. There are several implementations on GitHub searching PDF417. The data format encoded on the PDF417 and the magnetic strip on the driver's license is encoded with the AAMVA.

The PDF parses to the following example data set:

{
"kPPDateOfBirth": "01012000",
"kPPHeightCm": "180",
"kPPWeightKilograms": "70",
"kPPCustomerMiddleName": "A",
"kPPCustomerIdNumber": "D01234567",
"kPPOrganDonor": "Y",
"kPPWeightPounds": "154",
"kPPAamvaVersionNumber": "1",
"kPPHeight": "68 IN",
"kPPIssuerIdentificationNumber": "123456",
"kPPDocumentIssueDate": "12345678",
"kPPCustomerFamilyName": "DOE",
"kPPAddressJurisdictionCode": "AA",
"kPPAddressStreet": "1234 Address",
"kPPNonResident": "N",
"kPPJurisdictionVehicleClass": "A",
"kPPIssuingJurisdiction": "AA",
"kPPDocumentExpirationDate": "01012020",
"kPPIssueTimestamp": "2001-12-01 00.00.00.000000",
"kPPAddressCity": "CITY NAME",
"kPPHairColor": "BR",
"kPPHeightIn": "68",
"kPPSex": "1",
"kPPJurisdictionRestrictionCodes": "B",
"kPPEyeColor": "GRN",
"kPPJurisdictionVersionNumber": "0",
"kPPCustomerFullName": "DOE,JOHN,A",
"kPPAddressPostalCode": "12345-1234",
"kPPCustomerFirstName": "JOHN"
}

While the barcode needs to be parsed per key value

@
ANSI 636004080002DL00410266ZN03070017DLDAQ123456789123
DCSDOE
DDEN
DACJANE
DDFN
DAD
DDGN
DCAC
DCBNONE
DCDNONE
DBD08152015
DBB08151987
DBA08152020
DBC2
DAU070 in
DAYBRO
DAG1100 NEW BERN AVENUE
DAIRALEIGH
DAJNC
DAK276970001
DCF0123456789
DCGUSA
DAZBRO
DCLU  
DCK000012345678NCSVTL01
DDB10242014
DDK1
DDL1
ZNZNADUP
ZNB
ZNC0

Hopefully, for implementation, we can use existing libraries or create a separate project for this.

from customers.

adamdecaf avatar adamdecaf commented on May 26, 2024

Thanks for the info. I think our first pass should be manually verifying/entering this information (which is an endpoint for correcting a scanned/parsed document).

from customers.

adamdecaf avatar adamdecaf commented on May 26, 2024

The work here is done, but we need to expose it somehow in an admin interface. We haven't talked about that yet though.

from customers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.