Introduction to Dynamsoft Code Parser
When working with IDs, driver licenses, or sometimes even general barcodes, you may encounter results (usually as a plain string) that are “unreadable” but contain all the useful information you need. Dynamsoft Code Parser (DCP) is an SDK designed for parsing these types of results into human-readable information.
- AAMVA driver’s license
Countries covered: USA, Canada.
All versions of the AAMVA Driver’s License/Identification Specification used in the US and Canada are supported. The PDF417 barcodes on driver licenses with magnetic stripes, which follow the AAMVA Magnetic Stripe standard, are capable to get parsed.
- South African driver’s license
The fields parsed from the South African driver’s license are currently limited to some personal information, while the full information will be parsed in a future release.
- Aadhaar Card in India
The normal QR codes or Secure QR codes on eAadhaar, Aadhaar Letter and Aadhaar PVC Card are all capable to be parsed.
- Coming soon
Future releases will support more scenarios such as international COVID-19 vaccination certificates, machine readable zones and ID parsing.
Future versions will support more platforms, such as Android/Mobile, etc.
How to use
Before you begin, you must set up a license that allows you to use DCP. You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dcp&package=js to get your own trial license good for 30 days.
Create Code Parser instance
Set code format
The 2nd last step is to set the code format (see EnumCodeFormat) of the document image that you want to get information from.
Lastly, call the method
parseData()to do the actual parsing and get results in a specific format (see EnumResultInfoType).
Learn how to use DCP to add code parsing capabilities to your web application:
This page is compatible for:
In this article: