Comments (3)
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.
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.
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)
- Vulnerability Disclosure Program? HOT 3
- config: read from a YAML file HOT 2
- errors: standardize how we handle not found errors in the model layer
- Customer phone numbers can not be deleted. HOT 1
- docs: include sections for everything new/updated in v0.5.0
- customers: GET, PUT, DELETE /customers/:id does not validate organization
- accounts: GET /accounts/:id does not validate organization
- accounts: pre-note validations
- Customer Birthdate is not being saved/returned
- cmd/main: PREVENT_INSECURE_STARTUP option HOT 1
- Customers: Add proposed business customer type fields HOT 1
- Saving metadata only saves/returns the last{key: value} pair
- Potential issues with pagination using datetime fields. HOT 6
- Address type being overwritten as empty string on PUT to /customers/{customerID}
- Action Required: Fix Renovate Configuration
- Creating customer with multiple addresses HOT 2
- generate interfaces for client
- ofac: periodic refreshing of search results
- accounts,customers: sdn_type is invalid database type
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from customers.