JavaScript Driver's License Scanner

The sample shows how to read and extract driver's license information from PDF417 using Dynamsoft JavaScript barcode SDK.

Usage

  1. Get a free trial license and update the following code:

    Dynamsoft.DBR.BarcodeReader.license = "DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTE2NDk4Mjk3OTI2MzUiLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInNlc3Npb25QYXNzd29yZCI6IndTcGR6Vm05WDJrcEQ5YUoifQ==";
  2. Deploy the project to a web server and then open the driver's license scanner in a web browser:

    python -m http.server

    JavaScript driver's license

Online Demo

https://yushulx.me/javascript-driver-license/

Reference

Blog

Reading Driver’s License Information from PDF417 in JavaScript