Web Demos

BARCODE READER SDK DEMO

Explore the flexibe barcode reading settings to optimize for your specific usage scenario.

WEB TWAIN SDK DEMO

Try the most popular web scanner features: scan images, import local images and PDF files, edit, save to local, upload to database, and etc.

BARCODE READER JAVASCRIPT DEMO

Transform any camera-equipped devices into real-time, browser-based barcode and QR code scanners.

MRZ SCANNER WEB DEMO

Detects the machine-readable zone of a passport, scans the text, and parses into human-readable data.

APP STORE DEMOS

BARCODE READER SDK FOR IOS

BARCODE READER SDK FOR ANDROID

VIEW MORE DEMOS >
Resource Base
Table of contents

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.

For the initial release, DCP is only available for web applications as “DCP JavaScript Edition”. Based on JavaScript and WebAssembly, DCP JavaScript Edition can run in all major modern browsers on all major platforms.

Usage Scenarios

  • AAMVA driver’s license

Countries covered: USA, Canada, South Africa.

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.

Supported Platforms

Platforms Languages
web Web JavaScript

Future versions will support more platforms, such as Android/Mobile, etc.

How to use

There are mainly four steps to use a CodeParser, the following takes the JavaScript edtion for example:

  1. Initialize license

    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.

  2. Create Code Parser instance

    With a license in place, you can create a Code Parser instance to use. For the JavaScript edition, the SDK is designed to download and compile the WASM resources (the engine files) automaticly before creating an instance.

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

  4. Parse code

    Lastly, call the method parseData() to do the actual parsing and get results in a specific format (see EnumResultInfoType).

Next Step

Learn how to use DCP to add code parsing capabilities to your web application:

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    Change +
    © 2003–2022 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support