Dynamsoft / label-recognizer-javascript-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Set up

    npm install
  2. 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';
  3. 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.

About


Languages

Language:Vue 92.6%Language:TypeScript 5.2%Language:JavaScript 1.4%Language:HTML 0.9%