Dynamsoft JavaScript MRZ Scanner Demo
This repository contains the source code of the web MRZ scanner online demo and web VIN scanner online demo which use the JavaScript Edition of Dynamsoft Label Recognizer SDK, an OCR SDK that reads alphanumeric characters and standard symbols from images of varying background colour, font, or text size.
NOTE:
This project includes a big part of UI-related source code for demoing purposes.
To create your own MRZ or VIN scanner application, you may start with the simple samples in the Dynamsoft Label Recognizer JS samples repository.
Preparation
Make sure you have node, yarn and Vue CLI installed. node 14.16.0
, yarn 1.22.10
and @vue/cli 4.5.13
are used in the example below.
Run the project
-
Set up
npm install
-
Add license
A default license is included which allows you to test the demo for up to 24 hours. You can request a trial license via Dynamsoft customer portal to evaluate further.
Open
src/dlr.ts
and input your license key in this line:LabelRecognizer.license = 'YOUR LICENSE';
-
Compiles and hot-reloads for development
npm run serve
Contact Us
If you have any questions with these samples, feel free to submit an issue or contact us.